Installed header hygiene (BZ#20366): Test of installed headers.
[glibc.git] / ChangeLog
blobfa6d945ed12c6266758108aed0d481e11b9f6815
1 2016-09-23  Zack Weinberg  <zackw@panix.com>
3         * scripts/check-installed-headers.sh: New script.
4         * Rules: In each directory that defines header files to be installed,
5         run check-installed-headers.sh on them as a special test.
6         * Makefile: Likewise for the headers installed at top level.
8         * include/aliases.h, include/alloca.h, include/argz.h
9         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10         * include/elf.h, include/envz.h, include/err.h
11         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13         * include/link.h, include/malloc.h, include/mcheck.h
14         * include/mntent.h, include/netinet/ether.h
15         * include/nss.h, include/obstack.h, include/printf.h
16         * include/pty.h, include/resolv.h, include/rpc/auth.h
17         * include/rpc/auth_des.h, include/rpc/auth_unix.h
18         * include/rpc/clnt.h, include/rpc/des_crypt.h
19         * include/rpc/key_prot.h, include/rpc/netdb.h
20         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
21         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
22         * include/rpc/rpc_msg.h, include/rpc/svc.h
23         * include/rpc/svc_auth.h, include/rpc/xdr.h
24         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
25         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
26         * include/rpcsvc/ypupd.h, include/shadow.h
27         * include/stdio_ext.h, include/sys/epoll.h
28         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
29         * include/sys/prctl.h, include/sys/profil.h
30         * include/sys/statfs.h, include/sys/sysctl.h
31         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
32         * sysdeps/arm/nacl/include/bits/setjmp.h
33         * sysdeps/mips/include/sys/asm.h
34         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
35         * sysdeps/unix/sysv/linux/include/sys/timex.h
36         * sysdeps/x86/fpu/include/bits/fenv.h:
37         Add #ifndef _ISOMAC guard around internal declarations.
38         Add multiple-inclusion guard if not already present.
40 2016-09-23  Zack Weinberg  <zackw@panix.com>
42         * sysdeps/generic/sys/ucontext.h
43         * sysdeps/arm/sys/ucontext.h
44         * sysdeps/i386/sys/ucontext.h
45         * sysdeps/m68k/sys/ucontext.h
46         * sysdeps/mips/sys/ucontext.h
47         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
48         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
49         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
50         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
51         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
52         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
53         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
54         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
55         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
56         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
57         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
58         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
59         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
60         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
61         Include both bits/sigcontext.h and bits/sigstack.h.
62         Fix grammar error in comment, if present.
64         * bits/sigstack.h
65         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
66         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
67         * sysdeps/unix/sysv/linux/bits/sigstack.h
68         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
69         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
70         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
71         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
72         * bits/sigcontext.h
73         * sysdeps/mach/hurd/i386/bits/sigcontext.h
74         * sysdeps/unix/sysv/linux/bits/sigcontext.h
75         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
76         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
77         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
78         as well as signal.h, if this was not already allowed.  Request
79         definition of size_t if necessary.  Minimize semantically-null
80         differences across files.
82 2016-09-23  Zack Weinberg  <zackw@panix.com>
84         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
85         Remove all logic conditional on __need macros.  Move all the
86         conditionally defined types to their own headers...
87         * time/bits/types/clock_t.h: Define clock_t here.
88         * time/bits/types/clockid_t.h: Define clockid_t here.
89         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
90         * time/bits/types/struct_timespec.h: Define struct timespec here.
91         * time/bits/types/struct_timeval.h: Define struct timeval here.
92         * time/bits/types/struct_tm.h: Define struct tm here.
93         * time/bits/types/time_t.h: Define time_t here.
94         * time/bits/types/timer_t.h: Define timer_t here.
95         * time/Makefile: Install the new headers.
97         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
98         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
99         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
100         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
101         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
102         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
103         * sysdeps/unix/sysv/linux/bits/resource.h
104         * sysdeps/unix/sysv/linux/bits/timex.h
105         * sysdeps/unix/sysv/linux/mips/bits/resource.h
106         * sysdeps/unix/sysv/linux/net/ppp_defs.h
107         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
108         * sysdeps/unix/sysv/linux/sys/acct.h
109         * sysdeps/unix/sysv/linux/sys/timerfd.h
110         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
111         * time/sys/time.h, time/sys/timeb.h
112         Use the new bits/types headers.
114         * include/time.h: Remove __need logic.
115         * include/bits/time.h
116         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
117         * include/bits/types/time_t.h, include/bits/types/timer_t.h
118         * include/bits/types/struct_itimerspec.h
119         * include/bits/types/struct_timespec.h
120         * include/bits/types/struct_timeval.h
121         * include/bits/types/struct_tm.h:
122         New wrapper headers.
124 2016-09-23  Zack Weinberg  <zackw@panix.com>
126         * sysdeps/mach/hurd/net/if_ppp.h
127         * sysdeps/unix/sysv/linux/net/if_ppp.h:
128         Only define struct ifpppstatsreq and struct ifpppcstatsreq
129         if __USE_MISC is defined, to ensure struct ifreq is declared.
131         * inet/netinet/ether.h: Condition all function prototypes
132         on __USE_MISC, to ensure struct ether_addr is declared.
134         * socket/bits/types/struct_osockaddr.h: New header.
135         * include/bits/types/struct_osockaddr.h: New wrapper.
136         * socket/Makefile: Install the new header.
137         * socket/sys/socket.h, inet/protocols/talkd.h:
138         Refer to bits/types/struct_osockaddr.h for the definition of
139         struct osockaddr.
141 2016-09-23  Zack Weinberg  <zackw@panix.com>
143         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
144         * inet/protocols/routed.h, inet/protocols/talkd.h
145         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
146         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
147         * sysdeps/generic/netinet/if_ether.h
148         * sysdeps/generic/netinet/in_systm.h
149         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
150         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
151         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
152         * sysdeps/mach/hurd/net/if_arp.h
153         * sysdeps/mach/hurd/net/if_ppp.h
154         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
155         * sysdeps/unix/sysv/linux/bits/in.h
156         * sysdeps/unix/sysv/linux/net/ethernet.h
157         * sysdeps/unix/sysv/linux/net/if_arp.h
158         * sysdeps/unix/sysv/linux/net/if_ppp.h
159         * sysdeps/unix/sysv/linux/net/if_shaper.h
160         * sysdeps/unix/sysv/linux/net/route.h
161         * sysdeps/unix/sysv/linux/netinet/if_ether.h
162         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
163         * sysdeps/unix/sysv/linux/netinet/if_tr.h
164         * sysdeps/unix/sysv/linux/netipx/ipx.h
165         * sysdeps/unix/sysv/linux/sys/acct.h
166         * include/arpa/nameser.h, include/resolv.h:
167         Change all uses of u_char to unsigned char,
168         u_short and ushort to unsigned short, u_int and uint to unsigned int,
169         u_long and ulong to unsigned long, u_int8_t to uint8_t,
170         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
171         and u_int64_t and u_quad_t to uint64_t.
173         * mach/sys/reboot.h: Remove two casts of integer literals
174         to the types they already have.
176         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
177         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
178         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
179         from referring to 'unsigned char' to 'uint8_t' for consistency with
180         the macro definition below.
182         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
183         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
184         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
185         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
186         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
187         * sysdeps/unix/sysv/linux/sys/acct.h
188         * include/arpa/nameser.h, include/resolv.h:
189         Fix indentation disrupted by mechanical edits.
191         * inet/protocols/talkd.h, resolv/arpa/nameser.h
192         * sysdeps/generic/netinet/in_systm.h
193         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
194         * sysdeps/gnu/netinet/udp.h
195         * sysdeps/unix/sysv/linux/net/ethernet.h
196         * sysdeps/unix/sysv/linux/net/if_arp.h
197         * sysdeps/unix/sysv/linux/net/if_ppp.h
198         * sysdeps/unix/sysv/linux/net/if_shaper.h
199         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
200         * sysdeps/unix/sysv/linux/netinet/if_tr.h
201         * sysdeps/unix/sysv/linux/netipx/ipx.h
202         * sysdeps/unix/sysv/linux/sys/acct.h
203         Include stdint.h for uintNN_t definitions.
204         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
206 2016-09-23  Zack Weinberg  <zackw@panix.com>
208         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
209         * sysdeps/unix/sysv/linux/netrose/rose.h:
210         Include sys/socket.h and netax25/ax25.h.
212         * inet/netinet/icmp6.h, inet/netinet/ip6.h
213         * resolv/arpa/nameser_compat.h:
214         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
216         * sysdeps/unix/sysv/linux/sys/quota.h:
217         Use __caddr_t instead of caddr_t.
218         * sysdeps/unix/sysv/linux/sys/timerfd.h:
219         Use __clockid_t instead of clockid_t.
221         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
223         * argp/argp.h: Check whether _LIBC is defined before expanding it.
224         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
225         expanding it.
227         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
228         Define __glibc_c99_flexarr_available to 1 when the compiler
229         supports C99-compatible flexible array members, 0 otherwise.
230         * sysdeps/unix/sysv/linux/bits/socket.h
231         * sysdeps/mach/hurd/bits/socket.h
232         * bits/socket.h: Use __glibc_c99_flexarr_available in
233         definitions of struct cmsghdr and CMSG_DATA.
235 2016-09-23  Florian Weimer  <fweimer@redhat.com>
237         * manual/nss.texi (NSS Modules Interface): Adjust function return
238         type to enum nss_status.  Document errnop argument.  Clarify
239         h_errnop semantics.  Fix cross-reference formatting.
240         (NSS Module Function Internals): Mention that *errnop needs to be
241         set on failure, but not to zero.
243 2016-09-23  Florian Weimer  <fweimer@redhat.com>
245         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
246         (get_random_name): New functions.
247         (check_wrapper_flags_mode): Use linkat to give the new file a name
248         determined by get_random_name.
249         (do_test): Add calls to test open64 and openat64.
251 2016-09-23  Florian Weimer  <fweimer@redhat.com>
253         * test-skeleton.c: Remove #include <stdarg.h>.
255 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
257         [BZ #19826]
258         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
259         initialization of static TLS entries.
260         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
261         * nptl/allocatestack.c (init_one_static_tls): Likewise.
263 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
265         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
266         _hurd_malloc_fork_prepare.
267         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
268         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
269         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
270         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
271         (_hurd_fork_child_hook): Drop malloc_fork_child.
272         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
273         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
274         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
275         after locking locks (notably hurd_dtable_lock). Call
276         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
277         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
278         __malloc_fork_unlock_child.
279         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
281 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
283         * soft-fp/extendhftf2.c: New.
284         * soft-fp/fixhfti.c: Likewise.
285         * soft-fp/fixunshfti.c: Likewise.
286         * soft-fp/floattihf.c: Likewise.
287         * soft-fp/floatuntihf.c: Likewise.
288         * soft-fp/half.h: Likewise.
289         * soft-fp/trunctfhf2.c: Likewise.
291 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
293         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
294         macro.
295         * math/libm-test.inc (issubnormal_test_data): New array.
296         (issubnormal_test): New function.
297         * manual/arith.texi (Floating Point Classes): Document
298         issubnormal.
299         * manual/libm-err-tab.pl: Update comment on interfaces without
300         ulps tabulated.
302         * sysdeps/generic/stdint.h: Define
303         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
304         <bits/libc-header-start.h> instead of including <features.h>.
305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
338         * manual/arith.texi (Integers): Document these macros for types
339         specified by width properties.
340         * manual/lang.texi (Width of Type): Document these macros for
341         other standard typedefs.
342         * stdlib/tst-width-stdint.c: New file.
343         * stdlib/Makefile (tests): Add tst-width-stdint.
345 2016-09-21  Florian Weimer  <fweimer@redhat.com>
347         [BZ #20016]
348         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
349         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
350         Move ...
351         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
352         ... here, as compatibility symbols in a new file.
353         * resolv/Makefile (libresolv-routines): Add compat-hooks.
354         * resolv/res_init.c (__res_vinit): Adjust member names.
355         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
356         * resolv/resolv.h (res_sendhookact, res_send_qhook)
357         (res_send_rhook): Remove.
358         (struct __res_state): Rename qhook, rhook members.
360 2016-09-21  Florian Weimer  <fweimer@redhat.com>
362         malloc: Use __libc_lock wrappers.
363         * malloc/arena.c (list_lock, free_list_lock): Define using
364         __libc_lock_define_initialized.
365         (arena_lock): Adjust formatting.
366         * malloc/malloc.c (struct malloc_state): Define mutex using
367         __libc_lock_define.
368         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
369         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
370         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
371         (mutex_unlock, mutex_trylock): Remove.
372         (__pthread_initialize): Remove unused macro.
373         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
374         (mutex_unlock, mutex_trylock): Remove.
376 2016-09-21  Florian Weimer  <fweimer@redhat.com>
378         [BZ #20592]
379         Remove RR type classification macros.
380         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
381         (ns_t_udp_p, ns_t_xfr_p): Remove.
383 2016-09-21  Florian Weimer  <fweimer@redhat.com>
385         Remove misleading version information.
386         * resolv/arpa/nameser.h (__NAMESER): Remove.
387         * resolv/arpa/nameser_compat.h (__BIND): Remove.
389 2016-09-21  Florian Weimer  <fweimer@redhat.com>
391         Remove the always-defined BIND_4_COMPAT macro.
392         * resolv/arpa/nameser.h: Unconditionally include
393         <arpa/nameser_compat.h>.
394         (BIND_4_COMPAT): Remove.
395         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
397 2016-09-21  Florian Weimer  <fweimer@redhat.com>
399         [BZ #20591]
400         Remove obsolete DNSSEC support.
401         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
402         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
403         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
404         (ns_verify_tcp, ns_verify_tcp_init): Remove.
405         (ns_cert_types): Add comment.
406         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
407         separately.
408         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
409         (dst_s_dns_key_id): Remove.
410         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
411         variables.
413 2016-09-21  Florian Weimer  <fweimer@redhat.com>
415         [BZ #20524]
416         * manual/string.texi (String/Array Comparison): Clarify the
417         strverscmp behavior.
419 2016-09-21  Florian Weimer  <fweimer@redhat.com>
421         * test-skeleton.c (xasprintf): Add function.
422         * io/tst-open-tmpfile.c: New test.
423         * io/Makefile (tests): Add it.
425 2016-09-21  Florian Weimer  <fweimer@redhat.com>
427         Avoid running $(CXX) during build to obtain header file paths.
428         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
429         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
430         * Makerules (cstdlib, cmath): Remove variables.  Use
431         $(c++-cstdlib-header), $(c++-cmath-header) instead.
432         * configure: Regenerate.
434 2016-09-21  Florian Weimer  <fweimer@redhat.com>
436         * Makeconfig (all-object-suffixes): Include .op only if
437         $(build-profile).
439 2016-09-21  Florian Weimer  <fweimer@redhat.com>
441         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
442         conditionals.  Do not define PATH_MAX.
444 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
446         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
447         all signals when executing the clone vfork child.
448         (SIGALL_SET): Remove macro.
450         * nptl/Makefile (tests): Add tst-exec5.
451         * nptl/tst-exec5.c: New file.
452         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
453         asynchronous cancellation.
455 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
457         * hurd/exc2signal.c: #include <hurd/signal.h>
458         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
459         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
460         accordingly.
461         * mach/mach_error.c (mach_error): Fix old-style function definition.
462         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
464 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
466         * math/Makefile (libm-calls): Remove s_nanF.
467         (gen-libm-calls): Add s_nanF.
469         * math/s_nan.c: Refactor into ...
470         * math/s_nan_template.c: New file.
472         * math/s_nanf.c: Removed.
473         * math/s_nanl.c: Removed.
474         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
475         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
477         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
478         (LDOUBLE_nanl_libm_version): New macro.
480         * sysdeps/generic/math-type-macros-double.h:
481         (M_STRTO_NAN): New macro.
482         * sysdeps/generic/math-type-macros-float.h: Likewise.
483         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
485         * sysdeps/generic/math-type-macros.h: Document
486         M_STRTO_NAN.
488 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
490         * math/s_nanf.c: Remove __nanf undef.
491         * math/s_nan.c: Remove __nan undef.
492         * math/s_nanl.c: Remove __nanl undef.
494         * sysdeps/generic/math_private.h (__nan): Remove macro
495         override.
496         (__nanf): Likewise.
497         (__nanl): Likewise.
499 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
501         * math/Makefile (gen-all-calls): New variable.
502         (generated): Replace gen-libm-calls with gen-all-calls.
503         (gen-libm-templates.stmp): Likewise.  Also, ensure
504         the output directory exists or is created and add
505         dependency on the Makefile.
506         (calls): Move s_ldexpF into gen-calls.
507         (gen-calls): New variable.
509         * math/s_ldexpf.c: Removed.
510         * math/s_ldexpl.c: Removed.
511         * math/s_ldexp.c: Refactored into ...
512         * math/s_ldexp_template.c: New file.
514         * sysdeps/generic/math-type-macros-double.h: Remove
515         redundant fall-through definition of declare_mgen_alias.
516         (declare_mgen_alias_2): New macro.
518         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
519         New macro for function aliased to two exported symbols.
521         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
522         new template file.
523         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
525 2016-09-20  Florian Weimer  <fweimer@redhat.com>
527         * Makeconfig (all-object-suffixes): Remove .og.
528         * Makerules (elide-routines.og): Remove.
529         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
530         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
531         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
533 2016-09-20  Florian Weimer  <fweimer@redhat.com>
535         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
536         .os objects.
538 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
540         [BZ #20615]
541         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
542         fpu directory by non-fpu.
543         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
544         on non-fpu directory from a fpu directory.
546 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
548         * include/limits.h: Define
549         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
550         <bits/libc-header-start.h> instead of including <features.h>.
551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
562         * manual/lang.texi (Width of Type): Document these macros.
563         * stdlib/tst-width.c: New file.
564         * stdlib/Makefile (tests): Add tst-width.
566 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
568         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
569         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
571 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
573         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
574         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
575         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
577 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
579         [BZ #18243]
580         * rt/Makefile (test): Add tst-shm-cancel.
581         * rt/tst-shm-cancel.c: New file.
582         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
584         [BZ #18243]
585         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
586         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
587         definition.
588         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
589         uncontended case.
590         * nptl/sem_wait.c (__new_sem_wait): Likewise.
591         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
592         (tf): Fix check for uncontended case.
593         (do_test): Likewise.
594         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
595         (tf): Fix check for uncontended case.
596         (do_test): Likewise.
597         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
598         (tf): Fix check for uncontended case.
599         (do_test): Likewise.
600         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
601         (tf): Fix check for uncontended case.
602         (do_test): Likewise.
604         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
605         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
607         [BZ #15765]
608         * nptl/Makefile (tests): Add tst-sem16.
609         * nptl/tst-sem16.c: New file.
610         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
612         * nptl/sem_open.c (sem_open): Init pad value to 0.
613         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
614         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
616 2016-09-15  Florian Weimer  <fweimer@redhat.com>
618         [BZ #20611]
619         * inet/Makefile (routines): Add inet6_scopeid_pton.
620         (tests): Add tst-inet6_scopeid_pton.
621         * inet/inet6_scopeid_pton.c: New file.
622         * inet/net-internal.h: Likewise.
623         * inet/tst-inet6_scopeid_pton.c: New test.
624         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
625         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
628 2016-09-14  Florian Weimer  <fweimer@redhat.com>
630         Remove support for compiling wrappers with PTW.
631         * sysdeps/nptl/Makeconfig: Drop ptw- support.
632         * nptl/Makefile (pthread-compat-wrappers): Define.
633         (libpthread-routines): Use pthread-compat-wrappers.
634         * sysdeps/unix/sysv/linux/alpha/Makefile
635         (libpthread-routines, libpthread-shared-only-routines): Remove
636         ptw- prefix.
637         * sysdeps/s390/nptl/Makefile
638         (libpthread-routines, libpthread-shared-only-routines): Likewise.
639         * sysdeps/ia64/nptl/Makefile
640         (libpthread-routines, libpthread-shared-only-routines): Likewise.
641         * sysdeps/nacl/Makefile (libpthread-routines): Use
642         pthread-compat-wrappers to filter the routines list instead of the
643         ptw- prefix.
645 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
647         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
648         with L() and remove explicit suffix, convert real literals
649         which can be equivalentally substituted with integers, and
650         transform -L(x) to L(-x).
652         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
653         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
654         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
655         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
656         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
657         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
658         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
659         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
660         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
661         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
662         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
663         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
664         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
665         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
666         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
667         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
668         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
669         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
670         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
671         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
672         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
673         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
674         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
675         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
676         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
677         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
678         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
679         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
680         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
681         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
682         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
683         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
684         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
685         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
686         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
687         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
688         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
689         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
690         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
691         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
692         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
693         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
694         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
695         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
696         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
697         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
698         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
699         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
700         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
701         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
703 2016-09-13  Florian Weimer  <fweimer@redhat.com>
705         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
707 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
709         * malloc/Makefile (tests): Remove individual static test names
710         and just add all of tests-static.
712         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
714 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
716         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
717         file.
719         * sysdeps/sparc/fpu/fegetmode.c: New file.
720         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
722         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
723         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
725         * sysdeps/s390/fpu/fegetmode.c: New file.
726         * sysdeps/s390/fpu/fesetmode.c: Likewise.
728         * sysdeps/powerpc/fpu/fegetmode.c: New file.
729         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
730         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
731         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
732         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
733         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
735         * sysdeps/mips/fpu/fegetmode.c: New file.
736         * sysdeps/mips/fpu/fesetmode.c: Likewise.
738         * sysdeps/m68k/fpu/fegetmode.c: New file.
739         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
741         * sysdeps/ia64/fpu/fegetmode.c: New file.
742         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
744         * sysdeps/hppa/fpu/fegetmode.c: New file.
745         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
747         * sysdeps/arm/fegetmode.c: New file.
748         * sysdeps/arm/fesetmode.c: Likewise.
750         * sysdeps/alpha/fpu/fegetmode.c: New file.
751         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
753         * sysdeps/aarch64/fpu/fegetmode.c: New file.
754         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
756         * math/fegetmode.c: New file.
757         * math/fesetmode.c: Likewise.
758         * sysdeps/i386/fpu/fegetmode.c: Likewise.
759         * sysdeps/i386/fpu/fesetmode.c: Likewise.
760         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
761         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
762         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
764         declaration.
765         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
766         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
767         typedef.
768         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
769         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
770         (femode_t): New typedef.
771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
772         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
773         (femode_t): New typedef.
774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
775         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
776         (femode_t): New typedef.
777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
778         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
779         (femode_t): New typedef.
780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
781         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
782         (femode_t): New typedef.
783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
784         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
785         (femode_t): New typedef.
786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
787         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
788         (femode_t): New typedef.
789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
790         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
791         (femode_t): New typedef.
792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
793         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
794         (femode_t): New typedef.
795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
796         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
797         (femode_t): New typedef.
798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
799         declaration.
800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
801         * sysdeps/s390/fpu/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/sh/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/sparc/fpu/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 macro.
810         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
811         (femode_t): New typedef.
812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
813         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
814         (femode_t): New typedef.
815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
816         * manual/arith.texi (FE_DFL_MODE): Document macro.
817         (fegetmode): Document function.
818         (fesetmode): Likewise.
819         * math/Versions (fegetmode): New libm symbol at version
820         GLIBC_2.25.
821         (fesetmode): Likewise.
822         * math/Makefile (libm-support): Add fegetmode and fesetmode.
823         (tests): Add test-femode and test-femode-traps.
824         * math/test-femode-traps.c: New file.
825         * math/test-femode.c: Likewise.
826         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
827         alias for __fe_dfl_env.
828         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
829         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
830         (__fe_dfl_mode): Likewise.
831         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
832         version GLIBC_2.25.
833         * sysdeps/nacl/libm.abilist: Update.
834         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
835         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
839         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
840         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
841         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
842         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
843         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
844         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
845         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
847         Likewise.
848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
849         Likewise.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
851         Likewise.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
853         Likewise.
854         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
855         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
856         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
860         Likewise.
861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
862         Likewise.
863         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
867 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
869         [BZ #20495]
870         [BZ #20508]
871         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
872         processors, set Use_dl_runtime_resolve_slow and set
873         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
874         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
875         New.
876         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
877         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
878         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
879         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
880         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
881         if Use_dl_runtime_resolve_opt is set.  Use
882         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
883         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
884         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
885         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
886         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
887         New.
888         (_dl_runtime_resolve_opt): Likewise.
889         (_dl_runtime_profile): Define only if _dl_runtime_profile is
890         defined.
892 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
894         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
895         __libc_memalign with "+ RELA R_390_GLOB_DAT".
897 2016-09-06  Florian Weimer  <fweimer@redhat.com>
899         Convert malloc to __libc_lock.  Automated part, using this Perl
900         s/// command:
901           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
902             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
903         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
904         conversion.
906 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
908         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
909         (linknamespace-symlists-tests): Likewise.
910         (linknamespace-header-tests): Likewise.
912 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
914         [BZ #19810]
915         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
916         * elf/tst-noload.c: New test case.
917         * elf/Makefile (tests): Add tst-noload.
919 2016-09-02  Roland McGrath  <roland@hack.frob.com>
921         * sysdeps/nacl/dup.c: Add libc_hidden_def.
923         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
924         not any more.
926         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
928 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
930         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
931         (do_cos_slow): Likewise.
932         (do_sin): Likewise.
933         (do_sin_slow): Likewise.
934         (slow): Likewise.
935         (slow1): Likewise.
936         (slow2): Likewise.
937         (sloww): Likewise.
938         (sloww1): Likewise.
939         (sloww2): Likewise.
940         (bsloww): Likewise.
941         (bsloww1): Likewise.
942         (bsloww2): Likewise.
943         (cslow2): Likewise.
945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
947         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
948         arguments.  Consolidate input partitioning from callers here.
949         (do_cos_slow): Likewise.
950         (do_sin): Likewise.
951         (do_sin_slow): Likewise.
952         (do_sincos_1): Remove the no longer necessary input partitioning.
953         (do_sincos_2): Likewise.
954         (__sin): Likewise.
955         (__cos): Likewise.
956         (slow1): Likewise.
957         (slow2): Likewise.
958         (sloww1): Likewise.
959         (sloww2): Likewise.
960         (bsloww1): Likewise.
961         (bsloww2): Likewise.
962         (cslow2): Likewise.
964 2016-09-02  Florian Weimer  <fweimer@redhat.com>
966         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
967         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
968         outside of allocated array.
970 2016-09-02  Florian Weimer  <fweimer@redhat.com>
972         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
973         instead of MB_CUR_MAX to avoid variable-length array.
975 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
977         * math/Makefile (libm-calls): Remove k_rem_pio2F.
978         (type-double-routines): Add k_rem_pio2.
979         (type-float-routines): Add k_rem_pio2f.
981         * sysdeps/generic/math_private.h:
982         (__kernel_rem_pio2l): Removed.
984         * math/k_rem_pio2l.c: Removed.
985         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
986         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
987         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
988         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
990 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
992         * math/Makefile (gen-libm-calls): Add s_fmin
993         (libm-calls): Remove above.
995         * math/s_fmin.c: Refactor into ...
996         * math/s_fmin_template.c: New file.
998         * math/s_fminf.c: Removed.
999         * math/s_fminl.c: Removed.
1000         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1001         (LDOUBLE_fmin_libm_version): New macro.
1003         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1004         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1006 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1008         * math/Makefile: (gen-libm-calls): Add s_fmax.
1009         (libm-calls): Remove above.
1011         * math/s_fmax.c: Refactor into ...
1012         * math/s_fmax_template.c: New file.
1013         * math/s_fmaxf.c: Removed.
1014         * math/s_fmaxl.c: Removed.
1016         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1017         (LDOUBLE_fmaxl_libm_version): New macro.
1019         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1020         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1022         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1023         s_fmin.c to pick the aarch64 version of the file.
1024         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1025         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1027 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1029         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1030         (libm-calls): Remove above.
1032         * math/s_nextdown.c: Refactor into ...
1033         * math/s_nextdown_template.c: New file.
1034         * math/s_nextdownf.c: Removed.
1035         * math/s_nextdownl.c: Removed.
1037         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1039 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1041         * math/Makefile (gen-libm-calls): Add s_fdim.
1042         (libm-calls): Move to above.
1044         * math/s_fdim.c: Renamed and refactored into to ...
1045         * math/s_fdim_template.c: New file.
1046         * math/s_fdiml.c: Removed.
1047         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1048         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1050         * sysdeps/generic/math-type-macros-double.h:
1051         (declare_mgen_alias): Don't declare if already declared.
1052         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1053         Likewise.
1055         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1056         (declare_mgen_alias): Don't declare if already declared.
1057         (M_LIBM_NEED_COMPAT): Likewise.
1058         (declare_mgen_libm_compat): Likewise.
1059         (LDOUBLE_fdiml_libm_version): New macro.
1061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1062         Include math/s_fdim.c now that ldbl-opt version is not needed.
1063         (declare_mgen_alias): New macro to disable aliasing.
1065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1066         (declare_mgen_alias): Likewise.
1067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1068         (declare_mgen_alias): Likewise.
1069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1070         (declare_mgen_alias): Likewise.
1071         (M_LIBM_NEED_COMPAT): Likewise.
1073 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1075         [BZ #20525]
1076         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1077         Include <linux/quota.h>.
1078         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1079         and btodb.
1080         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1081         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1082         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1083         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1084         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1085         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1086         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1087         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1088         types.
1089         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1090         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1092 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1094         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1095         (gammal_positive): Fix spacing.
1096         (__ieee754_gammal_r): Likewise.
1098 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1100         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1101         (_Float128): Define as long double, always.
1102         (L): Apply long double type suffix, always.
1104         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1105         _Float128, excepting comments.
1107         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1108         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1109         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1110         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1111         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1112         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1113         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1114         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1115         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1116         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1117         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1118         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1119         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1120         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1121         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1122         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1123         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1124         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1125         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1126         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1127         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1128         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1129         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1130         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1131         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1132         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1133         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1134         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1135         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1136         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1137         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1138         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1139         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1140         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1141         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1142         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1143         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1144         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1145         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1146         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1147         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1148         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1149         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1150         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1151         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1152         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1153         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1154         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1155         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1156         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1157         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1158         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1159         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1160         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1161         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1162         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1163         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1164         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1165         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1166         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1167         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1168         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1169         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1170         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1171         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1172         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1173         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1174         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1176         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1177         _Float128, and include math_private.h.
1178         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1180         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1181         long double semantics.
1182         (_Float128): Likewise.
1183         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1184         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1185         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1186         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1188 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1190         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1191         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1192         * sysdeps/s390/configure: Regenerated.
1193         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1194         instruction for raising over-/underflow if z196 zarch is supported
1195         by default.
1196         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1198 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1200         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1201         it point to a dumb buffer for RPC to fill it.
1203 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1205         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1206         instead of if/else.
1207         (do_sin_slow): Likewise.
1208         (do_sincos_1): Use fabs instead of if/else.
1209         (do_sincos_2): Likewise.
1210         (__sin): Likewise.
1211         (__cos): Likewise.
1212         (slow2): Likewise.
1213         (sloww): Likewise.
1214         (sloww1): Likewise.  Drop argument M.
1215         (sloww2): Use fabs instead of if/else.
1216         (bsloww): Likewise.
1217         (bsloww1): Likewise.
1218         (bsloww2): Likewise.
1220         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1221         fall through comment.
1222         (do_sincos_1): Likewise.
1224         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1225         Consolidate switch cases 0 and 2.
1227 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1229         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1230         (libm-calls): Remove the above.
1232         * math/s_cexp_template.c: Update using type-generic macros.
1233         * math/s_clog10_template.c: Likewise.
1234         * math/s_cpow_template.c: Likewise.
1235         * math/s_clog_template.c: Likewise.
1236         * math/s_cproj_template.c: Likewise.
1237         * math/s_csqrt_template.c: Likewise.
1239         * math/s_cexp.c: Removed.
1240         * math/s_cexpf.c: Removed.
1241         * math/s_cexpl.c: Removed.
1242         * math/s_clog10.c: Removed.
1243         * math/s_clog10f.c: Removed.
1244         * math/s_clog10l.c: Removed.
1245         * math/s_cpow.c: Removed.
1246         * math/s_cpowf.c: Removed.
1247         * math/s_cpowl.c: Removed.
1248         * math/s_clog.c: Removed.
1249         * math/s_clogf.c: Removed.
1250         * math/s_clogl.c: Removed.
1251         * math/s_cproj.c: Removed.
1252         * math/s_cprojf.c: Removed.
1253         * math/s_cprojl.c: Removed.
1254         * math/s_csqrt.c: Removed.
1255         * math/s_csqrtf.c: Removed.
1256         * math/s_csqrtl.c: Removed.
1258         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1259         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1260         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1261         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1262         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1263         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1265         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1266         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1267         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1268         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1269         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1270         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1271         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1272         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1273         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1274         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1275         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1277         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1278         version.
1280         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1281         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1282         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1283         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1285 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1287         * s_cexp_template.c: Copy of s_cexp.c.
1288         * s_clog_template.c: Copy of s_clog.c.
1289         * s_clog10_template.c: Copy of s_clog10.c.
1290         * s_cpow_template.c: Copy of s_cpow.c.
1291         * s_cproj_template.c: Copy of s_cproj.c.
1292         * s_csqrt_template.c: Copy of s_csqrt.c.
1294 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1296         [BZ #20517]
1297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1298         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1299         exported.
1301 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1303         * math/fetestexceptflag.c: New file.
1304         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1305         Stefan Liebler.
1306         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1307         (fetestexceptflag): New function declaration.
1308         * manual/arith.texi (fetestexceptflag): Document function.
1309         * math/Versions (fetestexceptflag): New libm symbol at version
1310         GLIBC_2.25.
1311         * math/Makefile (libm-support): Add fetestexceptflag.
1312         (tests): Add test-fetestexceptflag.
1313         * math/test-fetestexceptflag.c: New file.
1314         * sysdeps/nacl/libm.abilist: Update.
1315         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1316         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1317         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1321         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1323         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1328         Likewise.
1329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1330         Likewise.
1331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1332         Likewise.
1333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1334         Likewise.
1335         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1341         Likewise.
1342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1346         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1348 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1350         [BZ #20432]
1351         Avoid strong references to malloc-internal symbols when linking
1352         statically, to support statically interposed mallocs.
1353         * include/libc-symbols.h (call_function_static_weak): New macro.
1354         * malloc/Makefile (tests): Add tst-interpose-nothread,
1355         tst-interpose-thread, tst-interpose-static-nothread,
1356         tst-interpose-static-thread.
1357         (tests-static): Add tst-interpose-static-nothread,
1358         tst-interpose-static-thread.
1359         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1360         tst-interpose-aux-thread.o.
1361         (test-extras): Add tst-interpose-aux-nothread,
1362         tst-interpose-aux-thread.
1363         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1364         tst-interpose-aux-nothread.o.
1365         (tst-interpose-thread, tst-interpose-static-thread): Link with
1366         tst-interpose-aux-thread.o and libthread.
1367         * malloc/tst-interpose-aux-nothread.c: New file.
1368         * malloc/tst-interpose-aux-thread.c: Likewise.
1369         * malloc/tst-interpose-aux.c: Likewise.
1370         * malloc/tst-interpose-aux.h: Likewise.
1371         * malloc/tst-interpose-nothread.c: Likewise.
1372         * malloc/tst-interpose-skeleton.c: Likewise.
1373         * malloc/tst-interpose-static-nothread.c: Likewise.
1374         * malloc/tst-interpose-static-thread.c: Likewise.
1375         * malloc/tst-interpose-thread.c: Likewise.
1376         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1377         * sysdeps/mach/hurd/fork.c (__fork): Only call
1378         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1379         __malloc_fork_unlock_child if defined.
1380         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1382 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1384         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1385         timespec C99 designated initialization.
1387 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1389         [BZ #19946]
1390         Avoid expected SIGALRM signals.
1391         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1392         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1393         (xpthread_create, xpthread_detach, xpthread_join)
1394         (delayed_exit_thread, delayed_exit): New functions.
1395         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1396         (tf): Use xpthread_cond_wait.
1397         (do_test): Likewise.  Replace alarm with delayed_exit.
1398         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1399         (do_test): Call delayed_exit.  Report failure.
1400         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1401         (do_test): Call delayed_exit.
1402         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1403         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1404         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1405         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1406         error.
1407         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1408         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1409         error.
1410         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1411         (do_test): Call delayed_exit.
1412         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1413         (do_test): Call delayed_exit.
1414         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1415         (do_test): Call delayed_exit instead of alarm.  Use
1416         xpthread_mutex_lock.
1417         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1418         (do_test): Call delayed_exit instead of alarm.  Use
1419         xpthread_mutex_lock.
1420         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1421         (do_test): Call delayed_exit instead of alarm.
1422         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1423         (do_test): Call delayed_exit instead of alarm.  Use
1424         xpthread_spin_lock.
1425         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1426         (do_test): Call delayed_exit instead of alarm.  Use
1427         xpthread_join.
1429 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1431         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1432         adjust CFA when allocating register save area on re-aligned
1433         stack.
1435 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1437         * string/tst-cmp.c: New test.
1438         * string/Makefile (tests): Add it.
1440 2016-08-25  Mark Wielaard  <mark@klomp.org>
1442         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1443         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1444         (check_tree_recurse): Use newly defined accessors.
1445         (check_tree): Likewise.
1446         (maybe_split_for_insert): Likewise.
1447         (__tfind): Likewise.
1448         (__tdelete): Likewise.
1449         (trecurse): Likewise.
1450         (tdestroy_recurse): Likewise.
1451         (__tsearch): Likewise. And add asserts for malloc alignment.
1452         (__twalk): Cast root to node in case CHECK_TREE is defined.
1454 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1456         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1458 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1460         * math/Makefile (libm-gen-calls): Add
1461         catan, catanh, ctan, ctanh.
1462         (libm-calls): Remove the above.
1464         * math/s_catan_template.c: Update using type-generic macros.
1465         * math/s_catanh_template.c: Likewise.
1466         * math/s_ctan_template.c: Likewise.
1467         * math/s_ctanh_template.c: Likewise.
1469         * math/s_catanf.c: Removed.
1470         * math/s_catan.c: Removed.
1471         * math/s_catanl.c: Removed.
1472         * math/s_catanhf.c: Removed.
1473         * math/s_catanh.c: Removed.
1474         * math/s_catanhl.c: Removed.
1475         * math/s_ctanf.c: Removed.
1476         * math/s_ctan.c: Removed.
1477         * math/s_ctanl.c: Removed.
1478         * math/s_ctanhf.c: Removed.
1479         * math/s_ctanh.c: Removed.
1480         * math/s_ctanhl.c: Removed.
1482         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1483         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1484         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1485         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1486         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1487         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1489         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1490         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1491         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1492         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1494 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1496         * s_catan_template.c: Copy of s_catan.c.
1497         * s_catanh_template.c: Copy of s_catanh.c.
1498         * s_ctan_template.c: Copy of s_ctan.c.
1499         * s_ctanh_template.c: Copy of s_ctanh.c.
1501 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1503         * math/Makefile (gen-libm-calls): Move
1504         casin, casinh, csin, csinh here.
1505         (libm-calls): Remove the above.
1507         * math/s_casin_template.c: Update using type-generic macros.
1508         * math/s_casinh_template.c: Likewise.
1509         * math/s_csin_template.c: Likewise.
1510         * math/s_csinh_template.c: Likewise.
1511         * math/k_casinh_template.c: Likewise.
1513         * math/s_casinf.c: Removed.
1514         * math/s_casin.c: Removed.
1515         * math/s_casinl.c: Removed.
1516         * math/s_casinh.c: Removed.
1517         * math/s_casinhf.c: Removed.
1518         * math/s_casinhl.c: Removed.
1519         * math/s_csin.c: Removed.
1520         * math/s_csinf.c: Removed.
1521         * math/s_csinl.c: Removed.
1522         * math/s_csinh.c: Removed.
1523         * math/s_csinhf.c: Removed.
1524         * math/s_csinhl.c: Removed.
1525         * math/k_casinh.c: Removed.
1526         * math/k_casinhf.c: Removed.
1527         * math/k_casinhl.c: Removed.
1529         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1530         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1531         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1532         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1534         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1535         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1536         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1537         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1538         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1539         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1540         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1541         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1543         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1544         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1545         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1546         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1548         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1549         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1550         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1551         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1553 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1555         * s_casin_template.c: Copy of s_casin.c.
1556         * s_casinh_template.c: Copy of s_casinh.c.
1557         * s_csin_template.c: Copy of s_csin.c.
1558         * s_csinh_template.c: Copy of s_csinh.c.
1559         * k_casinh_template.c: Copy of k_casinh.c.
1561 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1563         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1565 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1567         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1568         (mul_split) Remove, rename as mul_splitl, remove
1569         redundant float.h include, and include via mul_splitl.h
1571         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1572         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1573         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1574         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1575         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1577         * math/mul_splitl.h: New file.
1579         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1580         Move into mul_split.h, and remove redundant float.h include.
1582         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1583         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1584         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1585         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1587         * math/mul_split.h: New file.
1589 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1591         * math/Makefile (libm-gen-calls): Move
1592         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1593         (libm-calls): Remove above.
1595         * math/s_cacos_template.c: Update using type-generic macros.
1596         * math/s_cacosh_template.c: Likewise.
1597         * math/s_ccos_template.c: Likewise.
1598         * math/s_ccosh_template.c: Likwise.
1600         * math/s_cacosf.c: Removed.
1601         * math/s_cacos.c: Removed.
1602         * math/s_cacosl.c: Removed.
1603         * math/s_cacoshf.c: Removed.
1604         * math/s_cacosh.c: Removed.
1605         * math/s_cacoshl.c: Removed.
1606         * math/s_ccosf.c: Removed.
1607         * math/s_ccos.c: Removed.
1608         * math/s_ccosl.c: Removed.
1609         * math/s_ccoshf.c: Removed.
1610         * math/s_ccosh.c: Removed.
1611         * math/s_ccoshl.c: Removed.
1613         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1614         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1615         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1616         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1617         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1618         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1620         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1621         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1622         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1623         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1625         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1626         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1627         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1628         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1630 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1632         * s_cacos_template.c: Copy of s_cacos.c.
1633         * s_cacosh_template.c: Copy of s_cacosh.c.
1634         * s_ccos_template.c: Copy of s_ccos.c.
1635         * s_ccosh_template.c: Copy of s_ccosh.c.
1637 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1639         * stdlib/tst-strtod-round-skeleton.c:
1640         Refactored from tst-strtod-round.c.
1642         (L_): New macro to apply literal modifier.
1643         (FNPFX): New macro to select str or wcs prefix.
1644         (CHAR): New macro to choose wchar_t or char.
1645         (STRM): New macro to choose printf for tested character type.
1647         (STRTO): New macro to choose appropriate string -> real function.
1648         (FNPFXS): Stringitized version of FNPFX.
1649         (STR): Support for above macro.
1650         (STRX): Likewise.
1652         (TEST): Update with above macros.
1653         (test): Likewise.
1654         (GEN_ONE_TEST): Likewise.
1655         (test_in_one_mode): Likewise.
1657         * stdlib/tst-strtod-round.c: New file.
1658         * wcsmbs/tst-wcstod-round.c: New file.
1660         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1661         (tst-wcstod-round): Add libm depencency for fesetround.
1663 2016-08-19  Zack Weinberg  <zackw@panix.com>
1665         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1667 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1669         [BZ #20477]
1670         * resolv/res_hconf.c (do_init): Use atomic access.
1671         * resolv/res_hconf.h: Add comments.
1672         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1673         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1676 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1678         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1679         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1680         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1681         Likewise.
1683 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1685         [BZ #16907]
1686         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1687         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1688         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1689         (__attribute__): Remove definition.
1691 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1693         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1694         Remove unused sqrtl declaration.
1696 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1698         * math/Makefile: (gen-libm-templates.stmp): New rule.
1699         (libm-calls): Move carg conj cimag and cabs into ...
1700         (gen-libm-calls): New variable.
1701         (generated): Inform Make objects from gen-libm-calls
1702         may be generated.
1704         * sysdeps/generic/math-type-macros.h: New file.
1705         * sysdeps/generic/math-type-macros-float.h: Likewise.
1706         * sysdeps/generic/math-type-macros-double.h: Likewise.
1707         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1708         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1709         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1711         * math/cabs.c: Refactor into
1712         * math/cabs_template.c: new file.
1713         * math/cabsf.c: Removed.
1714         * math/cabsl.c: Removed.
1715         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1716         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1718         * math/carg.c: Refactor into
1719         * math/carg_template.c: new file.
1720         * math/cargf.c: Removed.
1721         * math/cargl.c: Removed.
1722         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1723         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1725         * math/conj.c: Refactor into
1726         * math/conj_template.c: new file.
1727         * math/conjf.c: Removed.
1728         * math/conjl.c: Removed.
1729         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1730         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1732         * math/cimag.c: Refactor into
1733         * math/cimag_template.c: new file.
1734         * math/cimagf.c: Removed.
1735         * math/cimagl.c: Removed.
1736         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1737         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1739         * math/cimag.c: Refactor into
1740         * math/cimag_template.c: new file.
1741         * math/cimagf.c: Removed.
1742         * math/cimagl.c: Removed.
1743         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1744         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1746 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1748         Reduce time to expected nptl/tst-once5 failure.
1749         * nptl/tst-once5.cc (TIMEOUT): Define.
1751 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1753         [BZ #20452]
1754         Avoid additional copies of objects in libc.a in static libraries.
1755         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1756         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1757         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1758         rt-sysdep.
1759         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1760         Add nptl-sysdep.
1761         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1762         Add ptw-sysdep.
1763         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1764         rt-sysdep.
1765         * sysdeps/unix/sysv/linux/alpha/Makefile
1766         (libpthread-shared-only-routines): Add ptw-sysdep,
1767         ptw-sigprocmask, ptw-rt_sigaction.
1768         * sysdeps/unix/sysv/linux/ia64/Makefile
1769         (librt-shared-only-routines): Add rt-sysdep.
1770         * sysdeps/unix/sysv/linux/i386/Makefile
1771         (libpthread-shared-only-routines): Add libc-do-syscall.
1772         * sysdeps/unix/sysv/linux/microblaze/Makefile
1773         (libpthread-shared-only-routines): Add sysdep.
1774         * sysdeps/unix/sysv/linux/powerpc/Makefile
1775         (librt-shared-only-routines): Add rt-sysdep.
1776         (libpthread-shared-only-routines): Add sysdep.
1777         * sysdeps/unix/sysv/linux/s390/Makefile
1778         (librt-shared-only-routines): Add rt-sysdep.
1779         * sysdeps/unix/sysv/linux/sparc/Makefile
1780         (librt-shared-only-routines): Add rt-sysdep.
1781         (libpthread-shared-only-routines): Add sysdep.
1782         * sysdeps/unix/sysv/linux/tile/Makefile
1783         (libpthread-shared-only-routines): Likewise.
1785 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1787         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1788         Mask implicit bit out of unpacked value.
1789         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1793         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1795         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1797         * sysdeps/s390/fpu/fesetexcept.c: New file.
1799         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1800         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1801         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1803         * sysdeps/mips/fpu/fesetexcept.c: New file.
1805         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1807         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1809         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1811         * sysdeps/arm/fesetexcept.c: New file.
1813         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1815         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1817         * math/fesetexcept.c: New file.
1818         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1819         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1820         * math/fenv.h: Define
1821         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1822         <bits/libc-header-start.h> instead of including <features.h>.
1823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1824         declaration.
1825         * manual/arith.texi (fesetexcept): Document function.
1826         * math/Versions (fesetexcept): New libm symbol at version
1827         GLIBC_2.25.
1828         * math/Makefile (libm-support): Add fesetexcept.
1829         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1830         * math/test-fesetexcept.c: New file.
1831         * math/test-fesetexcept-traps.c: Likewise.
1832         * sysdeps/nacl/libm.abilist: Update.
1833         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1834         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1835         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1836         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1837         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1838         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1839         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1841         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1844         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1846         Likewise.
1847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1848         Likewise.
1849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1850         Likewise.
1851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1852         Likewise.
1853         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1854         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1859         Likewise.
1860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1861         Likewise.
1862         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1866 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1868         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1869         New.
1870         (do_test): Apply default_stack_size_in_mb if not set.
1871         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1873 2016-08-15  Andreas Schwab  <schwab@suse.de>
1875         [BZ #20435]
1876         CVE-2016-6323
1877         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1878         as .cantunwind.
1880 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1882         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1883         comment from fraiseexcpt.c.
1885         * math/test-fexcept.c (feraiseexcept_exact): New function.
1886         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1887         (test_except): Likewise.
1889 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1891         [BZ #20455]
1892         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1893         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1894         to be restored.
1896         * math/test-fexcept-traps.c: New file.
1897         * math/test-fexcept.c: Likewise.
1898         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1899         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1900         macro.
1901         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1902         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1904 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1906         * include/atomic.h (atomic_fetch_and_relaxed,
1907         atomic_fetch_and_release, atomic_fetch_or_release,
1908         atomic_fetch_xor_release): New.
1910 2016-08-06  Christian Seiler  <christian@iwakd.de>
1912         [BZ #20444]
1913         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1914         MACH_PORT_NULL.
1916 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1918         * math/s_fdim.c: Avoid alias renamed.
1919         * math/s_fdimf.c: Likewise.
1920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1921         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1922         Add s_fdimf-vis3, s_fdim-vis3.
1923         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1924         (CFLAGS-s_fdim-vis3.c): Likewise.
1925         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1926         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1928 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1931         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1932         Remove s_fdimf-vis3, s_fdim-vis3.
1933         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1934         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1941         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1942         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1944 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1946         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1947         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1948         -Wa,-Av9a -mvis.
1950 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1952         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1953         LIT() to individual constants in simple expressions
1954         after splitting on spaces.
1955         (_apply_lit): Rename replaced version, and use it to
1956         apply to what appears to be a token.
1958         * math/libm-test.inc: Fix many, many issues with
1959         spacing.
1961 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1963         * math/math.h: Move comment about <bits/mathdef.h> definitions
1964         above inclusion of <bits/mathdef.h>.  Do not mention
1965         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1967 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1969         * include/atomic.h (atomic_exchange_relaxed): New.
1971 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1973         * math/e_scalb.c: Do not include <fenv.h>.
1974         (invalid_fn): Do calculation resulting in NaN instead of raising
1975         FE_INVALID and returning a NaN explicitly.
1976         * math/e_scalbf.c: Do not include <fenv.h>.
1977         (invalid_fn): Do calculation resulting in NaN instead of raising
1978         FE_INVALID and returning a NaN explicitly.
1979         * math/e_scalbl.c: Do not include <fenv.h>.
1980         (invalid_fn): Do calculation resulting in NaN instead of raising
1981         FE_INVALID and returning a NaN explicitly.
1983 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1985         * po/de.po: Updated from Translation Project.
1986         * po/fi.po: Likewise.
1987         * po/sv.po: Likewise.
1989 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1991         [BZ #20452]
1992         Use sysdep.o from libc.a in static libraries.
1993         * sysdeps/unix/sysv/linux/i386/Makefile
1994         (libpthread-shared-only-routines): Add sysdep.
1995         (librt-shared-only-routines): Likewise.
1997 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1999         * math/tgmath.h (nextdown): Define if
2000         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2001         (nextup): Likewise.
2003         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2004         macro.
2005         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2006         Document.
2007         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2008         Document macro.
2009         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2010         (exp10f): Likewise.
2011         (exp10l): Likewise.
2012         * math/bits/mathcalls.h (exp10): Declare if
2013         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2015         * manual/arith.texi (nextup): Fix typo in last change.
2017 2016-08-03  Zack Weinberg  <zackw@panix.com>
2019         [BZ #19239]
2020         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2021         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2022         define major, minor, and makedev to issue deprecation warnings on use.
2023         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2024         previously-activated deprecation warnings for these macros and prevent
2025         subsequent inclusions of this header from having any effect.
2026         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2027         including <sys/sysmacros.h>, and undefine it again afterward.
2029 2016-08-03  Zack Weinberg  <zackw@panix.com>
2031         * sysdeps/generic/sys/sysmacros.h: Delete file.
2032         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2033         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2034         * bits/sysmacros.h: ... here; this encoding is now the generic
2035         encoding.  Now defines only the following macros:
2036         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2037         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2038         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2040         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2041         bits/sysmacros.h and the above new macros to generate the
2042         public implementations of major, minor, and makedev.
2043         * misc/tst-makedev.c: New test.
2044         * include/sys/sysmacros.h: New wrapper.
2046         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2047         (routines): Add makedev.
2048         (tests): Add tst-makedev.
2049         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2050         gnu_dev_makedev.
2051         * posix/Makefile (headers): Remove sys/sysmacros.h.
2052         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2054         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2055         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2056         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2057         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2058         * sysdeps/unix/sysv/linux/arm/libc.abilist
2059         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2060         * sysdeps/unix/sysv/linux/i386/libc.abilist
2061         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2062         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2063         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2064         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2065         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2066         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2067         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2068         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2069         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2074         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2075         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2076         * sysdeps/unix/sysv/linux/sh/libc.abilist
2077         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2078         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2081         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2082         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2083         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2084         Add GLIBC_2.25.
2086         * include/features.h (__glibc_clang_prereq): New macro.
2087         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2088         (__attribute_deprecated_msg__): New macros.
2090 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2092         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2093         macro.
2094         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2095         * manual/arith.texi (issignaling): Document as ISO from TS
2096         18661-1:2014.
2097         (nextup): Likewise.
2098         (nextupf): Likewise.
2099         (nextupl): Likewise.
2100         (nextdown): Likewise.
2101         (nextdownf): Likewise.
2102         (nextdownl): Likewise.
2103         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2104         macro.
2105         * math/math.h: Define
2106         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2107         <bits/libc-header-start.h> instead of including <features.h>.
2108         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2109         [__USE_GNU].
2110         * math/bits/mathcalls.h (nextdown): Declare if
2111         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2112         (nextup): Likewise.
2113         (__issignaling): Likewise.
2115 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2117         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2118         check, and remove __glibc_likely hint
2119         from FP_INFINITE check.
2120         * s_csinhf.c (__csinhf): Likewise.
2122         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2123         hint from FP_INFINITE check.
2124         * s_csinhl.c (__csinhl): Likewise.
2126 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2128         * math/Makefile (libm-calls): Insert F placeholder into
2129         object names.  Move w_lgamma_compat* routines into
2130         (libm-compat-calls): New variable.
2131         (libm-compat-calls-ldouble-yes): New variable.
2132         (calls): Insert F placeholder.
2133         (generated): Redefine using new type-foreach macro call.
2134         (routines): Likewise.
2136         (types): New variable to hold a list of symbolic names
2137         for each type supported by the target machine.
2138         (libm-routines): Redefine using new types variable.
2139         (type-foreach): macro to replace fooF with the
2140         appropriately suffixed foo for each types.
2142         (type-ldouble-suffix): New variable.
2143         (type-ldouble-routines): Likewise.
2144         (type-ldouble-yes): Likewise.
2145         (type-double-suffix): Likewise.
2146         (type-double-routines): Likewise.
2147         (type-float-suffix): Likewise.
2148         (type-float-routines): Likewise.
2150         (dbl-only-routines): Remove.
2151         (long-c-yes): Likewise.
2152         (long-m-routines): Likewise.
2153         (long-m-support): Likewise.
2154         (long-m-yes): Likewise.
2155         (test-longdouble-yes): Likewise.
2157         (test-float.o): Simplify by increasing the scope of the
2158         recipe which adds libm-test.stmp to the vector types.
2159         (test-ifloat.o): Likewise.
2160         (test-float-finite.o): Likewise.
2161         (test-double.o): Likewise
2162         (test-idouble.o): Likewise.
2163         (test-double-finite.o): Likewise.
2164         (test-ldouble.o): Likewise
2165         (test-ildoubl.o): Likewise.
2166         (test-ldouble-finite.o): Likewise.
2168         (libm-tests): Redefine type tests using foreach and the
2169         list of types in types.
2171         (CPPFLAGS-test-ildoubl.c): Rename to
2172         (CPPFLAGS-test-ildouble.c): New variable
2174         * math/test-ildoubl.c: Rename to
2175         * math/test-ildouble.c: New file.
2177 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2179         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2180         Use fabsl instead of fabs.
2181         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2182         Likewise.
2183         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2184         Add long double suffix to constant to ensure proper
2185         promotion to long double.
2187 2016-08-03  Tom Tromey  <tom@tromey.com>
2189         [BZ #20311]
2190         * nptl_db/Makefile (headers): Add proc_service.h.
2191         * nptl_db/proc_service.h: Add include guard.  Use
2192         __BEGIN/__END_DECLS.
2193         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2194         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2195         arguments.
2198 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2200         [BZ #17730]
2201         Avoid using memalign for TCB allocations.
2202         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2203         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2204         Avoid alignment gap in the TLS_DTV_AT_TP case.
2205         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2206         determine the pointer to free.
2207         * nptl/tst-tls3-malloc.c: New test.
2208         * nptl/Makefile (tests): Add it.
2209         (tst-tls3-malloc): Link with libdl, libpthread.
2210         (LDFLAGS-tst-tls3-malloc): Set.
2211         (tst-tls3-malloc.out): Depend on DSO used in test.
2213 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2215         [BZ #17730]
2216         Avoid using memalign for TLS allocations.
2217         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2218         is_static member with to_free member.
2219         (union dtv): Use struct dtv_pointer.
2220         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2221         dtv_pointer instead of is_static.
2222         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2223         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2224         instead of val.
2225         (allocate_dtv_entry): New function.
2226         (allocate_and_init): Return struct dtv_pointer.  Call
2227         allocate_dtv_entry instead of __libc_memalign.
2228         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2229         instead of val.
2230         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2231         instead of is_static.  Adjust call to allocate_and_init.
2232         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2233         struct dtv_pointer instead of val.
2235 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2237         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2238         (MALLOC_ALIGN_MASK): Move ...
2239         * malloc/malloc-internal.h: ... to here.
2240         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2242 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2244         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2245         (UDP_ENCAP_GTP1U): Likewise.
2247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2248         (PF_MAX): Update value.
2249         (AF_QIPCRTR): New macro.
2251 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2253         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2254         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2255         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2257         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2258         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2259         s_truncf-vis3, s_trunc-vis3.
2260         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2261         (CFLAGS-s_ceil-vis3.c): Likewise.
2262         (CFLAGS-s_floorf-vis3.c): Likewise.
2263         (CFLAGS-s_floor-vis3.c): Likewise.
2264         (CFLAGS-s_truncf-vis3.c): Likewise.
2265         (CFLAGS-s_trunc-vis3.c): Likewise.
2266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2274         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2275         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2276         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2277         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2279 2016-08-02  David S. Miller  <davem@davemloft.net>
2281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2282         (__nearbyint_vis3): Don't check for sNaN before float register is
2283         loaded with the incoming argument.
2284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2285         (__nearbyintf_vis3): Likewise.
2286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2287         Likewise.
2288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2289         Likewise.
2291         * string/test-strncmp.c (do_test_limit): Make sure the test data
2292         stream is aligned as required for the type "CHAR".
2293         (do_test): Likewise.
2295 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2297         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2298         by beq instructions jumping to the end of the function.
2299         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2300         clobber list. Use "i" constraint instead of "X".
2301         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2302         of "X".
2304 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2306         * bits/libc-header-start.h: New file.
2307         * Makefile (headers): Add bits/libc-header-start.h.
2308         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2309         (__GLIBC_USE): New macro.
2310         * libio/stdio.h: Define
2311         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2312         <bits/libc-header-start.h> instead of including <features.h>.
2313         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2314         (open_memstream): Likewise.
2315         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2316         (__asprintf): Likewise.
2317         (asprintf): Likewise.
2318         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2319         (getdelim): Likewise.
2320         (getline): Likewise.
2321         * string/string.h: Define
2322         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2323         <bits/libc-header-start.h> instead of including <features.h>.
2324         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2325         (strndup): Likewise.
2326         * wcsmbs/wchar.h: Define
2327         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2328         <bits/libc-header-start.h> instead of including <features.h>.
2329         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2330         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2332 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2334         Support linking against compatibility symbols, for use in tests.
2335         * include/libc-symbols.h (symbol_version_reference): New macro.
2336         (symbol_version): Use it.
2337         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2338         (compat_symbol): Use compat_symbol_reference.
2339         (compat_symbol_1, compat_symbol_2): Remove.
2340         (compat_symbol_reference, compat_symbol_reference_1)
2341         (compat_symbol_reference_2): New macro.  Use
2342         symbol_version_reference.
2344 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2346         [BZ #19469]
2347         * malloc/Makefile (CPPFLAGS): Compile tests with
2348         -DTEST_NO_MALLOPT.
2349         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2351 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2353         [BZ #20033]
2354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2355         finite version.
2356         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2357         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2358         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2359         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2360         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2362         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2363         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2364         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2366         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2367         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2368         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2369         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2373         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2374         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2375         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2376         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2377         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2378         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2379         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2380         in zero power.
2382 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2384         [BZ #20370]
2385         * malloc/arena.c (get_free_list): Update comment.  Assert that
2386         arenas on the free list have no attached threads.
2387         (remove_from_free_list): New function.
2388         (reused_arena): Call it.
2390 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2392         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2393         when it is a NaN.
2394         [_IEEE_FP_INEXACT] Remove.
2395         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2396         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2397         when it is a NaN.
2398         [_IEEE_FP_INEXACT] Remove.
2399         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2400         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2401         when it is a NaN.
2402         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2403         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2404         when its absolute value is greater than 0x1.0p52.
2405         [_IEEE_FP_INEXACT] Remove.
2406         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2407         when its absolute value is greater than 0x1.0p23.
2408         [_IEEE_FP_INEXACT] Remove.
2410 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2412         * version.h (RELEASE): Set to "development"
2413         (VERSION): Set to 2.24.90.
2414         * NEWS: Add 2.25 section.
2416         * version.h (RELEASE): Set to "stable"
2417         (VERSION): Set to 2.24.
2418         * include/features.h (__GLIBC_MINOR__): Set to 24.
2420         * NEWS: Add 2.24 fixed bugs.
2421         * po/libc.pot: Regenerate.
2423 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2426         [$(subdir) = math] (libm-sysdep_routines): Remove.
2427         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2428         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2429         s_truncf-vis3, s_trunc-vis3.
2430         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2432         file.
2433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2466         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2467         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2468         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2469         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2470         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2471         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2472         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2473         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2474         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2475         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2477 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2479         [BZ #20384]
2480         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2481         test-double-libmvec-sincos-avx-main.o,
2482         test-double-libmvec-sincos-avx2-main.o,
2483         test-double-libmvec-sincos-main.o,
2484         test-float-libmvec-sincosf-avx-main.o,
2485         test-float-libmvec-sincosf-avx2-main.o and
2486         test-float-libmvec-sincosf-main.o.
2487         test-float-libmvec-sincosf-avx512-main.o.
2488         ($(objpfx)test-double-libmvec-sincos): Also link with
2489         $(objpfx)test-double-libmvec-sincos-main.o.
2490         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2491         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2492         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2493         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2494         ($(objpfx)test-float-libmvec-sincosf): Also link with
2495         $(objpfx)test-float-libmvec-sincosf-main.o.
2496         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2497         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2498         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2499         test-double-libmvec-sincos-avx512-main.o and
2500         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2501         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2502         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2503         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2504         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2505         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2506         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2507         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2508         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2509         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2510         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2511         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2512         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2513         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2514         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2515         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2516         -DREQUIRE_AVX2.
2517         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2518         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2519         -DREQUIRE_AVX512F.
2520         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2521         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2522         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2523         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2524         file.
2525         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2526         Likewise.
2527         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2528         Likewise.
2529         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2530         Likewise.
2531         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2532         Likewise.
2533         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2534         Likewise.
2535         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2536         Likewise.
2537         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2538         Likewise.
2540 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2542         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2544 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2546         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2547         and typo in a comment about AT_HWCAP entry.
2549 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2551         * sysdeps/aarch64/libm-test-ulps: Updated.
2553 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2555         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2556         of r13 as it is not restored in mvcle case.
2558 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2560         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2561         Rename "ret" to "__ret".
2562         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2563         inline_syscall5, inline_syscall6): Likewise.
2565 2016-07-19   Will Newton  <will.newton@gmail.com>
2567         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2568         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2569         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2570         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2571         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2573 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2575         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2576         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2577         -mfpmath=387 with $(rtld-CFLAGS).
2578         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2579         $(rtld-CFLAGS).
2581 2016-07-18   Ross Burton  <ross.burton@intel.com>
2582              Khem Raj  <raj.khem@gmail.com>
2584         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2585         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2586         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2587         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2588         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2589         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2590         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2591         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2592         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2593         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2594         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2595         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2596         R_METAG_TLS_DTPOFF): New.
2598 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2599             Matt Clay  <mclay@lycos.com>
2601         [BZ #20357]
2602         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2603         to call __mpsin/__mpcos and to negate values.
2604         * math/auto-libm-test-in: Add test.
2605         * math/auto-libm-test-out: Regenerate.
2607 2016-07-18  Zack Weinberg  <zackw@panix.com>
2609         * grp/Makefile: Don't install the internal header grp-merge.h.
2611 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2613         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2615 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2617         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2619 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2621         [BZ #15368]
2622         * sysdeps/unix/sysv/linux/nptl-signals.h
2623         (__nptl_clear_internal_signals): New function.
2624         (__libc_signal_block_all): Likewise.
2625         (__libc_signal_block_app): Likewise.
2626         (__libc_signal_restore_set): Likewise.
2627         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2628         implementation.
2629         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2630         the cached pid/tid value in pthread structure.
2632 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2634         [BZ #20347]
2635         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2637 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2639         [BZ #20348]
2640         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2641         preadv64, pwrite64 and pwritev64.
2643 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2645         [BZ #20350]
2646         * posix/tst-preadwrite.c: Renamed to ...
2647         * posix/tst-preadwrite-common.c: This.
2648         (PREAD): Removed.
2649         (PWRITE): Likewise.
2650         (STRINGIFY): Likewise.
2651         (STRINGIFY2): Likewise.
2652         (do_prepare): Make it static and remove function arguments.
2653         (do_test): Likewise.
2654         (PREPARE): Updated.
2655         (TEST_FUNCTION): New.
2656         (name): Make it static.
2657         (fd): Likewise.
2658         (do_prepare): Use create_temp_file.
2659         (do_test): Renamed to ...
2660         (do_test_with_offset): This.  Make it static and accept offset.
2661         Properly check return value of PWRITE and PREAD.  Return bytes
2662         read.  Don't close fd nor unlink name.
2663         * posix/tst-preadwrite.c: Rewrite.
2664         * posix/tst-preadwrite64.c: Likewise.
2666 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2668         [BZ #20309]
2669         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2670         -mtls-dialect=gnu2 works.
2671         * configure: Regenerated.
2672         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2673         (tests): Add tst-gnu2-tls1.
2674         (modules-names): Add tst-gnu2-tls1mod.
2675         ($(objpfx)tst-gnu2-tls1): New.
2676         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2677         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2678         * elf/tst-gnu2-tls1.c: New file.
2679         * elf/tst-gnu2-tls1mod.c: Likewise.
2680         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2681         bytes for push in the PLT entry to align the stack.
2683 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2685         [BZ #20349]
2686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2688 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2690         [BZ #18707]
2691         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2692         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2694 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2696         * sysdeps/unix/sysv/linux/sysdep.h
2697         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2698         guards.
2699         * misc/tst-preadvwritev-common.c: New file.
2700         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2701         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2702         a check for files larger than 2GB.
2704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2705         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2706         * sysdeps/unix/sysv/linux/pread.c
2707         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2708         __OFF_T_MATCHES_OFF64_T.
2709         * sysdeps/unix/sysv/linux/pread64.c
2710         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2711         * sysdeps/unix/sysv/linux/preadv.c
2712         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2713         * sysdeps/unix/sysv/linux/preadv64.c
2714         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2715         * sysdeps/unix/sysv/linux/pwrite.c
2716         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2717         * sysdeps/unix/sysv/linux/pwrite64.c
2718         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2719         * sysdeps/unix/sysv/linux/pwritev.c
2720         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2721         * sysdeps/unix/sysv/linux/pwritev64.c
2722         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2724 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2727         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2729 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2731         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2733 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2735         [BZ #20240]
2736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2737         (CFLAGS-s_modf-ppc32.c): New variable.
2738         (CFLAGS-s_modff-ppc32.c): Likewise.
2739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2740         (CFLAGS-s_modf-ppc64.c): Likewise.
2741         (CFLAGS-s_modff-ppc64.c): Likewise.
2743 2016-07-07  Andreas Schwab  <schwab@suse.de>
2745         [BZ #20263]
2746         * nptl/tst-robust10.c: New test.
2747         * nptl/Makefile (tests): Add tst-robust10.
2749 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2751         [BZ #20263]
2752         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2754 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2756         * sysdeps/s390/linkmap.h (struct link_map_machine):
2757         Remove member gotplt and add member jmprel.
2758         * sysdeps/s390/s390-32/dl-machine.h
2759         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2760         instead of gotplt with &got[3].
2761         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2762         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2764 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2766         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2768 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2770         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2771         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2772         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2773         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2774         * libio/vtables.c (_IO_vtable_check)
2775         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2776         * libio/libioP.h (IO_set_accept_foreign_vtables)
2777         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2779 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2781         [BZ #20314]
2782         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2783         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2784         $(common-objpfx)cmath.
2785         ($(common-objpfx)cstdlib): New target.
2786         ($(common-objpfx)cmath): Likewise.
2788 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2790         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2792 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2794         [BZ #20327]
2795         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2796         are not part of the string.
2798 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2800         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2801         * nptl/tst-cancel4-common.h (fifoname): New variable.
2802         (fifofd): Likewise.
2803         (cl_fifo): New function.
2804         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2805         SIGINT.
2806         (tf_open): Add early cancel test.
2808 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2810         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2812 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2814         * sysdeps/generic/ldsodefs.h
2815         (dl_symbol_visibility_binds_local_p): New inline function.
2816         * elf/dl-addr.c (determine_info): Treat hidden and internal
2817         symbols as local.
2818         * elf/dl-lookup.c (do_lookup_x): Likewise.
2819         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2821 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2823         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2824         invalid exception for a sNaN input.
2825         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2826         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2827         (__nearbyint_vis3): Likewise
2828         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2829         (__nearbyintf_vis3): Likewise
2830         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2831         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2832         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2833         Likewise.
2834         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2835         Likewise.
2837 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2839         [BZ #20139]
2840         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2841         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2842         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2843         2.24 or above.
2844         (HAVE_AVX512_ASM_SUPPORT): Removed.
2845         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2846         * sysdeps/x86_64/configure: Regenerated.
2847         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2848         check unconditional.
2849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2850         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2851         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2852         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2853         Likewise.
2854         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2855         Likewise.
2856         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2857         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2858         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2859         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2860         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2861         Likewise.
2862         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2863         Likewise.
2864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2867         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2868         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2869         Likewise.
2870         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2871         Likewise.
2872         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2873         Likewise.
2874         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2875         Likewise.
2876         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2877         Likewise.
2878         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2879         Likewise.
2880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2881         Likewise.
2882         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2883         Likewise.
2884         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2885         Likewise.
2886         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2887         Likewise.
2888         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2889         Likewise.
2891 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2893         [BZ #20024]
2894         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2896         of this implementation of vector function.
2897         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2898         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2900         Likewise.
2901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2903         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2904         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2905         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2906         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2907         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2908         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2909         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2910         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2911         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2912         for testing vector sincos with fixed ABI.
2913         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2914         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2915         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2916         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2917         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2918         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2919         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2920         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2921         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2922         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2923         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2924         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2925         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2926         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2927         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2928         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2930 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2932         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2934 2016-06-30  Anton Blanchard  <anton@samba.org>
2936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2937         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2938         s_sinf-ppc64.
2939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2942         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2944 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2948         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2949         e_expf-ppc64.
2950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2953         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2955 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2957         [BZ #20277]
2958         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2959         when SHARED is defined.
2961 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2963         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2964         (index_arch_Prefer_ERMS): Likewise.
2965         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2966         __memcpy_erms for Prefer_ERMS.
2967         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2968         (__memmove_erms): Enabled for libc.a.
2969         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2970         __memmove_erms or Prefer_ERMS.
2971         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2972         __mempcpy_erms for Prefer_ERMS.
2973         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2974         __memset_erms for Prefer_ERMS.
2976 2016-06-30  Andreas Schwab  <schwab@suse.de>
2978         [BZ #20262]
2979         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2980         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2981         of memory.
2983 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2985         [BZ #18645]
2986         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2987         (test-extras): Add tst-cleanupx4aux.
2988         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2989         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2990         tst-cleanupx4aux.o.
2991         * nptl/tst-cleanupx4aux.c: New file.
2993 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2995         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2997 2016-06-29  Andreas Schwab  <schwab@suse.de>
2999         [BZ #20260]
3000         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3001         address before the beginning of the string as an integer to avoid
3002         array-bounds warning.
3004 2016-06-28  Richard Henderson  <rth@redhat.com>
3006         * elf/elf.h (EM_BPF): New.
3007         (EM_NUM): Update.
3008         (R_BPF_NONE, R_BPF_MAP_FD): New.
3010         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3011         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3012         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3013         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3014         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3015         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3016         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3017         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3018         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3019         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3020         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3021         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3022         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3023         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3024         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3025         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3026         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3027         (EM_NUM): Update.
3029 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3031         [BZ #18960]
3032         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3033         Set _nl_current_LC_CATEGORY_used to two instead of one.
3035 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3037         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3038         (do_test): ... this.
3039         (TEST_FUNCTION): New macro.
3040          Include test-skeleton.c.
3041         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3042         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3044 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3046         [BZ #15479]
3047         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3048         floating-point environment rather than just control word.
3049         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3050         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3051         floating-point environment, with "invalid" exceptions merged in,
3052         rather than just control word.
3053         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3054         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3055         "inexact" exceptions.
3057         [BZ #15479]
3058         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3059         floating-point environment rather than just control word.
3060         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3061         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3062         floating-point environment, with "invalid" exceptions merged in,
3063         rather than just control word.
3064         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3065         * math/libm-test.inc (floor_test_data): Do not allow spurious
3066         "inexact" exceptions.
3068         [BZ #15479]
3069         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3070         floating-point environment rather than just control word.
3071         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3072         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3073         floating-point environment, with "invalid" exceptions merged in,
3074         rather than just control word.
3075         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3076         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3077         "inexact" exceptions.
3079 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3081         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3082         __libc_vfork.
3083         (__vfork) [IS_IN (libc)]: Remove alias.
3084         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3085         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3086         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3088 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3090         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3091         of atomic_compare_and_exchange_bool_rel.
3092         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3093         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3094         catomic_compare_and_exchange_bool_rel): Remove.
3095         * sysdeps/aarch64/atomic-machine.h
3096         (atomic_compare_and_exchange_bool_rel): Likewise.
3097         * sysdeps/alpha/atomic-machine.h
3098         (atomic_compare_and_exchange_bool_rel): Likewise.
3099         * sysdeps/arm/atomic-machine.h
3100         (atomic_compare_and_exchange_bool_rel): Likewise.
3101         * sysdeps/mips/atomic-machine.h
3102         (atomic_compare_and_exchange_bool_rel): Likewise.
3103         * sysdeps/microblaze/atomic-machine.h
3104         ( __arch_compare_and_exchange_bool_8_rel,
3105         __arch_compare_and_exchange_bool_16_rel): Likewise.
3106         * sysdeps/powerpc/atomic-machine.h
3107         ( __arch_compare_and_exchange_bool_8_rel,
3108         __arch_compare_and_exchange_bool_16_rel): Likewise.
3109         * sysdeps/powerpc/powerpc32/atomic-machine.h
3110         ( __arch_compare_and_exchange_bool_32_rel,
3111         __arch_compare_and_exchange_bool_64_rel): Likewise.
3112         * sysdeps/powerpc/powerpc64/atomic-machine.h
3113         ( __arch_compare_and_exchange_bool_32_rel,
3114         __arch_compare_and_exchange_bool_64_rel): Likewise.
3115         * sysdeps/tile/atomic-machine.h
3116         (atomic_compare_and_exchange_bool_rel): Likewise.
3118 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3120         [BZ #20296]
3121         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3122         when either argument is a NaN.
3123         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3124         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3126         * math/libm-test.inc (snan_value_ld): New macro.
3127         (isgreater_test_data): Add sNaN tests.
3128         (isgreaterequal_test_data): Likewise.
3129         (isless_test_data): Likewise.
3130         (islessequal_test_data): Likewise.
3131         (islessgreater_test_data): Likewise.
3132         (isunordered_test_data): Likewise.
3133         (nextafter_test_data): Likewise.
3134         (nexttoward_test_data): Likewise.
3135         (remainder_test_data): Likewise.
3136         (remquo_test_data): Likewise.
3137         (significand_test_data): Likewise.
3138         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3140 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3142         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3143         environment macros are defined.
3144         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3146 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3148         [BZ #20191]
3149         Implement vtable verification in libio.
3150         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3151         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3152         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3153         _IO_new_file_init_internal instead of _IO_file_init.
3154         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3155         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3156         * libio/Makefile (routines): Add vtables.
3157         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3158         (_IO_init): Remove, not for internal use.
3159         (_IO_init_internal): Declare, internal replacement for _IO_init.
3160         (_IO_file_init): Remove, not for internal use.
3161         (_IO_new_file_init): Remove, not for internal use.
3162         (_IO_new_file_init_internal): Declare, internal replacement for
3163         _IO_new_file_init.
3164         (_IO_old_file_init): Remove, not for internal use.
3165         (_IO_old_file_init_internal): Declare, internal replacement for
3166         _IO_old_file_init.
3167         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3168         internal use.
3169         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3170         Declare.
3171         (libio_vtable): New macro.
3172         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3173         functions.
3174         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3175         _IO_new_file_init.
3176         (_IO_new_file_init): New externally visible wrapper which disables
3177         vtable verification.
3178         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3179         Define as vtables.
3180         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3181         (_IO_init): New externally visible wrapper which disables
3182         vtable verification.
3183         * libio/iofdopen.c (_IO_new_fdopen): Call
3184         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3185         comment.
3186         * libio/iofopen.c (__fopen_internal): Call
3187         _IO_new_file_init_internal instead of _IO_file_init.
3188         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3189         Define as vtables.
3190         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3191         _IO_new_file_init_internal instead of _IO_file_init.
3192         * libio/iopopen.c (_IO_new_popen): Likewise.
3193         (_IO_proc_jumps): Define as vtable.
3194         * libio/iovdprintf.c (_IO_vdprintf): Call
3195         _IO_new_file_init_internal instead of _IO_file_init.
3196         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3197         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3198         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3199         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3200         _IO_old_file_init.
3201         (_IO_old_file_init): New externally visible wrapper which disables
3202         vtable verification.
3203         (_IO_old_file_jumps): Define as vtable.
3204         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3205         _IO_old_file_init_internal instead of _IO_old_file_init.
3206         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3207         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3208         (_IO_old_proc_jumps): Define as vtable.
3209         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3210         Define as vtables.
3211         * libio/vtables.c: New file.
3212         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3213         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3214         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3215         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3216         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3217         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3218         instead of _IO_init.
3220 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3222         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3224 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3226         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3227         potentially unused.
3229 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3231         * test-skeleton.c (write_message): New function.
3232         * malloc/tst-mallocfork2.c (write_message): Remove.
3233         * debug/tst-longjmp_chk2.c (write_indented): New function.
3234         (write_message): Remove.
3235         (stackoverflow_handler): Call write_indented.
3237 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3239         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3240         "inexact" exceptions after fnstenv.
3241         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3242         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3243         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3245 2015-06-22  Zack Weinberg  <zackw@panix.com>
3247         * sysdeps/generic/bits/hwcap.h: Moved to ...
3248         * bits/hwcap.h: Here.
3250 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3252         * sysdeps/aarch64/memcpy.S (memcpy):
3253         Further tuning for performance.
3255 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3257         [BZ #20284]
3258         * malloc/arena.c (reused_arena): Do not return NULL if we start
3259         out with a non-corrupted arena.
3261 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3263         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3264         * misc/tst-preadvwritev.c: New file.
3265         * misc/tst-preadvwritev64.c: Likewise.
3266         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3267         usage.
3268         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3269         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3270         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3271         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3273 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3275         [BZ #19654]
3276         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3277         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3278         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3279         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3280         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3281         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3282         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3283         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3284         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3285         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3286         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3287         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3288         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3289         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3290         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3291         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3292         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3293         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3294         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3295         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3296         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3297         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3298         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3299         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3300         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3301         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3303 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3305         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3306         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3308 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3310         * sysdeps/aarch64/memcpy.S (memcpy):
3311         Rewrite of optimized memcpy and memmove.
3312         * sysdeps/aarch64/memmove.S (memmove): Remove
3313         memmove code (merged into memcpy.S).
3315 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3317         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3318         * sysdeps/generic/dl-dtv.h: New file.
3319         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3320         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3321         (dtv_t): Remove.
3322         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3323         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3324         (dtv_t): Remove.
3325         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3326         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3327         (dtv_t): Remove.
3328         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3329         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3330         (dtv_t): Remove.
3331         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3332         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3333         (dtv_t): Remove.
3334         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3335         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3336         (dtv_t): Remove.
3337         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3338         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3339         (dtv_t): Remove.
3340         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3341         (dtv_t): Remove.
3342         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3343         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3344         (dtv_t): Remove.
3345         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3346         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3347         (dtv_t): Remove.
3348         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3349         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3350         (dtv_t): Remove.
3351         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3352         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3353         (dtv_t): Remove.
3354         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3355         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3356         (dtv_t): Remove.
3357         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3358         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3359         (dtv_t): Remove.
3360         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3361         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3362         (dtv_t): Remove.
3363         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3364         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3365         (dtv_t): Remove.
3367 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3369         Revert symbol poisoning of  __malloc_initialize_hook.
3370         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3371         poisoning.
3372         * malloc/Makefile: Remove un-poisoning.
3373         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3374         instead of old__malloc_initialize_hook.
3375         * malloc/malloc-hooks.h: Likewise.
3376         * malloc/malloc.c: Likewise.
3377         * malloc/mcheck-init.c: Likewise.
3379 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3381         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3383 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3385         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3386         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3387         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3388         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3390 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3392         * NEWS: Mention addition of nextup and nextdown.
3393         * manual/arith.texi: Document nextup and nextdown.
3394         * manual/libm-err-tab.pl: Add nextup and nextdown.
3395         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3396         * math/Versions (libm): Add GLIBC_2.24.
3397         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3398         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3399         Add new test.
3400         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3401         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3402         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3403         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3404         (nextup_test_data): Likewise.
3405         (nextdown_test_data): Likewise.
3406         * math/s_nextdown.c: New file.
3407         * math/s_nextdownf.c: Likewise.
3408         * math/s_nextdownl.c: Likewise.
3409         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3410         F(nextup): New function.
3411         F(nextdown): Likewise.
3412         * math/tgmath.h: Add nextup and nextdown.
3413         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3414         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3415         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3416         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3417         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3418         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3419         Add nextup and nextdown.
3420         (CFLAGS-nldbl-nextup.c): New variable.
3421         (CFLAGS-nldbl-nextdown.c): Likewise.
3422         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3423         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3424         * sysdeps/nacl/libm.abilist: Update.
3425         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3426         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3427         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3428         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3429         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3430         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3431         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3432         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3433         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3434         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3435         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3436         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3439         Likewise.
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3442         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3443         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3444         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3445         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3446         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3450         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3451         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3452         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3454 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3456         * manual/pattern.texi: Fix typos & grammar errors.
3458 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3460         * manual/search.texi: Fix typos & grammar errors.
3462 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3464         * manual/message.texi: Fix typos & grammar errors.
3466 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3468         * manual/contrib.texi: Fix spelling typos.
3469         * manual/crypt.texi: Likewise.
3470         * manual/filesys.texi: Likewise.
3471         * manual/locale.texi: Likewise.
3472         * manual/message.texi: Likewise.
3473         * manual/nss.texi: Likewise.
3474         * manual/string.texi: Likewise.
3476 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3478         * manual/locale.texi: Fix typos & grammar errors.
3480 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3482         * manual/charset.texi: Fix typos & grammar errors.
3484 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3486         * manual/string.texi: Fix typos.
3488 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3490         * manual/ctype.texi: Fix typos.
3492 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3494         * manual/memory.texi: Fix various typos & grammar errors.
3496 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3498         [BZ #20255]
3499         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3500         * math/libm-test.inc (fdim_test_data): Add another test.
3502         [BZ #6796]
3503         [BZ #20255]
3504         [BZ #20256]
3505         * math/s_fdim.c: Include <math_private.h>.
3506         (__fdim): Use math_narrow_eval on result.
3507         * math/s_fdimf.c: Include <math_private.h>.
3508         (__fdimf): Use math_narrow_eval on result.
3509         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3510         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3511         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3512         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3513         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3514         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3515         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3516         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3517         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3518         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3519         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3520         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3521         overflow.  Add sNaN tests.
3523         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3524         fpclassify.
3525         * math/s_fdimf.c (__fdimf): Likewise.
3526         * math/s_fdiml.c (__fdiml): Likewise.
3528 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3530         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3531         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3533         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3534         ifunc'ed strcasecmp/strncasecmp.
3535         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3536         [EALIGN]: Removed.
3537         [END]: Likewise.
3538         [__strcasecmp]: Define instead of the above to control symbol name.
3539         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3540         for __strcasecmp_power8.
3541         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3542         for __strncasecmp_power8.
3543         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3544         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3545         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3546         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3547         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3548         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3550 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3552         [BZ #20252]
3553         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3554         arguments when second argument is a NaN.
3555         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3556         qNaN tests.
3558         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3559         (conj_test_data): Likewise.
3560         (copysign_test_data): Likewise.
3561         (creal_test_data): Likewise.
3562         (fma_test_data): Likewise.
3563         (fmod_test_data): Likewise.
3565         [BZ #20250]
3566         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3567         itself.
3568         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3569         zero input to itself.
3570         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3571         Likewise.
3572         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3573         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3574         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3575         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3576         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3578 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3580         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3581         * nptl/tst-cancel4-common.c: New file.
3582         * nptl/tst-cancel4-common.h: Likewise.
3583         * nptl/tst-cancel4.c: Move common definitions to
3584         tst-cancel4-common.{c,h} file.
3585         * nptl/tst-cancel4_1.c: New test.
3586         * nptl/tst-cancel4_2.c: New test.
3588 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3590         [BZ #20248]
3591         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3592         (write_message): New function.
3593         (stackoverflow_handler): Call it instead of printf, to avoid
3594         excessive stack usage by printf.
3595         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3597 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3599         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3600         (prio_inherit_missing): Remove define.
3601         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3602         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3603         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3604         Likewise.
3605         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3606         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3607         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3608         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3609         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3610         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3612 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3614         [BZ #19670]
3615         [BZ #19672]
3617         * io/test-lfs.c (do_prepare): Use xmalloc.
3618         * io/tst-fcntl.c (do_prepare): Likewise.
3619         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3620         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3621         * login/tst-utmp.c (do_prepare): Likewise.
3622         * posix/tst-exec.c (do_prepare): Likewise.
3623         * posix/tst-pathconf.c (prepare): Likewise.
3624         * posix/tst-spawn.c (do_prepare): Likewise.
3625         * posix/tst-truncate.c (do_prepare): Likewise.
3626         * rt/tst-aio.c (do_prepare): Likewise.
3627         * rt/tst-aio64.c (do_prepare): Likewise.
3629 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3631         [BZ #20237]
3632         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3633         (get*ent): Set entidx to NULL during initialization.  If entidx is
3634         NULL, start iteration from the beginning.
3636 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3638         * malloc/malloc.c (musable): Return correct size for dumped fake
3639         mmapped chunk.
3641 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3643         [BZ #20222]
3644         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3645         (_IO_cookie_write): Likewise.
3646         (_IO_cookie_seek): Likewise.
3647         (_IO_cookie_close): Likewise.
3648         (_IO_old_cookie_seek): Likewise.
3649         (set_callbacks): New function.
3650         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3652 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3654         * locale/programs/localedef.c (oldstyle_tables): Remove.
3655         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3657 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3659         [BZ #20240]
3660         * math/Makefile (CFLAGS-s_modf.c): New variable.
3661         (CFLAGS-s_modff.c): Likewise.
3662         (CFLAGS-s_modfl.c): Likewise.
3663         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3665 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3667         [BZ #20215]
3668         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3669         [!__GNUC_PREREQ (3,2)]: Likewise.
3671 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3673         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3674         (msghdr.msg_controllen): Likewise.
3675         (cmsghdr.cmsg_len): Likewise.
3676         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3677         ptw-oldsendmsg.
3678         (CFLAGS-oldrecvmsg.c): Remove rule.
3679         (CFLAGS-oldsendmsg.c): Likewise.
3680         (CFLAGS-recvmsg.c): Add rule.
3681         (CFLAGS-sendmsg.c): Likewise.
3682         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3683         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3684         (CFLAGS-recvmsg.c): Remove rule.
3685         (CFLAGS-sendmsg.c): Likewise.
3686         (CFLAGS-oldrecvmsg.c): Likewise.
3687         (CFLAGS-oldsendmsg.c): Likewise.
3688         (CFLAGS-recvmmsg.c): Likewise.
3689         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3690         to kernel defined interfaces.
3691         (msghdr.msg_controllen): Likewise.
3692         (cmsghdr.cmsg_len): Likewise.
3693         (msghdr.__glibc_reserved1): Remove member.
3694         (msghdr.__glibc_reserved2): Likewise.
3695         (cmsghdr.__glibc_reserved1): Likewise.
3696         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3697         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3698         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3699         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3700         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3701         version.
3702         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3703         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3704         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3705         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3706         Remove recvmsg and sendmsg.
3707         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3708         Likewise.
3709         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3710         Likewise.
3711         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3712         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3713         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3716         Likewise.
3717         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3718         [libc] (GLIBC_2.24): Likewise.
3719         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3720         Likewise.
3721         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3722         Likewise.
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3724         [libc] (GLIBC_2.24): Likewise.
3725         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3726         Likewise.
3727         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3728         Likewise.
3729         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3730         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3731         Likewise.
3732         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3733         Likewise.
3734         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3735         Likewise.
3736         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3737         Likewise.
3738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3739         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3740         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3741         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3742         version for {recv,send,recm,sendm}msg.
3743         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3744         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3745         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3746         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3747         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3748         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3749         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3750         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3751         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3752         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3753         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3754         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3756         Likewise.
3757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3758         Likewise.
3759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3761         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3762         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3763         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3764         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3765         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3769         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3770         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3771         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3773 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3775         [BZ #19564]
3776         Remove __malloc_initialize_hook from the API.
3777         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3778         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3779         #pragma GCC poison.
3780         * malloc/malloc-hooks.h: New file.
3781         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3782         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3783         (old__malloc_initialize_hook): Rename from
3784         __malloc_initialize_hook to evade poisoning.  Turn into compat
3785         symbol.
3786         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3787         __malloc_initialize_hook.
3788         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3789         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3790         * manual/memory.texi (Hooks for Malloc): Remove
3791         __malloc_initialize_hook.  Adjust hook example.
3793 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3795         [BZ #20235]
3796         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3797         itself.
3798         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3799         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3801         [BZ #20234]
3802         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3803         infinity or NaN input to itself.
3805         [BZ #20233]
3806         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3807         to itself.
3809         [BZ #20232]
3810         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3811         itself.
3813 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3815         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3816         __libc_start_main via GOT.
3818 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3820         * sysdeps/x86_64/memcopy.h: New file.
3821         * sysdeps/x86_64/wordcopy.c: Likewise.
3823 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3825         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3826         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3827         <cstdlib>.
3828         (optimization_barrier): New.
3829         (do_test): Use it.  Call quick_exit in the global namespace.
3830         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3831         instead of <cstdlib>, <thread>.
3832         (optimization_barrier): New.
3833         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3834         Call quick_exit in the global namespace.
3835         (do_test): Call optimization_barrier.  Use pthread_create,
3836         pthread_join instead of std::thread.
3838 2016-06-09  Andreas Schwab  <schwab@suse.de>
3840         [BZ #19755]
3841         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3842         new entries in auto-propagate mode.
3843         * nscd/grpcache.c (cache_addgr): Likewise.
3845 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3847         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3848         New functions.
3849         (add_temp_file): Use them.
3851 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3853         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3855 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3857         [BZ #20229]
3858         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3859         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3860         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3862         [BZ #20228]
3863         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3864         itself.
3865         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3866         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3868         [BZ #20227]
3869         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3870         itself.
3871         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3872         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3873         * math/libm-test.inc (log_test_data): Add sNaN tests.
3875         [BZ #20226]
3876         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3877         itself.
3878         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3879         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3880         (exp10_test_data): Likewise.
3881         (expm1_test_data): Likewise.
3883         [BZ #20225]
3884         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3885         itself.
3886         * math/s_ldexpf.c (__ldexpf): Likewise.
3887         * math/s_ldexpl.c (__ldexpl): Likewise.
3888         * math/w_scalbln.c (__w_scalbln): Likewise.
3889         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3890         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3891         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3892         (scalbln_test_data): Likewise.
3894         [BZ #20224]
3895         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3896         argument to itself.
3897         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3899 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3901         [BZ #19776]
3902         * sysdeps/x86_64/memcpy.S: Make it dummy.
3903         * sysdeps/x86_64/mempcpy.S: Likewise.
3904         * sysdeps/x86_64/memmove.S: New file.
3905         * sysdeps/x86_64/memmove_chk.S: Likewise.
3906         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3907         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3908         * sysdeps/x86_64/memmove.c: Removed.
3909         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3910         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3911         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3912         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3913         Likewise.
3914         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3915         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3917         memcpy-sse2-unaligned, memmove-avx-unaligned,
3918         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3920         (__libc_ifunc_impl_list): Replace
3921         __memmove_chk_avx512_unaligned_2 with
3922         __memmove_chk_avx512_unaligned.  Remove
3923         __memmove_chk_avx_unaligned_2.  Replace
3924         __memmove_chk_sse2_unaligned_2 with
3925         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3926         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3927         with __memmove_avx512_unaligned.  Replace
3928         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3929         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3930         with __memcpy_chk_avx512_unaligned.  Remove
3931         __memcpy_chk_avx_unaligned_2.  Replace
3932         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3933         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3934         Replace __memcpy_avx512_unaligned_2 with
3935         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3936         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3937         with __mempcpy_chk_avx512_unaligned.  Remove
3938         __mempcpy_chk_avx_unaligned_2.  Replace
3939         __mempcpy_chk_sse2_unaligned_2 with
3940         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3941         Replace __mempcpy_avx512_unaligned_2 with
3942         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3943         Replace __mempcpy_sse2_unaligned_2 with
3944         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3945         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3946         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3947         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3948         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3949         (ENTRY): Removed.
3950         (END): Likewise.
3951         (ENTRY_CHK): Likewise.
3952         (libc_hidden_builtin_def): Likewise.
3953         Don't include ../memcpy.S.
3954         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3955         __memcpy_chk_avx512_unaligned_erms and
3956         __memcpy_chk_avx512_unaligned.  Use
3957         __memcpy_chk_avx_unaligned_erms and
3958         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3959         Default to __memcpy_chk_sse2_unaligned.
3960         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3961         Change function suffix from unaligned_2 to unaligned.
3962         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3963         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3964         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3965         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3966         (ENTRY): Removed.
3967         (END): Likewise.
3968         (ENTRY_CHK): Likewise.
3969         (libc_hidden_builtin_def): Likewise.
3970         Don't include ../mempcpy.S.
3971         (mempcpy): New.  Add a weak alias.
3972         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3973         __mempcpy_chk_avx512_unaligned_erms and
3974         __mempcpy_chk_avx512_unaligned.  Use
3975         __mempcpy_chk_avx_unaligned_erms and
3976         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3977         Default to __mempcpy_chk_sse2_unaligned.
3979 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3981         [BZ #19881]
3982         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3983         into ...
3984         * sysdeps/x86_64/memset.S: This.
3985         (__bzero): Removed.
3986         (__memset_tail): Likewise.
3987         (__memset_chk): Likewise.
3988         (memset): Likewise.
3989         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3990         defined.
3991         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3992         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3993         (__memset_zero_constant_len_parameter): Check SHARED instead of
3994         PIC.
3995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3996         memset-avx2 and memset-sse2-unaligned-erms.
3997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3998         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3999         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4000         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4001         (__bzero): Enabled.
4002         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4003         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4004         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4005         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4006         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4007         (memset): Removed.
4008         (__memset_chk): Likewise.
4009         (MEMSET_SYMBOL): New.
4010         (libc_hidden_builtin_def): Replace __memset_sse2 with
4011         __memset_sse2_unaligned.
4012         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4013         __memset_chk_sse2 and __memset_chk_avx2 with
4014         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4015         Use __memset_chk_sse2_unaligned_erms or
4016         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4017         __memset_chk_avx512_unaligned_erms and
4018         __memset_chk_avx512_unaligned.
4020 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4022         * math/gen-auto-libm-test.c (fp_format_desc): remove
4023         suffix member.
4024         (output_generic_value): Remove usage of suffix member,
4025         and the resulting unuse of the fp_format argument.
4026         (output_for_one_input_case): Remove unused fp_format
4027         parameter.
4029         * math/auto-libm-test-out: Regenerate.
4031         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4032         usage with TEST_COND_ibm128.
4033         (TEST_COND_flt_32): Remove.
4034         (TEST_COND_dbl_64): Remove.
4035         (TEST_COND_ldbl_96_intel): Remove.
4036         (TEST_COND_ldbl_96_m68k): Remove.
4037         (TEST_COND_ldbl_128): Remove.
4039 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4041         * auto-libm-test-in:
4042         Replace flt-32 usage with binary32.
4043         Replace dbl-64 usage with binary64.
4044         Replace ldbl-intel-96 usage with intel96.
4045         Replace ldbl-m68k-96 usage with m68k96.
4046         Replace ldbl-128ibm usage with ibm128.
4047         Replace ldbl-128 usage with binary128.
4049         * auto-libm-test-out: Regenerate.
4051 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4053         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4054         (parse_ulps): Dynamically generate type name matching
4055         string from all_floats.
4056         (get_ulps): Generate the ulps as an array instead.
4057         (output_ulps): Dynamically compose the type based
4058         on the number of supported formats, and print
4059         the indices as type specific helper macros.
4061         * math/libm-test.inc: Remove comment about CHOOSE.
4062         (ulp_data): Generate the type in libm-test-ulps.h.
4063         (ULP_IDX): New macro.
4064         (find_ulps): Update usage of max_ulp.
4066         * math/test-double-vlen2.h (CHOOSE): Remove.
4067         * math/test-double-vlen4.h (CHOOSE): Likewise.
4068         * math/test-double-vlen8.h (CHOOSE): Likewise.
4069         * math/test-float.c (CHOOSE): Likewise.
4070         * math/test-float-finite.c (CHOOSE): Likewise.
4071         * math/test-double.c (CHOOSE): Likewise.
4072         * math/test-double-finite.c (CHOOSE): Likewise.
4073         * math/test-idouble.c (CHOOSE): Likewise.
4074         * math/test-ifloat.c (CHOOSE): Likewise.
4075         * math/test-ildoubl.c (CHOOSE): Likewise.
4076         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4077         * math/test-ldouble.c (CHOOSE): Likewise.
4079         * math/test-float.h (TEST_FLOAT): Remove.
4080         * math/test-double.h (TEST_DOUBLE): Likewise.
4081         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4083 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4085         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4086         (parse_args): Strip C suffix from floating point literals
4087         typed with 'f' and wrap them with LIT().
4089         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4090         (test_ff_f_data_nexttoward): Rename to
4091         (test_fj_f_data): New struct.
4092         (nexttoward_test_data): Relabel tests as
4093         TEST_fj_f instead of TEST_ff_f.
4095 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4097         Emacs bug 23726.
4098         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4099         (__libc_realloc): Correct size computation for dumped fake mmapped
4100         chunks.
4102 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4104         [BZ #20219]
4105         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4106         to itself.
4107         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4109         [BZ #20218]
4110         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4111         to itself.
4112         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4114 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4116         [BZ #20195]
4117         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4118         check to ...
4119         (init_cpu_features): Here.
4121 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4123         [BZ #20214]
4124         * sysdeps/unix/sysv/linux/bits/in.h
4125         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4126          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4127         Define to 1.
4128         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4129          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4130         Define to 0.
4131         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4132         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4134 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4136         [BZ #20198]
4137         * stdlib/Makefile (tests): Add tst-quick_exit, and
4138         tst-thread-quick_exit.
4139         [ifeq ($(have-cxx-thread_local),yes)]
4140         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4141         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4142         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4143         (LDLIBS-tst-thread-quick_exit): Likewise.
4144         [ifneq ($(have-cxx-thread_local),yes)]
4145         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4146         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4147         If run_dtors is true call __call_tls_dtors.
4148         (exit): Call __run_exit_handlers with run_dtors set to true.
4149         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4150         definition.
4151         * stdlib/quick_exit.c (quick_exit): Remove function.
4152         (__new_quick_exit): New function.
4153         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4154         function.
4155         * stdlib/tst-quick_exit.cc: New file.
4156         * stdlib/tst-thread-quick_exit.cc: New file.
4157         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4158         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4159         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4160         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4161         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4162         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4163         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4164         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4165         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4166         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4167         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4169         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4170         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4171         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4172         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4177         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4178         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4179         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4180         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4181         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4184         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4185         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4186         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4188 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4190         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4191         a typo in comments.
4193 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4195         [BZ #20213]
4196         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4197         argument to itself.
4198         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4200 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4202         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4203         required flags.
4204         (CFLAGS-pwritev64.c): Likewise.
4205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4207         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4208         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4209         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4210         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4211         syscall from auto-generation.
4212         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4213         [WORDSIZE == 64] (pwritev64): Remove macro.
4214         [!PWRITEV] (PWRITEV): Likewise.
4215         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4216         [!PWRITEV] (PWRITE): Likewise.
4217         [!PWRITEV] (OFF_T): Likewise.
4218         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4219         (LO_HI_LONG): Remove macro.
4220         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4221         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4222         (PWRITEV): Remove macro.
4223         (PWRITEV_REPLACEMENTE): Likewise.
4224         (PWRITE): Likewise.
4225         (OFF_T): Likewise.
4226         (pwritev64): New function.
4227         * nptl/tst-cancel4.c (tf_writev): Add test.
4229         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4230         required flags.
4231         (CFLAGS-preadv64.c): Likewise.
4232         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4233         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4234         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4235         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4236         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4237         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4238         syscall from auto-generation.
4239         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4240         [WORDSIZE == 64] (preadv64): Remove macro.
4241         [!PREADV] (PREADV): Likewise.
4242         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4243         [!PREADV] (PREAD): Likewise.
4244         [!PREADV] (OFF_T): Likewise.
4245         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4246         (LO_HI_LONG): Remove macro.
4247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4248         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4249         (PREADV): Remove macro.
4250         (PREADV_REPLACEMENTE): Likewise.
4251         (PREAD): Likewise.
4252         (OFF_T): Likewise.
4253         (preadv64): New function.
4254         * nptl/tst-cancel4.c (tf_preadv): Add test.
4256 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4258         [BZ #20212]
4259         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4260         argument to itself.
4261         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4263 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4265         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4266         New symbol defined as libc_hidden_def.
4267         (strcasestr): Became a weak alias to __strcasestr.
4268         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4269         according to multi-arch support.  Move __stpncpy hidden
4270         definition from here to...
4271         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4272         symbol stpncpy.
4273         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4274         libc_hidden_builtin_def.
4275         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4276         memset symbol to use when multi-arch support is available.
4278 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4280         * dlfcn/tst-rec-dlopen.c: Include string.h.
4282 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4284         * manual/install.texi: Remove mention of --without-tls
4285         * INSTALL: Regenerate.
4287 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4289         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4290         Remove.
4291         (call_function, interposed_malloc_called): New variables.
4292         (malloc): New function.
4293         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4294         and clear call_function as needed.
4296 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4298         * include/wchar.h (__wmemset): Use __typeof.
4300 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4302         * include/wchar.h (__wmemset): Declare function without typeof.
4304 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4306         [BZ #20205]
4307         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4308         exponent when incrementing negative subnormal with low mantissa
4309         word zero.
4310         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4311         Add another test.
4313 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4315         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4316         __wmemset instead of wmemset.
4318 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4320         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4321         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4322         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4323         __USE_KERNEL_IPV6_DEFS to 0.
4324         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4325         Update comment.
4327 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4329         [BZ #19861]
4330         Do not use IFUNC resolver with potentially unrelocated symbol.
4331         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4332         (DEFINE_FORK): Remove macro and inline definition.
4333         (fork_alias): Renamed from fork_ifunc.
4334         (__fork_alias): Renamed from __fork_ifunc.
4336 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4338         [BZ 19653]
4339         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4340         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4342 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4344         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4345         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4346         i386-linux-gnu).
4347         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4348         Set to no.
4349         * sysdeps/mach/hurd/configure: Refresh.
4351 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4353         [BZ #20178]
4354         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4355         on failure instead of exit.
4357 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4359         [BZ #3629]
4360         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4361         of POSIX.1-2008.
4363 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4365         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4366           Use PLT entry for calling _hurd_self_sigstate.
4368 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4370         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4371         available logical processors with SMT level type sharing L2
4372         cache for Intel processors.
4374 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4376         [BZ #20160]
4377         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4378         argument to itself before returning the result.
4379         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4380         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4381         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4383         Likewise.
4384         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4385         Likewise.
4386         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4387         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4388         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4389         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4390         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4391         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4393         [BZ #20160]
4394         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4395         argument to itself before returning the result.
4396         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4397         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4398         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4399         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4400         Likewise.
4401         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4402         Likewise.
4403         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4404         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4405         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4406         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4407         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4408         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4410 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4412         * libm-test.inc: Replace usage of M_El with
4413         (lit_e): New macro.
4415 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4417         * libm-test.inc: Replace usage of M_PI_4l with
4418         (lit_pi_4_d): New macro.
4420 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4422         * libm-test.inc: Replace usage of M_PIl with
4423         (lit_pi): New macro.
4425 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4427         * libm-test.inc: Replace usage of M_PI2l with
4428         (lit_pi_2_d): New macro.
4430         * math/test-double.h (LITM): New macro.
4431         * math/test-float.h (LITM): Likewise.
4432         * math/test-ldouble.h (LITM): Likewise.
4434 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4436         * libm-test.inc (M_PI_34l): Rename to
4437         (lit_pi_3_m_4_d): New Macro.
4438         (M_PI_34_LOG10El): Rename to
4439         (lit_pi_3_m_4_ln10_m_d): New Macro.
4440         (M_PI2_LOG10El): Rename to
4441         (lit_pi_2_ln10_m_d):  New Macro.
4442         (M_PI4_LOG10El): Rename to
4443         (lit_pi_4_ln10_m_d):  New Macro.
4444         (M_PI_LOG10El): Rename to
4445         (lit_pi_ln10_d):  New Macro.
4447 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4449         [BZ #20157]
4450         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4451         determine whether to negate low half if [_ARCH_PPCGR], and integer
4452         comparison otherwise.
4453         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4454         determine whether to negate low half.
4456         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4457         (NO_TEST_INLINE_DOUBLE): Likewise.
4458         (TEST_COND_x86_64): Likewise.
4459         (TEST_COND_x86): Likewise.
4460         (M_PI_6l): Likewise.
4462 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4464         * math/libm-test.inc:
4465         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4466         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4467         (TEST_LDOUBLE): Update usage to evaluate as true if
4468         the guarded tests match the property being tested.
4469         (LDBL_MAX_EXP): Change to MAX_EXP.
4470         (LDBL_MIN_EXP): Change to MIN_EXP.
4471         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4472         nexttoward tests.
4474 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4476         * math/libm-test.inc:
4477         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4478         (TYPE_MIN): Likewise.
4479         (TYPE_TRUE_MIN): Likewise.
4480         (TYPE_MAX): Likewise.
4481         (MIN_EXP): Likewise.
4482         (MAX_EXP): Likewise.
4483         (MANT_DIG): Likewise.
4485         (FSTR_MAX): New macro.
4486         (__CONCATX): Likewise.
4487         (QTYPE_STR): Likewise.
4488         (TEST_COND_binary32): Likewise.
4489         (TEST_COND_binary64): Likewise.
4490         (TEST_COND_binary128): Likewise.
4491         (TEST_COND_ibm128): Likewise.
4492         (TEST_COND_intel96): Likewise.
4493         (TEST_COND_m68k96): Likewise.
4495         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4496         (TEST_COND_dbl_64): Likewise.
4497         (TEST_COND_ldbl_96_intel): Likewise.
4498         (TEST_COND_ldbl_96_m68k): Likewise.
4499         (TEST_COND_ldbl_128): Likewise.
4500         (TEST_COND_ldbl_128ibm): Likewise.
4502         (plus_zero): Redefine using LIT macro.
4503         (minus_zero): Likewise.
4504         (plus_infty): Redefine as (INF).
4505         (minux_infty): Redefine as (-INF).
4506         (max_value): Redefine as TYPE_MAX.
4507         (min_value): Redefine as TYPE_MIN.
4508         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4510         (print_float): Refactor to use snprintf to convert FLOAT values
4511         to string. This brings it closer to dropin replacement of strtof
4512         for the TS 18661 defined types.
4513         (update_stats): Likewise.
4514         (print_complex_function_ulps): Likewise.
4515         (print_max_error): Likewise.
4516         (print_complex_max_error): Likewise.
4517         (check_float_internal): Likewise.
4519         * math/test-float.h (PREFIX): New macro.
4520         (LIT): Likewise.
4521         (TYPE_STR): Likewise.
4522         (FTOSTR): Likewise.
4524         * math/test-double.h (PREFIX): New macro.
4525         (LIT): Likewise.
4526         (TYPE_STR): Likewise.
4527         (FTOSTR): Likewise.
4529         * math/test-ldouble.h (PREFIX): New macro.
4530         (LIT): Likewise.
4531         (TYPE_STR): Likewise.
4532         (FTOSTR): Likewise.
4534 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4536         [BZ #20156]
4537         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4538         to itself when zero or not finite.
4539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4540         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4541         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4542         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4544 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4546         [BZ #20153]
4547         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4548         x * x + x for infinities and NaNs.
4550         [BZ #20151]
4551         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4552         argument to itself before returning result.
4553         (__ieee754_y0l): Likewise.
4554         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4555         (__ieee754_y1l).
4557         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4558         (atan_test_data): Likewise.
4559         (ceil_test_data): Likewise.
4560         (cos_test_data): Likewise.
4561         (cosh_test_data): Likewise.
4562         (erf_test_data): Likewise.
4563         (exp2_test_data): Likewise.
4564         (fabs_test_data): Likewise.
4565         (floor_test_data): Likewise.
4566         (ilogb_test_data): Likewise.
4567         (j0_test_data): Likewise.
4568         (j1_test_data): Likewise.
4569         (jn_test_data): Likewise.
4570         (lgamma_test_data): Likewise.
4571         (lrint_test_data): Likewise.
4572         (llrint_test_data): Likewise.
4573         (logb_test_data): Likewise.
4574         (lround_test_data): Likewise.
4575         (llround_test_data): Likewise.
4576         (nearbyint_test_data): Likewise.
4577         (rint_test_data): Likewise.
4578         (round_test_data): Likewise.
4579         (sin_test_data): Likewise.
4580         (sincos_test_data): Likewise.
4581         (sinh_test_data): Likewise.
4582         (sqrt_test_data): Likewise.
4583         (tan_test_data): Likewise.
4584         (tanh_test_data): Likewise.
4585         (tgamma_test_data): Likewise.
4586         (trunc_test_data): Likewise.
4587         (y0_test_data): Likewise.
4588         (y1_test_data): Likewise.
4589         (yn_test_data): Likewise.
4591         * math/libm-test.inc: Update comment about NaN testing.
4592         (TEST_SNAN): New macro.
4593         (snan_value): Likewise.
4594         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4595         (fpclassify_test_data): Add sNaN tests.
4596         (isfinite_test_data): Likewise.
4597         (isinf_test_data): Likewise.
4598         (isnan_test_data): Likewise.
4599         (isnormal_test_data): Likewise.
4600         (issignaling_test_data): Likewise.
4601         (signbit_test_data): Likewise.
4602         * math/gen-libm-test.pl (%beautify): Add snan_value.
4603         (show_exceptions): Add argument $test_snan.
4604         (parse_args): Handle snan_value as non-finite.  Update call to
4605         show_exceptions.
4606         * math/Makefile (libm-test-no-inline-cflags): Add
4607         -fsignaling-nans.
4609 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4611         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4612         (CFLAGS-oldsendmsg.c): Add rule.
4613         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4614         Correct recvmsg symbol name.
4615         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4616         Likewise.
4618 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4620         * sysdeps/unix/sysv/linux/Makefile
4621         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4622         oldsendmmsg.
4623         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4624         sendmmsg.
4625         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4626         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4628         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4631         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4633         Likewise.
4634         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4635         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4636         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4637         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4638         iovlen and controllen fields to adjust to POSIX specification.
4639         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4641         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4642         and change to correct expected type.
4643         (msghdr.msg_controllen): Likewise.
4644         (cmsghdr.cmsg_len): Likewise.
4645         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4646         expected POSIX assumption about the size.
4647         (msghdr.msg_controllen): Likewise.
4648         (msghdr.__glibc_reserved1): Likewise.
4649         (msghdr.__glibc_reserved2): Likewise.
4650         (cmsghdr.cmsg_len): Likewise.
4651         (cmsghdr.__glibc_reserved1): Likewise.
4652         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4653         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4654         (CFLAGS-sendmsg.c): Remove rule.
4655         (CFLAGS-recvmsg.c): Likewise.
4656         (CFLAGS-oldsendmsg.c): Add rule.
4657         (CFLAGS-oldrecvmsg.c): Likewise.
4658         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4659         recvmsg and sendmsg.
4660         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4661         Likewise.
4662         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4663         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4664         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4665         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4666         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4667         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4668         Likewise.
4669         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4670         Likewise.
4671         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4672         Likewise.
4673         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4674         Likewise.
4675         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4676         Likewise.
4677         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4678         Likewise.
4679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4680         (GLIBC_2.24): Likewise.
4681         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4682         Likewise.
4683         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4684         Likewise.
4685         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4686         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4687         Likewise.
4688         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4689         Likewise.
4690         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4691         Likewise.
4692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4693         (GLIBC_2.24): Likewise.
4694         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4695         Likewise.
4696         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4697         Likewise.
4698         * sysdeps/unix/sysv/linux/Makefile
4699         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4700         (CFLAGS-sendmsg.c): Add rule.
4701         (CFLAGS-recvmsg.c): Likewise.
4702         (CFLAGS-oldsendmsg.c): Likewise.
4703         (CFLAGS-oldrecvmsg.c): Likewise.
4704         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4705         initialization.
4706         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4707         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4708         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4709         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4710         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4711         iovlen and controllen fields to adjust to POSIX specification.
4712         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4713         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4714         added recvmsg and sendmsg.
4715         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4716         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4717         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4718         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4719         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4720         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4721         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4722         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4723         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4724         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4725         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4726         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4728         Likewise.
4729         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4731         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4732         Likewise.
4733         Likewise.
4734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4735         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4736         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4737         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4738         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4739         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4741         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4743         Likewise.
4744         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4745         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4747         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4748         from auto-generation.
4749         (sendmsg): Likewise.
4750         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4751         (sendmsg): Likewise.
4752         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4753         (sendmsg): Likewise.
4754         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4755         (sendmsg): Likewise.
4756         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4757         (sendmsg): Likewise.
4758         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4759         (sendmsg): Likewise.
4760         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4761         Likewise.
4762         (sendmsg): Likewise.
4763         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4764         (sendmsg): Likewise.
4765         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4766         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4767         Remove.
4768         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4769         Likewise.
4770         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4771         Undefine.
4772         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4773         Likewise.
4774         * sysdeps/unix/sysv/linux/kernel-features.h
4775         (__ASSUME_SENDMSG_SYSCALL): Define.
4776         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4777         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4779         Remove.
4780         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4781         Likewise.
4782         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4783         Undefine.
4784         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4785         Likewise.
4786         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4788         Remove.
4789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4790         Likewise.
4791         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4792         Undefine.
4793         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4794         Likewise.
4795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4796         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4797         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4798         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4799         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4800         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4801         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4802         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4803         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4805 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4807         * stdlib/gen-tst-strtod-round.c: Add backslash to
4808         compile command in comment.
4809         (printfp): Remove the literal suffix, and define an infinite
4810         value as INF to avoid expansion clash with INFINITY.
4811         (round_str): Remove the literal suffix.
4812         (round_for_all): Likewise, remove the now duplicate ldbl-64
4813         entry, and remove some magic constants.
4815         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4816         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4817         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4818         (_CONCAT): New macro.
4819         (CONCAT): Likewise.
4820         (CHOOSE_ld): Likewise.
4821         (CHOOSE_f): Likewise.
4822         (CHOOSE_d): Likewise.
4823         (FTYPE_MEMBER): Likewise.
4824         (BOOL_MEMBER): Likewise.
4825         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4826         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4827         (_XNTRY): Likewise.
4828         (XNTRY): Likewise.
4829         (_ENTRY): Likewise.
4830         (ENTRY): Likewise.
4831         (test_exactness): Generate members via macro.
4832         (test_results): Likewise.
4833         (test): Update members.
4834         (TEST): Redefine using new macros.
4835         (INF): New macro.
4836         (fetestmodes): New structure.
4837         (do_test): Refactor to be type generic.
4838         (test_in_one_mode): Refactor duplicate code into
4839         (GEN_ONE_TEST): New macro.
4841         * stdlib/tst-strtod-round-data.h: Regenerate.
4843         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4844         Extend to pass additional arbitrary parameters to
4845         generators.
4847 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4849         [BZ #15479]
4850         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4851         floating-point state after first floating-point operation on
4852         input.  Restore full floating-point state instead of just rounding
4853         mode.
4854         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4855         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4856         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4857         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4858         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4860         [BZ #15479]
4861         * sysdeps/powerpc/powerpc32/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/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4866         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4867         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4868         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4869         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4871 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4873         [BZ #19727]
4874         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4875         valid high surrogate.
4876         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4877         of an utf16 surrogate.
4878         * iconv/gconv_simple.c (BODY): Likewise.
4879         * iconvdata/bug-iconv12.c: New file.
4880         * iconvdata/Makefile (tests): Add bug-iconv12.
4882 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4884         [BZ #19726]
4885         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4886         outptrp in case of an illegal input.
4887         * iconv/tst-iconv6.c: New file.
4888         * iconv/Makefile (tests): Add tst-iconv6.
4890 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4892         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4893         an error in case of a value in range of an utf16 low surrogate.
4895 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4897         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4898         an error in case of a value in range of an utf16 low surrogate.
4900 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4902         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4903         Move to ...
4904         * sysdeps/s390/Makefile: ... here.
4905         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4906         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4907         (BRANCH_ON_COUNT): New define.
4908         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4909         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4910         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4911         run on s390-32, too.
4912         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4913         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4914         run on s390-32, too.
4915         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4916         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4917         run on s390-32, too.
4919 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4921         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4922         etf3eh or new vector loop-variant.
4924 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4926         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4927         etf3eh or new vector loop-variant.
4929 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4931         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4932         or new vector loop-variant.
4934 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4936         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4937         Rename to TR_LOOP and usage of tr instead of troo instruction.
4939 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4941         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4942         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4944 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4946         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4947         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4948         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4949         New override define.
4950         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4952 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4954         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4955         * sysdeps/s390/configure.ac: Add test for S390 vector register
4956         support in gcc.
4957         * sysdeps/s390/configure: Regenerated.
4959 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4961         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4962         Install file from $(objpfx)gconv-modules.
4963         ($(objpfx)gconv-modules): Concatenate architecture specific file
4964         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4965         * sysdeps/s390/gconv-modules: New file.
4966         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4967         Deleted.
4968         ($(objpfx)gconv-modules-s390): Deleted.
4969         (sysdeps-gconv-modules): New variable.
4971 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4973         [BZ #15479]
4974         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4975         of immediate operand to rounding instruction.
4976         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4977         Likewise.
4978         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4979         Likewise.
4980         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4981         Likewise.
4983 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4985         * math/libm-test.inc (MIN_EXP): Directly define as
4986         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4988 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4990         * math/libm-test.inc (MANT_DIG): Directly define as
4991         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4993 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4995         * stdlib/gen-tst-strtod-round.c (main):
4996           Change usage to more closely match the generated
4997           output.  Add usage and compilation instructions.
4998           (string_to_fp): Add and use FILE* parameter as
4999           output target.
5000           (print_fp): Likewise.
5001           (round_str): Likewise.
5002           (round_for_all): Likewise.
5003         * stdlib/tst-strtod-round.c (tests): Move into
5004         * stdlib/tst-strtod-round-data.h: New file.
5006 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5008         [BZ #15479]
5009         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5010         (__round): Do not force "inexact" exception.
5011         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5012         variable.
5013         (__round): Do not force "inexact" exception.
5014         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5015         (__roundf): Do not force "inexact" exception.
5016         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5017         (__roundl): Do not force "inexact" exception.
5018         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5019         (__roundl): Do not force "inexact" exception.
5020         * math/libm-test.inc (round_test_data): Do not allow spurious
5021         "inexact" exceptions.
5023         [BZ #15479]
5024         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5025         exception in comment.
5026         (huge): Remove variable.
5027         (__floor): Do not force "inexact" exception.
5028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5029         "inexact" exception in comment.
5030         (huge): Remove variable.
5031         (__floor): Do not force "inexact" exception.
5032         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5033         exception in comment.
5034         (huge): Remove variable.
5035         (__floorf): Do not force "inexact" exception.
5036         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5037         exception in comment.
5038         (huge): Remove variable.
5039         (__floorl): Do not force "inexact" exception.
5041         [BZ #15479]
5042         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5043         exception in comment.
5044         (huge): Remove variable.
5045         (__ceil): Do not force "inexact" exception.
5046         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5047         "inexact" exception in comment.
5048         (huge): Remove variable.
5049         (__ceil): Do not force "inexact" exception.
5050         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5051         (__ceilf): Do not force "inexact" exception.
5052         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5053         exception in comment.
5054         (huge): Remove variable.
5055         (__ceill): Do not force "inexact" exception.
5057 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5059         * config.h.in (BIND_NOW): New.
5060         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5061         * configure: Regenerated.
5062         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5063         indirect branch via the GOT slot.
5065 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5067         [BZ #19765]
5068         * sysdeps/s390/mempcpy.S: New File.
5069         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5071         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5072         Add mempcpy variants.
5073         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5074         (memcpy): Adjust to be usable from mempcpy entry point.
5075         (__memcpy_mvcle): Likewise.
5076         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5077         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5078         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5079         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5080         (__memcpy_z10): Likewise.
5081         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5083 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5085         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5086         Remove __GI_ symbol.
5087         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5088         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5089         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5090         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5091         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5092         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5094 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5096         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5097         Use cghi instead of chi to compare 64bit value.
5099 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5101         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5102         Jump to 1MB check before executing mvc-loop.
5104 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5106         [BZ #6527]
5107         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5108         unconditionally.
5109         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5111 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5113         * stdlib/tst-strtod6.c (do_test): Use new type generic
5114         invocation of the test function.
5115         (test): Refactor into ...
5116         (TEST_STRTOD): New macro base function.
5118 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5120         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5121         (TEST_STRTOD): New macro.
5122         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5124 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5126         * stdlib/tst-strtod6.c (do_test): Use new type generic
5127         invocation of the test function.
5128         (test): Refactor into ...
5129         (TEST_STRTOD): New macro base function.
5131 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5133         CVE-2016-4429
5134         [BZ #20112]
5135         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5136         payload.
5138 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5140         [BZ #20111]
5141         * bits/sockaddr.h (_SS_SIZE): Define.
5142         * bits/socket.h (_SS_SIZE): Remove.
5143         (_SS_PADSIZE): Adjust to account for all padding.
5144         (struct sockaddr_storage): Update comment.  Avoid implicit
5145         padding.
5146         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5147         (_SS_PADSIZE): Adjust to account for all padding.
5148         (struct sockaddr_storage): Update comment.  Avoid implicit
5149         padding.
5150         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5151         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5152         (_SS_PADSIZE): Adjust to account for all padding.
5153         (struct sockaddr_storage): Update comment.  Avoid implicit
5154         padding.
5155         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5156         __SS_SIZE is 126 in this version.
5157         * inet/tst-sockaddr.c: New file.
5158         * inet/Makefile (tests): Add tst-sockaddr.c
5159         (tst-sockaddr.c): Compile with non-strict aliasing.
5161 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5163         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5164         [XPG3 || XPG4].
5165         (NL_ARGMAX): Also expect for [XPG3].
5166         (NL_LANGMAX): Likewise.
5167         (NL_MSGMAX): Likewise.
5168         (NL_NMAX): Likewise.
5169         (NL_SETMAX): Likewise.
5170         (NL_TEXTMAX): Likewise.
5171         (NZERO): Likewise.
5172         (TMP_MAX): Likewise.
5173         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5174         variable.
5176         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5177         (PF_MAX): Update value.
5178         (AF_KCM): New macro.
5179         (SOL_NETBEUI): Likewise.
5180         (SOL_LLC): Likewise.
5181         (SOL_DCCP): Likewise.
5182         (SOL_NETLINK): Likewise.
5183         (SOL_TIPC): Likewise.
5184         (SOL_RXRPC): Likewise.
5185         (SOL_PPPOL2TP): Likewise.
5186         (SOL_BLUETOOTH): Likewise.
5187         (SOL_PNPIPE): Likewise.
5188         (SOL_RDS): Likewise.
5189         (SOL_IUCV): Likewise.
5190         (SOL_CAIF): Likewise.
5191         (SOL_ALG): Likewise.
5192         (SOL_NFC): Likewise.
5193         (SOL_KCM): Likewise.
5194         (MSG_BATCH): New enum value and macro.
5196 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5198         [BZ #18185]
5199         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5200         sharing L2 cache to 2 for Knights Landing.
5202 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5204         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5205         (FTW_DP): Do not expect for [XPG3 || XPG4].
5206         (FTW_SL): Do not expect for [XPG3].
5207         (FTW_SLN): Likewise.
5208         (FTW_PHYS): Likewise.
5209         (FTW_MOUNT): Likewise.
5210         (FTW_DEPTH): Likewise.
5211         (FTW_CHDIR): Likewise.
5212         (nftw): Likewise.
5213         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5214         variable.
5216 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5218         * manual/errno.texi: Fix various typos & grammar errors.
5220 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5222         * manual/intro.texi: Fix duplicated typo.
5224 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5226         [BZ #13304]
5227         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5228         <float.h>, <math_private.h> and <stdlib.h>.
5229         (add_split): New function.
5230         (mul_split): Likewise.
5231         (ext_val): New typedef.
5232         (store_ext_val): New function.
5233         (mul_ext_val): New function.
5234         (compare): New function.
5235         (add_split_ext): New function.
5236         (__fmal): After checking for Inf, NaN and zero, compute result as
5237         an exact sum of scaled double values in round-to-nearest before
5238         adding those up and adjusting for other rounding modes.
5239         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5240         tests of fma.
5241         * math/auto-libm-test-out: Regenerated.
5243 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5245         [BZ #20119]
5246         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5247         processor level type mask for CPUID with EAX == 11.
5249 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5251         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5252         logical threads if the HTT bit is 0.
5253         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5254         (index_cpu_HTT): Likewise.
5255         (reg_HTT): Likewise.
5257 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5259         [BZ #20115]
5260         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5261         Remove alignments on jump targets.
5263 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5265         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5266         (getpwent): Likewise.
5267         (setpwent): Likewise.
5268         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5269         variable.
5271         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5272         (remque): Likewise.
5273         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5274         variable.
5276 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5278         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5279         not being tested.
5281 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5283         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5284         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5285         call.
5286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5287         (__condvar_cleanup1): Likewise.
5289 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5291         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5292         New
5293         (__pthread_unwind): Renamed to ...
5294         (PTHREAD_UNWIND): This.
5295         (__pthread_enable_asynccancel): Replace
5296         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5298 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5300         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5301         (CLONE_NEWCGROUP): New macro.
5303         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5304         (Q_GETNEXTQUOTA): New macro.
5306 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5308         [BZ #19907]
5309         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5310         buffer updated by the previous run.
5311         * string/test-memcpy.c (do_one_test): Likewise.
5312         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5313         * string/test-memmove.c (do_one_test): Likewise.
5315 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5317         [BZ #20094]
5318         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5319         not [__USE_XOPEN].
5320         (unlockpt): Likewise.
5321         (ptsname): Likewise.
5322         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5323         variable.
5325         [BZ #20076]
5326         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5327         instead of [__USE_UNIX98].
5328         (S_ISSOCK): Likewise.
5329         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5330         variable.
5332         [BZ #20074]
5333         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5334         [__USE_POSIX].
5335         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5336         variable.
5338         [BZ #20051]
5339         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5340         (ttyslot): Do not declare.
5341         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5342         (ttyslot): New prototype.
5343         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5344         variable.
5345         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5347 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5349         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5351 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5353         Fix race condition in tst-mallocfork2, use fewer resources.
5354         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5355         to current process group.
5356         (signal_sender): Yield in the non-sleeping case.
5358 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5360         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5361         (ecvt): Likewise.
5362         (fcvt): Likewise.
5363         (gcvt): Likewise.
5364         (getsubopt): Likewise.
5365         (grantpt): Likewise.
5366         (initstate): Likewise.
5367         (l64a): Likewise.
5368         (mktemp): Likewise.
5369         (mkstemp): Likewise.
5370         (ptsname): Likewise.
5371         (random): Likewise.
5372         (realpath): Likewise.
5373         (setstate): Likewise.
5374         (srandom): Likewise.
5375         (ttyslot): Likewise.
5376         (unlockpt): Likewise.
5377         (valloc): Likewise.
5379         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5380         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5381         variable.
5383 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5385         [BZ #20072]
5386         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5387         init_cpu_features only if SHARED is defined.
5388         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5390 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5392         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5393         non-inclusive caches on Intel processors.
5395 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5397         * malloc/malloc.c (dumped_main_arena_start)
5398         (dumped_main_arena_end): New variables.
5399         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5400         (do_check_chunk): Skip dumped fake mmapped chunks.
5401         (munmap_chunk): Likewise.
5402         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5403         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5404         mmapped chunks.
5405         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5406         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5407         and dumped_main_arena_end to cover the dumped heap.
5409 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5411         * conform/data/time.h-data (getdate_err): Do not expect for
5412         [XPG3].
5413         (getdate): Likewise.
5414         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5415         variable.
5417         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5418         (F_ULOCK): Likewise.
5419         (F_TEST): Likewise.
5420         (F_TLOCK): Likewise.
5421         (useconds_t): Likewise.
5422         (intptr_t): Do not expect for [XPG3] or [XPG4].
5423         (brk): Do not expect for [XPG3]
5424         (fchown): Likewise.
5425         (fchdir): Likewise.
5426         (ftruncate): Likewise.
5427         (getdtablesize): Likewise.
5428         (gethostid): Likewise.
5429         (getpagesize): Likewise.
5430         (getpgid): Likewise.
5431         (getsid): Likewise.
5432         (getwd): Likewise.
5433         (lchown): Likewise.
5434         (lockf): Likewise.
5435         (readlink): Likewise.
5436         (sbrk): Likewise.
5437         (setpgrp): Likewise.
5438         (setregid): Likewise.
5439         (setreuid): Likewise.
5440         (symlink): Likewise.
5441         (sync): Likewise.
5442         (truncate): Likewise.
5443         (ualarm): Likewise.
5444         (usleep): Likewise.
5445         (vfork): Likewise.
5446         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5447         variable.
5449         [BZ #20054]
5450         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5451         not [__USE_UNIX98].
5452         * conform/data/unistd.h-data (gethostname): Do not expect for
5453         [XPG3].
5455         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5456         [!POSIX] (S_IFBLK): Likewise.
5457         [!POSIX] (S_IFCHR): Likewise.
5458         [!POSIX] (S_IFIFO): Likewise.
5459         [!POSIX] (S_IFREG): Likewise.
5460         [!POSIX] (S_IFDIR): Likewise.
5461         [!POSIX] (S_IFLNK): Likewise.
5462         [!POSIX] (S_IFSOCK): Likewise.
5463         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5464         variable.
5465         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5467 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5469         * sysdeps/aarch64/memset.S (__memset):
5470         Rewrite of optimized memset.
5472 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5474         [BZ #19703]
5475         Partially async-signal-safe fork for single-threaded processes.
5476         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5477         variable.  Do not acquire and reset/release malloc and libio locks
5478         in single-threaded processes.
5479         * malloc/tst-mallocfork2.c: New file.
5480         * malloc/Makefile (tests): Add it.
5482 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5484         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5485         argument.  Use scratch buffer instead of extend_alloca.
5486         (gethosts): Use scratch buffer instead of extend_alloca.
5487         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5488         extend_alloca.
5489         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5491 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5493         [BZ #20055]
5494         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5495         instead of [__USE_UNIX98].
5496         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5497         [__USE_UNIX98].
5498         * conform/data/termios.h-data (tcgetsid): Do not expect for
5499         [XPG3].
5500         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5501         variable.
5502         (test-xfail-XPG4/termios.h/conform): Likewise.
5504 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5506         Do not use mcheck in localedef.
5507         * locale/programs/localedef.c (turn_on_mcheck)
5508         (__malloc_initialize_hook): Remove.
5510 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5512         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5513         * sysdeps/s390/s390-64/Makefile: Likewise.
5515 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5517         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5518         Remove ifunc-defines.sym.
5519         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5520         Likewise.
5521         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5522         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5523         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5524         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5525         rtld-global-offsets.sym.
5526         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5527         * sysdeps/x86/cpu-features-offsets.sym: This.
5528         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5529         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5531 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5533         [BZ #20073]
5534         * io/sys/stat.h (fchmod): Declare for
5535         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5536         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5537         variable.
5539         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5540         [XPG3] (S_IFSOCK): Likewise.
5541         [XPG3] (S_ISVTX): Likewise.
5542         [XPG3] (S_ISLNK): Likewise.
5543         [XPG3] (S_ISSOCK): Likewise.
5544         [XPG3] (fchmod): Likewise.
5545         [XPG3] (lstat): Likewise.
5546         [XPG3] (mknod): Likewise.
5548         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5549         [XPG3].  Expect type long and XFAIL for [XPG4].
5550         (st_blocks): Likewise.
5552         [BZ #20044]
5553         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5554         (pthread_atfork): New prototype.
5555         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5556         variable.
5558         [BZ #20043]
5559         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5560         prototype.
5562 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5564         [BZ #20017]
5565         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5566         gmtime.
5568 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5570         [BZ #19994]
5571         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5572         flag in _res.options.
5574 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5576         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5577         [XPG3 || XPG4].
5578         (blksize_t): Likewise.
5579         (clockid_t): Likewise.
5580         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5581         variable.
5582         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5584 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5586         * sysdeps/unix/sysv/linux/s390/init-first.c:
5587         Add VDSO_SYMBOL(getcpu).
5588         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5589         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5590         Add VDSO_SYMBOL(getcpu).
5591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5592         New define HAVE_GETCPU_VSYSCALL.
5593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5595 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5597         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5598         instead of <sysdeps/x86_64/cacheinfo.c>.
5599         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5600         * sysdeps/x86/cacheinfo.c: Here.
5602 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5604         * malloc/malloc-internal.h: Adjust header file guard.
5606 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5608         [BZ #19787]
5609         * inet/getnameinfo.c (check_sprintf_result): New function.
5610         (CHECKED_SNPRINTF): New macro.
5611         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5612         to the host buffer.
5613         (gni_host_local): Use checked_copy to copy the host name.
5614         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5615         (gni_serv_local): Use checked_copy to copy the service name.
5616         (getnameinfo): Remove unnecessary truncation of result buffers.
5618 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5620         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5621         in case of inet_ntop failure.
5623 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5625         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5626         avoid long lines.
5627         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5628         variables.
5629         (gni_host_inet, gni_host_local): Add comment.
5630         (gni_host): Add comment.  Use temporary to avoid long lines.
5632 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5634         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5635         registers specifiers where general purpose registers specifiers should
5636         have been used.
5638 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5640         [BZ #19779]
5641         CVE-2016-1234
5642         Avoid copying names of directory entries.
5643         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5644         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5645         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5646         (struct readdir_result): New type.
5647         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5648         (GL_READDIR): New macros.
5649         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5650         (convert_dirent, convert_dirent64): New functions.
5651         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5652         convert_dirent64.  Adjust references to the readdir result.
5653         * sysdeps/unix/sysv/linux/i386/glob64.c:
5654         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5655         * posix/bug-glob2.c (LONG_NAME): Define.
5656         (filesystem): Add LONG_NAME.
5657         (my_DIR): Increase the size of room_for_dirent.
5659 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5661         [BZ #20041]
5662         * misc/sys/select.h (__need_timespec): Only define if
5663         [__USE_XOPEN2K].
5664         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5665         variable.
5666         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5667         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5668         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5670 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5671             Segher Boessenkool  <segher@gcc.gnu.org>
5673         [BZ #20004]
5674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5675         (__novec_swapcontext): Add missing load.
5677 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5679         [BZ #20023]
5680         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5681         <time.h>.
5682         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5683         variable.
5684         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5686 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5689         flags CLONE_VM compare.
5691 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5693         [BZ #20031]
5694         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5695         completely empty.
5697 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5699         [BZ #19573]
5700         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5701         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5702         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5703         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5704         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5705         (hesiod_free_list): Mark as hidden.
5706         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5707         res_set, res_get.
5708         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5709         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5710         (hesiod_init): Remove obsolete res_ninit call.
5711         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5712         (hesiod_bind): Do not call init.
5713         (get_txt_records): Use res_mkquery, res_send instead of
5714         res_nmkquery, res_nsend.
5715         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5716         instead of _nss_hesiod_init.
5717         (_nss_hesiod_initgroups_dyn): Likewise.
5718         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5719         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5720         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5722 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5724         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5725         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5727 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5729         * hesiod/hesiod.h: Remove RCS keyword.
5730         * hesiod/hesiod_p.h: Likewise.
5732         * hesiod/hesiod.c: Likewise.
5734 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5736         [BZ #12450]
5737         * locale/iso-639.def: Add Samogitian/sgs.
5739 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5741         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5743         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5745 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5746             Carlos O'Donell  <carlos@redhat.com>
5748         [BZ #19072]
5749         * grp/Makefile (headers): Add grp-merge.h
5750         (routines): Add grp-merge.
5751         * grp/getgrgid_r.c: Include grp-merge.h.
5752         (DEEPCOPY_FN): Define.
5753         (MERGE_FN): Define.
5754         * grp/getgrname_r.c: Include grp-merge.h.
5755         (DEEPCOPY_FN): Define.
5756         (MERGE_FN): Define.
5757         * grp/grp-merge.c: New file.
5758         * grp/grp-merge.h: New file.
5759         * include/grp-merge.h: New file.
5760         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5761         __copy_grp@GLIBC_PRIVATE.
5762         * manual/nss.texi (Actions in the NSS configuration): Describe
5763         return, continue, and merge.
5764         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5765         (DEEPCOPY_FN): Define.
5766         (MERGE_FN): Define.
5767         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5768         (DEEPCOPY_FN): Define.
5769         (MERGE_FN): Define.
5770         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5771         [!MERGE_FN]: Define __merge_einval.
5772         (CHECK_MERGE): Define.
5773         (REENTRANT_NAME): Process merge if do_merge is true.
5774         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5775         (__nss_getent_r): Likewise.
5776         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5777         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5779 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5781         [BZ #20012]
5782         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5783         length to calculate the buffer to read.
5784         (fmemopen_write): Set the buffer position based on bytes written.
5785         (fmemopen_seek): Return EINVAL for invalid whence modes.
5787         [BZ #19957]
5788         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5789         tst-getpid2.
5790         (test): Add tst-clone2.
5791         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5792         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5793         pid/tid fields for CLONE_VM.
5794         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5795         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5796         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5797         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5798         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5799         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5800         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5801         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5803         Likewise.
5804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5805         Likewise.
5806         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5807         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5808         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5809         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5810         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5811         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5812         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5813         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5815 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5817         [BZ #19642]
5818         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5819         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5820         (gni_serv_local, gni_serv): New functions extracted from
5821         getnameinfo.
5822         (getnameinfo): Call gni_host and gni_serv to perform the
5823         processing.  Always free scratch buffer.
5825 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5827         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5828         remaining bytes in the dest string, with zeros.
5830 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5832         [BZ #20010]
5833         CVE-2016-3706
5834         * sysdeps/posix/getaddrinfo.c
5835         (convert_hostent_to_gaih_addrtuple): New function.
5836         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5837         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5838         AF_INET data.
5840 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5842         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5843         callback function gl_readdir.
5844         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5845         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5846         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5847         memcpy to copy the name.
5848         * manual/pattern.texi (Calling Glob): Document requirements for
5849         implementations of the gl_readdir callback function.
5850         * manual/examples/mkdirent.c: New example.
5851         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5852         per the manual guidance.
5853         * posix/tst-gnuglob.c (my_readdir): Likewise.
5855 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5857         [BZ #20014]
5858         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5859         not [__USE_POSIX].
5860         (getchar_unlocked): Likewise.
5861         (putc_unlocked): Likewise.
5862         (putchar_unlocked): Likewise.
5863         (flockfile): Likewise.
5864         (ftrylockfile): Likewise.
5865         (funlockfile): Likewise.
5866         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5867         variable.
5868         (test-xfail-XPG4/stdio.h/conform): Likewise.
5870         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5871         Expect constant.
5872         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5873         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5874         variable.
5875         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5876         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5878         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5879         [__USE_LARGEFILE64] (off64_t): Likewise.
5880         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5881         variable.
5883 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5885         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5887 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5889         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5890         * resolv/res_init.c: Likewise.
5891         * resolv/res_mkquery.c: Likewise.
5893 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5895         * resolv/res_init.c (isascii): Do not define.  Use definition in
5896         <ctype.h>.
5897         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5898         (LOG_AUTH): Remove.
5899         (SPRINTF): Remove, adjust caller.
5900         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5902 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5904         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5905         SUNSECURITY conditional.
5906         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5908 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5910         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5911         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5912         Remove BSD-related preprocessor conditionals.
5913         * conf/portability.h: Remove.
5915 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5917         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5918         * resolv/res_data.c: Likewise.
5920 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5922         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5923         * resolv/res_data.c: Remove code conditional on ultrix.
5925 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5927         * resolv/res_init.c (RFC1535): Do not define.  Remove
5928         RFC1535 preprocessor conditionals.
5929         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5930         because there configuration options which make the resolver
5931         behavior different.
5933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5935         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5936         RESOLVSORT preprocessor conditionals.
5937         * resolv/nss_dns/dns-host.c: Likewise.
5938         * resolv/res_init.c: Likewise.
5940 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5942         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5943         is never defined.
5945 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5947         * inet/inet_lnaof.c: Remove SCSS keyword.
5948         * inet/inet_mkadr.c: Likewise.
5949         * inet/inet_net.c: Likewise.
5950         * inet/inet_netof.c: Likewise.
5951         * inet/rcmd.c: Likewise.
5952         * inet/rexec.c: Likewise.
5953         * inet/ruserpass.c: Likewise.
5955 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5957         * resolv/inet_addr.c: Remove _LIBC conditionals.
5958         * resolv/res_data.c: Likewise.
5959         * resolv/res_init.c: Likewise.
5960         * resolv/res_mkquery.c: Likewise.
5961         * resolv/res_libc.c: Update comment.
5962         * resolv/README: Update.
5964 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5966         * resolv/gethnamaddr.c: Remove SCSS keyword.
5967         * resolv/herror.c: Likewise.
5968         * resolv/inet_addr.c: Likewise.
5969         * resolv/inet_net_ntop.c: Likewise.
5970         * resolv/inet_net_pton.c: Likewise.
5971         * resolv/inet_neta.c: Likewise.
5972         * resolv/inet_ntop.c: Likewise.
5973         * resolv/inet_pton.c: Likewise.
5974         * resolv/ns_date.c: Remove RCS keyword.
5975         * resolv/ns_name.c: Likewise.
5976         * resolv/ns_netint.c: Likewise.
5977         * resolv/ns_parse.c: Likewise.
5978         * resolv/ns_print.c: Likewise.
5979         * resolv/ns_samedomain.c: Likewise.
5980         * resolv/ns_ttl.c: Likewise.
5981         * resolv/nsap_addr.c: Likewise.
5982         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5983         * resolv/res_data.c: Remove RCS keyword.
5984         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5985         * resolv/res_init.c: Likewise.
5986         * resolv/res_mkquery.c: Likewise.
5987         * resolv/res_query.c: Likewise.
5988         * resolv/res_send.c: Likewise.
5990 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5992         * conform/data/stdio.h-data (fdopen): Expect also for
5993         [XPG3 || XPG4].
5995         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5996         (fseeko): Likewise.
5997         (ftello): Likewise.
5998         (ftrylockfile): Likewise.
5999         (funlockfile): Likewise.
6000         (getc_unlocked): Likewise.
6001         (getchar_unlocked): Likewise.
6002         (putc_unlocked): Likewise.
6003         (putchar_unlocked): Likewise.
6005 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6007         [BZ #19868]
6008         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6009         DNS packet syntax checks (which were not needed before).  Skip
6010         over non-PTR records.
6012 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6014         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6015         definition.  Include <stddef.h> instead.
6017 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6019         [BZ #19831]
6020         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6021         function.
6022         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6023         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6025 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6027         [BZ #19862]
6028         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6029         (getanswer_r): Do not call syslog.
6030         (gaih_getanswer_slice): Likewise.
6031         * resolv/gethnamaddr.c (AskedForGot): Remove.
6032         (getanswer): Do not call syslog.
6033         (gethostbyaddr): Likewise.
6035 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6037         * conform/data/signal.h-data (union sigval): Expect also if
6038         [XOPEN2K].
6039         (struct sigevent): Likewise.
6040         (SIGEV_NONE): Likewise.
6041         (SIGEV_SIGNAL): Likewise.
6042         (SIGEV_THREAD): Likewise.
6043         (SIGRTMIN): Likewise.
6044         (SIGRTMAX): Likewise.
6045         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6046         variable.
6047         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6049 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6051         [BZ #19830]
6052         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6053         (gaih_getanswer_slice): Likewise.
6054         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6055         Also check for availability of RR metadata.
6057 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6059         [BZ #19825]
6060         * resolv/res_send.c (send_vc): Remove early *resplen2
6061         initialization.  Set *resplen2 on socket error.  Call
6062         close_and_return_error for other errors.
6064 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6066         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6067         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6068         (SCM_IUCV_TRGCLS): New define.
6070 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6072         [BZ #20005]
6073         * libio/fmemopen.c (fmemopen_write): Update internal position after
6074         write.
6075         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6076         * stdio-common/tst-fmemopen4.c: New file..
6078 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6080         [BZ #19996]
6081         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6082         not [__USE_XOPEN2K].
6083         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6084         variable.
6086         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6087         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6088         variable.
6090         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6091         [__USE_XOPEN2K8].
6092         [__USE_LARGEFILE64] (off64_t): Likewise.
6093         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6094         variable.
6096 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6098         [BZ #19989]
6099         * libio/stdio.h (cuserid): Do not declare if
6100         [__USE_XOPEN2K && !__USE_GNU].
6101         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6102         variable.
6104 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6106         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6107         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6109         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6110         ifunc'ed strcspn.
6111         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6112         [EALIGN]: Removed.
6113         [END]: Likewise
6114         [STRSPN]: Define instead of the above to control symbol name.
6115         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6116         New file.
6117         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6118         Likewise.
6119         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6120         Likewise.
6121         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6122         Likewise.
6123         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6124         [INITIAL_MASK]: New macro.
6125         [STRCSPN]: Likewise.
6126         [UPDATE_MASK]: Likewise.
6127         [USE_AS_STRCSPN]: Lisewise.
6129 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6131         [BZ #19931]
6132         * stdio-common/tst-vfprintf-width-prec.c: New file.
6133         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6134         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6135         (generated): Add mtrace-related files.
6136         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6137         (tst-%-mem.out): New pattern rule, replaces
6138         tst-printf-bz18872-mem.out.
6139         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6140         specifier, deallocate any previously allocated work buffer.
6142 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6144         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6145         Add nop before __startcontext, add explaining comments.
6147 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6149         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6150         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6151         completely different API.
6153         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6154         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6155         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6156         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6157         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6158         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6159         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6160         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6161         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6162         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6164 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6166         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6168 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6170         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6171         when it is the default of 0.
6173 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6175         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6176         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6177         (sysdep_routines): Add new strcasestr targets.
6178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6179         (__libc_ifunc_impl_list): Likewise.
6180         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6181         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6182         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6183         * sysdeps/powerpc/powerpc64/power8/Makefile:
6184         New file to add strcasestr-ppc64 to sysdep_routines.
6185         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6186         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6188 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6190         * benchtests/Makefile (wcsmbs-benchset): Include only for
6191         native builds and runs.
6192         (LOCALES): Likewise.
6193         (bench-build): Build timing-type here instead of the bench
6194         target.  Generate locale only for native builds.
6195         * benchtests/README: Add note for cross-building.
6197         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6199         * benchtests/README: Update README to include instructions on
6200         using bench-build.
6202         * Makefile.in (bench-build): New target.
6203         * Rules (PHONY): Add bench-build target.
6204         * benchtests/Makefile (bench): Depend on bench-build.
6205         (bench-build): New target.
6207 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6209         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6210         profil_reply_port.
6211         (profile_waiter): Do not initialize profil_reply_port.
6212         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6213         frequency instead of tick length in us.
6215 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6217         [BZ #18712]
6218         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6219         (__old_mempcpy_small): Likewise.
6220         (__old_strcpy_small): Likewise.
6221         (__old_stpcpy_small): Likewise.
6222         (__old_strpbrk_c2): Fix compat symbol name.
6223         (__old_strpbrk_c3): Likewise.
6224         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6225         (__mempcpy_small): Remove.
6226         (__strcpy_small): Remove.
6227         (__stpcpy_small): Remove.
6229 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6231         [BZ #19400]
6232         * locale/iso-639.def: Add the Talossan/tzl language.
6234 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6236         [BZ #16983]
6237         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6238         comment.  Add "ln" to strchr check on postal_fmt.
6240 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6242         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6243         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6244         tel_dom_fmt.
6246 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6248         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6249         (sysdep_routines): Added __strlen_power8.
6250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6251         __strlen_power8 entry.
6252         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6253         Implementation for POWER8.
6254         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6255         for __strlen_power8.
6256         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6257         Implementation for POWER8.
6259 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6261         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6263 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6265         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6266         Goldmont and Airmont processors.
6268 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6270         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6271         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6272         (__STRING2_SMALL_GET32): Remove.
6273         (memset): Remove.
6274         (__memset_1): Remove.
6275         (__memset_gc): Remove.
6276         (__mempcpy): Remove.
6277         (mempcpy): Remove.
6278         (__mempcpy_args): Remove.
6279         (strchr): Remove.
6280         (strcpy): Remove.
6281         (strcpy_args): Remove.
6282         (__stpcpy_args): Remove.
6283         (__strcmp_cc): Remove.
6284         (__strcmp_gc): Remove.
6285         (strstr): Remove.
6287 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6289         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6290         * nis/nis_call.c (nis_server_cache_add): Likewise.
6292 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6294         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6296 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6298         * malloc/arena.c (__malloc_fork_lock_parent)
6299         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6300         internal_function attribute.
6302 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6304         * stdio-common/printf_fp.c (__printf_fp_l):
6305         Rename ___printf_fp_l to __printf_fp_l and
6306         remove strong alias. Use libc_hidden_def instead
6307         of ldbl_hidden_def macro.
6309 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6311         Remove malloc hooks from fork handler.  They are no longer needed
6312         because malloc runs right before fork, and no malloc calls from
6313         other fork handlers are not possible anymore.
6314         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6315         declarations.
6316         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6317         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6318         (atfork_recursive_cntr): Remove.
6319         (__malloc_fork_lock_parent): Do not override malloc hooks and
6320         thread_arena.
6321         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6322         thread_arena.
6323         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6324         thread_arena instead of save_arena.
6326 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6328         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6329         (thread_atfork, thread_atfork_static): Remove.
6330         * sysdeps/mach/hurd/malloc-machine.h:
6331         (thread_atfork, thread_atfork_static): Remove.
6333 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6335         [BZ #19431]
6336         Run the malloc fork handler as late as possible to avoid deadlocks.
6337         * malloc/malloc-internal.h: New file.
6338         * malloc/malloc.c: Include it.
6339         * malloc/arena.c (ATFORK_MEM): Remove.
6340         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6341         Update comment.
6342         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6343         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6344         Remove outdated comment.
6345         (ptmalloc_init): Do not call thread_atfork.  Remove
6346         thread_atfork_static.
6347         * malloc/tst-malloc-fork-deadlock.c: New file.
6348         * Makefile (tests): Add tst-malloc-fork-deadlock.
6349         (tst-malloc-fork-deadlock): Link against libpthread.
6350         * manual/memory.texi (Aligned Memory Blocks): Update safety
6351         annotation comments.
6352         * sysdeps/nptl/fork.c (__libc_fork): Call
6353         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6354         __malloc_fork_unlock_child.
6355         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6357 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6359         [BZ #19613]
6360         Remove union wait.
6361         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6362         (w_stopsig, w_stopval): Remove.
6363         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6364         stat_loc argument.
6365         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6366         (__WAIT_STATUS_DEFN): Remove.
6367         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6368         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6369         (wait, wait3, wait4): Use int * for the stat_loc argument.
6370         * posix/wait.c (__wait): Likewise.
6371         * posix/wait3.c (__wait3): Likewise.
6372         * posix/wait4.c (__wait4): Likewise.
6373         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6374         (__WAIT_STATUS_DEFN): Remove.
6375         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6376         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6377         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6378         argument.
6379         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6380         * sysdeps/posix/wait3.c (__wait3): Likewise.
6381         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6382         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6383         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6384         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6385         stat_loc argument.
6386         * manual/process.texi (BSD Wait Functions): Remove union wait.
6388 2016-04-13  Andreas Schwab  <schwab@suse.de>
6390         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6391         (test-extras): Add tst-tlsalign-vars.
6392         * math/Makefile: Wrap long lines.
6393         (libm-vec-test-wrappers): Define.
6394         (test-extras): Add $(libm-vec-test-wrappers).
6395         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6396         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6397         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6398         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6399         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6400         (extra-test-objs): Add corresponding objects.
6402 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6404         [BZ #19928]
6405         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6406         New.
6407         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6408         times of shared cache size.
6409         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6410         (VMOVNT): New.
6411         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6412         (VMOVNT): Likewise.
6413         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6414         (VMOVNT): Likewise.
6415         (VMOVU): Changed to movups for smaller code sizes.
6416         (VMOVA): Changed to movaps for smaller code sizes.
6417         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6418         comments.
6419         (PREFETCH): New.
6420         (PREFETCH_SIZE): Likewise.
6421         (PREFETCHED_LOAD_SIZE): Likewise.
6422         (PREFETCH_ONE_SET): Likewise.
6423         Rewrite to use forward and backward loops, which move 4 vector
6424         registers at a time, to support overlapping addresses and use
6425         non temporal store if size is above the threshold and there is
6426         no overlap between destination and source.
6428 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6430         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6431         Include dl-vdso.
6432         * sysdeps/unix/sysv/linux/mips/Versions: Add
6433         __vdso_clock_gettime.
6434         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6435         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6436         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6437         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6438         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6439         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6440         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6441         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6442         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6444 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6446         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6447         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6450         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6451         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6454         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6456         syscalls generation.
6457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6458         [__NR_pwrite64] (__NR_write): Remove define.
6459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6460         [__NR_pwrite64] (__NR_write): Remove define.
6461         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6462         Remove define.
6463         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6464         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6465         Remove define.
6466         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6467         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6468         Linux implementation as base.
6469         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6471         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6472         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6477         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6479         syscall generation.
6480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6481         [__NR_pread64] (__NR_pread): Remove define.
6482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6483         [__NR_pread64] (__NR_pread): Likewise.
6484         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6485         define.
6486         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6487         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6488         Remove define.
6489         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6490         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6491         Linux implementation as base.
6492         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6493         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6494         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6496         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6497         definition.
6498         (__ALIGNMENT_COUNT): Likewise.
6499         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6500         (__ALIGNMENT_COUNT): Likewise.
6501         (SYSCALL_LL): New define.
6502         (SYSCALL_LL64): Likewise.
6503         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6504         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6505         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6506         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6508         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6509         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6510         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6511         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6512         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6513         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6515 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6517         [BZ #19865]
6518         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6519         original buffer before retry.
6521 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6524         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6525         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6526         GLRO(dl_auxv) list.
6527         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6528         including <ldsodefs.h>.
6529         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6531 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6533         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6534         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6535         $(CPPFLAGS).
6537 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6539         [BZ #17950]
6540         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6541         Add -mfpmath=387.
6543 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6545         * sysdeps/i386/configure.ac: Change == to = when calling test.
6546         * sysdeps/x86_64/configure.ac: Likewise.
6547         * sysdeps/i386/configure: Regenerated.
6548         * sysdeps/x86_64/configure: Likewise.
6550 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6552         [BZ #16137]
6553         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6554         * benchtests/bench-strcoll.c (input_files): Likewise.
6555         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6556         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6557         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6559 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6561         [BZ #19929]
6562         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6563         [__USE_XOPEN2K8 && !__USE_GNU].
6564         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6565         variable.
6567         [BZ #19925]
6568         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6569         define if [!__USE_MISC && __USE_XOPEN2K].
6570         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6571         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6572         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6575         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6576         variable.
6577         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6579 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6581         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6582         (sysdep_routines): Add new strspn targets.
6583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6584         (__libc_ifunc_impl_list): Add strspn.
6585         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6586         New file.
6587         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6588         Likewise.
6589         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6590         Likewise.
6591         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6592         Likewise.
6594 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6596         * misc/hsearch_r.c: Include <limits.h>.
6598 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6600         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6602 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6604         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6605         (MEMCPY_SYMBOL): New.
6606         (MEMPCPY_SYMBOL): Likewise.
6607         (MEMMOVE_CHK_SYMBOL): Likewise.
6608         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6609         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6610         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6611         Provide alias for memcpy in libc.a and ld.so.
6613 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6615         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6616         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6617         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6618         Disabled fro now.
6619         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6620         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6622 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6624         * benchtests/Makefile (string-benchset): Add memcpy-large,
6625         memmove-large and memset-large.
6626         * benchtests/bench-memcpy-large.c: New file.
6627         * benchtests/bench-memmove-large.c: Likewise.
6628         * benchtests/bench-memmove-large.c: Likewise.
6629         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6631 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6633         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6634         32-bit displacement to avoid long nop between instructions.
6636 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6638         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6639         a comment on VMOVU and VMOVA.
6641 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6643         [BZ #19633]
6644         Use specified locale for number formatting in strfmon_l.
6645         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6646         (__nl_lookup_word): New inline functions.
6647         * include/printf.h (__print_fp_l): Declare.
6648         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6649         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6650         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6651         (___printf_fp): New function.
6652         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6653         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6654         * stdlib/tst-strfmon_l.c (do_test): New test.
6655         * stdlib/Makefile (tests): Add kt.
6656         (LOCALES): Build additional locales.
6657         (tst-strfmon_l.out): Require locales.
6659 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6661         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6662         if not in libc.
6663         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6664         Likewise.
6665         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6666         Likewise.
6667         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6668         Likewise.
6670 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6672         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6673         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6674         with unaligned_erms.
6675         (__memmove_erms): Skip if source == destination.
6676         (__memmove_unaligned_erms): Don't check source == destination
6677         first.
6679 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6681         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6682         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6684 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6686         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6687         * string/strspn.c (strspn): Likewise.
6689 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6691         * benchtests/bench-memset.c (do_test): Support 64-byte
6692         alignment.
6693         (test_main): Test 64-byte alignment.
6695 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6697         * benchtests/bench-memmove.c (test_main): Test 64-byte
6698         alignment.
6700 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6702         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6704 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6706         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6707         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6708         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6710         * string/strpbrk.c (strpbrk): Rewrite function.
6711         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6712         (__strpbrk_c2): Likewise.
6713         (__strpbrk_c3): Likewise.
6714         * string/string-inlines.c
6715         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6716         Likewise.
6717         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6718         Likewise.
6720         * string/strspn.c (strcspn): Rewrite function.
6721         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6722         (__strspn_c1): Remove inline function.
6723         (__strspn_c2): Likewise.
6724         (__strspn_c3): Likewise.
6725         * string/string-inlines.c
6726         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6727         compatibility symbol.
6728         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6729         Likewise.
6730         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6731         Likewise.
6732         * string/string-inlines.c: Include generic version.
6734 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6735             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6737         * string/Version (libc): Add GLIBC_2.24.
6738         * string/strcspn.c (strcspn): Rewrite function.
6739         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6740         (__strcspn_c1): Remove inline function.
6741         (__strcspn_c2): Likewise.
6742         (__strcspn_c3): Likewise.
6743         * string/string-inline.c
6744         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6745         compatibility symbol.
6746         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6747         Likewise.
6748         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6749         Likewise.
6750         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6752 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6754         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6755         Use ahi instead of aghi to adjust stack pointer.
6757 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6759         [BZ #19853]
6760         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6761         TEST to take significant digits as second parameter.
6762         [TEST]: Redefine in terms of TEST_N taking 30
6763         significant digits.
6764         (do_test): Add test case to demonstrate precision
6765         failure in the ldbl-128ibm printf.
6766         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6767         (__mpn_extract_long_double): Carry 7 extra intermediate
6768         bits of precision to aide computing difference when
6769         signs differ.
6771 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6773         [BZ #19881]
6774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6775         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6776         memset-avx512-unaligned-erms.
6777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6778         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6779         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6780         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6781         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6782         __memset_sse2_unaligned_erms, __memset_erms,
6783         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6784         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6785         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6786         file.
6787         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6788         Likewise.
6789         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6790         Likewise.
6791         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6792         Likewise.
6794 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6796         [BZ #19776]
6797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6798         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6799         memmove-avx512-unaligned-erms.
6800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6801         (__libc_ifunc_impl_list): Test
6802         __memmove_chk_avx512_unaligned_2,
6803         __memmove_chk_avx512_unaligned_erms,
6804         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6805         __memmove_chk_sse2_unaligned_2,
6806         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6807         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6808         __memmove_avx512_unaligned_erms, __memmove_erms,
6809         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6810         __memcpy_chk_avx512_unaligned_2,
6811         __memcpy_chk_avx512_unaligned_erms,
6812         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6813         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6814         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6815         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6816         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6817         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6818         __mempcpy_chk_avx512_unaligned_erms,
6819         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6820         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6821         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6822         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6823         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6824         __mempcpy_erms.
6825         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6826         file.
6827         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6828         Likwise.
6829         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6830         Likwise.
6831         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6832         Likwise.
6834 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6836         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6837         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6838         (La_s390_64_regs): Likewise.
6839         (La_s390_32_retval): Append vector register lrv_v24.
6840         (La_s390_64_retval): Likeweise.
6841         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6842         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6843         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6844         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6846 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6848         [BZ #19916]
6849         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6850         to create a non-vector/vector version for _dl_runtime_resolve and
6851         _dl_runtime_profile. Move implementation to ...
6852         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6853         (_dl_runtime_resolve) Save and restore fpr/vrs.
6854         (_dl_runtime_profile) Save and restore vrs and fix some issues
6855         if _dl_call_pltexit is called.
6856         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6857         Choose the correct resolver function if running on a machine with vx.
6858         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6859         to create a non-vector/vector version for _dl_runtime_resolve and
6860         _dl_runtime_profile. Move implementation to ...
6861         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6862         (_dl_runtime_resolve) Save and restore fpr/vrs.
6863         (_dl_runtime_profile) Save and restore vrs and fix some issues
6864         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6865         Choose the correct resolver function if running on a machine with vx.
6867 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6869         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6871 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6873         [BZ #19509]
6874         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6875         skip_map != NULL.
6876         * elf/tst-dlsym-error.c: New file.
6877         * elf/Makefile (tests): Add tst-dlsym-error.
6878         (tst-dlsym-error): Link against libdl.
6880 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6883         (__ASSUME_FUTIMESAT): Remove macro.
6884         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6886 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6888         [BZ #19879]
6889         CVE-2016-3075
6890         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6891         copy name.
6893 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6895         [BZ #19837]
6896         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6897         error if parse_line fails.
6899 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6901         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6902         (index_cpu_ERMS): Likewise.
6903         (reg_ERMS): Likewise.
6905 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6907         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6908         PER_LINUX_FDPIC): Add.
6910 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6913         memcpy-avx512-no-vzeroupper.
6914         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6915         to ...
6916         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6917         (MEMCPY): Don't define.
6918         (MEMCPY_CHK): Likewise.
6919         (MEMPCPY): Likewise.
6920         (MEMPCPY_CHK): Likewise.
6921         (MEMPCPY_CHK): Renamed to ...
6922         (__mempcpy_chk_avx512_no_vzeroupper): This.
6923         (MEMPCPY_CHK): Renamed to ...
6924         (__mempcpy_chk_avx512_no_vzeroupper): This.
6925         (MEMCPY_CHK): Renamed to ...
6926         (__memmove_chk_avx512_no_vzeroupper): This.
6927         (MEMCPY): Renamed to ...
6928         (__memmove_avx512_no_vzeroupper): This.
6929         (__memcpy_avx512_no_vzeroupper): New alias.
6930         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6932 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6934         [BZ #18858]
6935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6936         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6937         and mempcpy-avx512-no-vzeroupper.
6938         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6939         New.
6940         (MEMPCPY): Likewise.
6941         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6942         (MEMPCPY_CHK): New.
6943         (MEMPCPY): Likewise.
6944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6945         (MEMPCPY): Likewise.
6946         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6947         (MEMPCPY): Likewise.
6948         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6949         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6950         Likewise.
6951         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6952         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6954 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6955              Amit Pawar  <Amit.Pawar@amd.com>
6957         [BZ #19583]
6958         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6959         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6960         processors.  Set Fast_Copy_Backward for AMD Excavator
6961         processors.
6962         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6963         New.
6964         (index_arch_Fast_Unaligned_Copy): Likewise.
6965         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6966         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6968 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6970         [BZ #19791]
6971         * resolv/res_send.c (close_and_return_error): New function.
6972         (send_dg): Initialize *resplen2 after reopen failure.  Call
6973         close_and_return_error for error returns.  On error paths without
6974         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6975         successful return.
6977 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6979         [BZ# 19860]
6980         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6981         zero if the compiler does not provide the AVX512F bit.
6983 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6985         [BZ #19848]
6986         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6987         from 8 to 4.
6988         (__ieee754_powl): Compare integer exponent against 4 not 8.
6989         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6990         from 8 to 4.
6991         (__ieee754_powl): Compare integer exponent against 4 not 8.
6992         * math/auto-libm-test-in: Add more tests of pow.
6993         * math/auto-libm-test-out: Regenerated.
6994         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6997 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6999         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7000         Make code unconditional.
7001         [!__NR_utimensat]: Remove conditional code.
7002         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7003         Make code unconditional.
7004         [!__NR_utimensat]: Remove conditional code.
7005         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7006         Make code unconditional.
7007         [!__NR_utimensat]: Remove conditional code.
7009 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7011         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7012         Make code unconditional.
7014 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7016         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7017         call-clobbered %eax on retry path.
7018         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7020 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7022         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7023         Don't set %rcx twice before "rep movsb".
7025 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7027         [BZ #19583]
7028         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7029         inline.  Check family before setting family, model and
7030         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7031         bits here.
7032         (init_cpu_features): Replace HAS_CPU_FEATURE and
7033         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7034         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7035         for Intel processors with usable AVX2.  Call get_common_indeces
7036         for other processors with family == NULL.
7037         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7038         (CPU_FEATURES_ARCH_P): Likewise.
7039         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7040         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7042 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7044         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7045         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7046         $(shared-thread-library) instead of hardcoding the path to libpthread.
7048 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7050         * sysdeps/unix/sysv/linux/kernel-features.h
7051         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7052         * sysdeps/unix/sysv/linux/getdents.c
7053         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7054         [!have_no_getdents64_defined]: Likewise.
7055         (__GETDENTS): Remove __have_no_getdents64 conditional.
7057 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7059         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7060         Remove macro.
7061         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7062         <kernel-features.h>.
7063         (signalfd) [__NR_signalfd4]: Make code unconditional.
7064         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7066 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7068         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7069         style.
7071 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7073         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7074         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7075         __pthread_unwind.
7076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7077         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7079         (__condvar_cleanup1): Likewise.
7081 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7083         [BZ #19822]
7084         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7085         move it to the final $@ location.
7087 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7089         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7090         access where posix_spawn success and pid argument is null.
7091         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7092         success case.
7094 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7096         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7098         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7100         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7101         and __fcntl.
7102         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7103         __fcntl only.
7104         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7105         adding attribute_hidden to __open and __fcntl.
7107         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7108         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7109         depend on libc-modules.h,
7110         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7112 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7114         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7115         Remove macro.
7116         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7117         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7118         entry.
7120         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7121         Remove macro.
7122         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7123         include <kernel-features.h>.
7124         [!__ASSUME_FALLOCATE]: Remove conditional code.
7125         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7127 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7129         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7130         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7132         (_ZGVdN4v_cos_avx2): Likewise.
7133         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7134         (_ZGVdN4v_cos): Likewise.
7135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7136         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7137         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7138         (_ZGVdN4v_exp_avx2): Likewise.
7139         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7140         (_ZGVdN4v_exp): Likewise.
7141         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7142         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7143         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7144         (_ZGVdN4v_log_avx2): Likewise.
7145         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7146         (_ZGVdN4v_log): Likewise.
7147         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7148         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7150         (_ZGVdN4vv_pow_avx2): Likewise.
7151         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7152         (_ZGVdN4vv_pow): Likewise.
7153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7154         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7155         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7156         (_ZGVdN4v_sin_avx2): Likewise.
7157         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7158         (_ZGVdN4v_sin): Likewise.
7159         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7160         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7161         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7162         (_ZGVdN4vvv_sincos_avx2): Likewise.
7163         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7164         (_ZGVdN4vvv_sincos): Likewise.
7165         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7166         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7168         (_ZGVbN4v_cosf_sse4): Likewise.
7169         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7170         (_ZGVdN8v_cosf_avx2): Likewise.
7171         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7172         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7173         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7174         (_ZGVbN4v_expf_sse4): Likewise.
7175         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7176         (_ZGVdN8v_expf_avx2): Likewise.
7177         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7178         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7179         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7180         (_ZGVbN4v_logf_sse4): Likewise.
7181         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7182         (_ZGVdN8v_logf_avx2): Likewise.
7183         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7184         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7185         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7186         (_ZGVbN4vv_powf_sse4): Likewise.
7187         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7188         (_ZGVdN8vv_powf_avx2): Likewise.
7189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7190         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7192         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7194         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7196         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7197         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7198         (_ZGVbN4v_sinf_sse4): Likewise.
7199         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7200         (_ZGVdN8v_sinf_avx2): Likewise.
7201         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7202         Use JUMPTARGET to call callee.
7203         (WRAPPER_IMPL_SSE2_ff): Likewise.
7204         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7205         (WRAPPER_IMPL_AVX): Likewise.
7206         (WRAPPER_IMPL_AVX_ff): Likewise.
7207         (WRAPPER_IMPL_AVX_fFF): Likewise.
7208         (WRAPPER_IMPL_AVX512): Likewise.
7209         (WRAPPER_IMPL_AVX512_ff): Likewise.
7210         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7211         Likewise.
7212         (WRAPPER_IMPL_SSE2_ff): Likewise.
7213         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7214         (WRAPPER_IMPL_AVX): Likewise.
7215         (WRAPPER_IMPL_AVX_ff): Likewise.
7216         (WRAPPER_IMPL_AVX_fFF): Likewise.
7217         (WRAPPER_IMPL_AVX512): Likewise.
7218         (WRAPPER_IMPL_AVX512_ff): Likewise.
7219         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7221 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7223         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7224         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7225         qualifier.
7226         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7227         internal_function qualifiers.
7229 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7231         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7232         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7233         * math/atest-exp.c (exp_mpn): Mark chk unused.
7234         * math/atest-exp2.c (exp_mpn): Likwise.
7235         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7236         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7238 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7241         Remove macro.
7242         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7243         <kernel-features.h>.
7244         [__NR_ppoll]: Make code unconditional.
7245         [!__ASSUME_PPOLL]: Remove conditional code.
7247         * sysdeps/unix/sysv/linux/kernel-features.h
7248         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7249         (__ASSUME_ACCEPT4): Likewise.
7250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7251         Define.
7252         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7253         Likewise.
7254         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7255         Likewise.
7256         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7257         Likewise.
7258         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7259         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7260         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7261         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7262         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7263         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7265         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7266         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7267         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7268         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7269         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7270         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7271         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7272         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7273         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7274         Likewise.
7275         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7276         Likewise.
7277         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7278         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7279         0x040300].
7280         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7281         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7282         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7283         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7284         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7285         0x030300].
7286         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7287         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7288         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7289         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7290         0x040300].
7291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7292         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7294         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7296         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7297         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7298         0x030300].
7299         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7300         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7301         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7302         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7303         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7304         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7305         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7306         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7307         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7308         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7309         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7310         0x040300].
7311         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7312         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7313         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7314         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7315         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7316         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7317         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7318         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7319         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7322         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7323         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7324         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7325         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7326         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7327         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7328         Likewise.
7329         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7330         Likewise.
7332 2016-03-15  Andreas Schwab  <schwab@suse.de>
7334         [BZ #19257]
7335         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7336         statp->_u._ext.nscount as loop count.
7338 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7340         * math/test-signgam-finite-c99.c: Also #undef
7341         __LIBC_INTERNAL_MATH_INLINES.
7342         * math/test-signgam-main.c: Likewise.
7344 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7346         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7347         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7348         (MADV_FREE): Likewise.
7349         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7350         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7351         EPOLLEXCLUSIVE.
7353 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7355         * timezone/README: Remove mention of checktab.awk. Mention wiki
7356         SharedSourceFiles.
7358 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7360         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7361         WUNTRACED.
7363 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7365         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7366         order to match the type of p when calling atomic_exchange_acq().
7368 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7370         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7371         cfi_offset calls.
7372         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7373         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7374         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7375         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7376         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7378 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7380         * timezone/checktab.awk: Removed.
7382 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7384         * manual/math.texi (Errors in Math Functions): Document relaxed
7385         accuracy goals for IBM long double.
7386         * math/libm-test.inc (test_exceptions): Always allow spurious
7387         "underflow" and "inexact" exceptions for IBM long double.
7389 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7391         [BZ #19762]
7392         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7393         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7394         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7395         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7396         (bit_arch_*): This for feature array.
7397         (bit_*): Renamed to ...
7398         (bit_cpu_*): This for cpu array.
7399         (index_*): Renamed to ...
7400         (index_arch_*): This for feature array.
7401         (index_*): Renamed to ...
7402         (index_cpu_*): This for cpu array.
7403         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7404         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7405         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7406         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7407         bit_##name with index_cpu_##name and bit_cpu_##name.
7408         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7409         bit_##name with index_arch_##name and bit_arch_##name.
7411 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7413         [BZ #19792]
7414         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7415         Terminate FDE before return label.
7417 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7419         [BZ #19790]
7420         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7421         (rintl): Define as macro.
7422         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7423         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7424         of fesetround.  Ensure results are evaluated before end of scope.
7425         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7426         USE_AS_NEARBYINTL and include s_rintl.c.
7427         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7428         Disable exception traps in new environment.
7429         (libc_feholdsetround_ppc_ctx): Likewise.
7431 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7433         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7434         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7435         (tst_audit10_aux) [__AVX512F__]: ... here.
7437 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7439         * include/sys/auxv.h: New file.
7441 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7443         [BZ #19759]
7444         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7446 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7448         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7449         operand modifier.
7450         (feclearexcept): Likewise.
7452 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7454         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7455         to reflect the entire 32-bit HWCAP.
7456         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7457         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7459 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7461         [BZ #19783]
7462         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7463         $(test-via-rtld-prefix).
7464         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7466 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7468         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7469         union wait.  Report any non-zero exit status as error.
7471 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7473         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7474         configured with --enable-hardcoded-path-in-tests.
7476 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7478         [BZ #19677]
7479         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7480         (__ieee754_remainderl): Put zero low parts in canonical form.
7481         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7482         file.  Based on
7483         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7484         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7485         with wrapper round test-fmodrem-ldbl-128ibm.c.
7486         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7487         file.
7488         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7489         Likewise.
7490         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7491         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7493 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7495         [BZ #19610]
7496         * elf/ldconfig.c (opt_link): Update comment.
7497         (options): Update help string for option -X.
7498         (search_dir): Unlink stale symbolic link only if updating symbolic
7499         links.
7500         * elf/tst-ldconfig-X.sh: New file.
7501         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7502         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7504 2016-03-07  Andreas Schwab  <schwab@suse.de>
7506         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7507         needed arguments.
7509 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7511         [BZ #15333]
7512         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7513         to lstat64.
7515 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7517         * libio/filedoalloc.c (isatty): Remove.
7518         (local_isatty): Add comment.  Call __isatty directly.
7519         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7520         * libio/wfiledoalloc.c (isatty): Remove.
7521         (_IO_wfile_doallocate): Update comment.
7523 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7525         [BZ #19269]
7526         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7527         tst-audit4-aux.o.
7528         (tst-audit10): Depend on tst-audit10-aux.o.
7529         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7530         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7531         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7532         instead of inline AVX code.
7533         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7534         instead of inline AVX512 code.
7535         * sysdeps/x86_64/tst-audit4-aux.c: New file
7536         * sysdeps/x86_64/tst-audit10-aux.c: New file
7538         [BZ #19648]
7539         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7541 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7543         [BZ #14750]
7544         [BZ #10354]
7545         [BZ #18433]
7546         * include/sched.h (__clone): Add hidden prototype.
7547         (__clone2): Likewise.
7548         * include/unistd.h (__dup): Likewise.
7549         * posix/Makefile (tests): Add tst-spawn2.
7550         * posix/tst-spawn2.c: New file.
7551         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7552         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7553         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7554         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7555         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7556         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7557         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7558         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7559         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7560         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7561         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7563         Likewise.
7564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7565         Likewise.
7566         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7567         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7568         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7569         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7570         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7571         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7572         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7573         * sysdeps/unix/sysv/linux/nptl-signals.h
7574         (____nptl_is_internal_signal): New function.
7575         * sysdeps/unix/sysv/linux/spawni.c: New file.
7577         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7578         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7579         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7580         * posix/tst-execvp2.c (do_test): Likewise.
7581         * posix/tst-execvp3.c (do_test): Likewise.
7582         * posix/tst-execvp4.c (do_test): Likewise.
7583         * posix/tst-execvpe1.c: New file.
7584         * posix/tst-execvpe2.c: Likewise.
7585         * posix/tst-execvpe3.c: Likewise.
7586         * posix/tst-execvpe4.c: Likewise.
7587         * posix/tst-execvpe5.c: Likewise.
7588         * posix/tst-execvpe6.c: Likewise.
7590         [BZ #19534]
7591         * posix/execl.c (execl): Remove dynamic memory allocation.
7592         * posix/execle.c (execle): Likewise.
7593         * posix/execlp.c (execlp): Likewise.
7595 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7597         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7598         Replace .text with .text.avx512.
7599         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7600         Likewise.
7602 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7604         * sysdeps/generic/libnsl.abilist: New file.
7605         * sysdeps/generic/libutil.abilist: New file.
7607 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7609         [BZ #19762]
7610         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7611         HAS_ARCH_FEATURE with Fast_Rep_String.
7612         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7613         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7614         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7615         Likewise.
7616         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7617         Likewise.
7618         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7619         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7620         Likewise.
7621         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7622         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7623         Likewise.
7625 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7627         [BZ #19745]
7628         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7629         with *%rax in call.
7631 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7633         [BZ #19745]
7634         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7635         with *__libc_start_main@GOTPCREL(%rip) in call.
7637 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7639         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7640         inside conditional for nonempty $(CXX).
7642         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7643         nonempty.
7645         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7646         to test for empty $(CXX) rather than $(CXX) of "no".
7648 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7650         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7652 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7653             H.J. Lu  <hongjiu.lu@intel.com>
7655         [BZ #18880]
7656         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7657         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7658         enable __memcpy_ssse3_back.
7660 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7662         [BZ #19758]
7663         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7664         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7666 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7668         [BZ #19490]
7669         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7670         (__fentry__): Likewise.
7672 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7674         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7675         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7677 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7679         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7680         __mcount_internal directly.
7681         (C_LABEL(__fentry__)): Likewise.
7682         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7683         directly.
7685 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7687         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7688         (__start_context): Call __setcontext directly.
7690 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7693         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7694         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7695         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7697         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7698         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7699         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7700         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7701         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7702         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7703         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7704         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7705         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7706         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7707         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7708         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7710         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7711         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7712         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7713         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7714         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7715         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7716         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7717         Remove conditional code.
7718         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7719         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7720         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7721         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7722         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7723         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7724         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7725         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7726         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7727         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7728         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7729         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7731 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7733         * NEWS (2.23): Fix typo in bug 19048 text.
7735 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7737         [BZ #14259]
7738         * Makeconfig: Rename msgcatdir to localedir.
7739         Rename inst_msgcatdir to inst_localedir.
7740         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7741         * config.make.in: Add localedir.
7742         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7743         (ldd-rewrite): Likewise.
7744         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7745         (install-others): Use inst_localedir.
7746         (CPPFLAGS): Use localedir.
7747         * locale/Makefile (locale-CPPFLAGS): Likewise.
7748         * po/Makefile (mo-installed): Use inst_localedir.
7750         [BZ #19575]
7751         * localedata/charmaps/GB18030: Update comments regarding PAU to
7752         non-PUA mappings.
7754 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7756         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7757         test for header.
7758         * sysdeps/unix/sysv/linux/configure: Regenerated.
7759         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7760         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7761         Remove conditional code.
7762         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7764         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7765         Define to 3.2.0.
7766         (arch_minimum_kernel): Likewise.
7767         * sysdeps/unix/sysv/linux/configure: Regenerated.
7768         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7769         Define to 2.6.32.
7770         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7771         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7772         (arch_minimum_kernel): Define to 2.6.32.
7773         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7774         * README: Document Linux 3.2 requirement.
7775         * manual/install.texi (Linux): Document Linux 3.2 headers
7776         requirement.
7777         * INSTALL: Regenerated.
7779 2016-02-24  Andreas Schwab  <schwab@suse.de>
7781         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7782         if !NO_LONG_DOUBLE.
7784 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7786         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7787         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7789 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7791         [BZ #19512]
7792         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7794 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7796         * posix/tst-dir.c: Include libc-internal.h.
7798 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7800         [BZ #19056]
7801         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7802         * manual/filesys.texi (Reading/Closing Directory): Mention
7803         deprecaion.
7804         * posix/tst-dir.c (main): Disable deprecation warning in test.
7806 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7808         [BZ #19679]
7809         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7810         Renamed to ...
7811         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7812         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7813         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7814         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7815         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7816         * sysdeps/x86_64/dl-trampoline.h
7817         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7818         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7820 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7822         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7824 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7826         * elf/elf.h (R_386_GOT32X): New.
7827         (R_386_NUM): Update.
7828         (R_X86_64_GOTPCRELX: New.
7829         (R_X86_64_REX_GOTPCRELX): New.
7830         (R_X86_64_NUM): Update.
7832 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7834         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7836 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7838         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7839         assign attr->stackaddr to it, and adjust it down when
7840         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7841         [_STACK_GROWS_UP]: Delete assert.
7842         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7843         Implement stack grows up logic.
7844         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7845         stack grows up logic.
7847 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7849         * NEWS: Update with 2.24 template.
7851 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7853         [BZ #19678]
7854         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7855         Ensure +0.0 is returned when taking the next value below the least
7856         positive value.
7858 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7860         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7861         available.  Do not define NO_THREADS.
7862         * malloc/malloc.c: Do not check NO_THREADS.
7863         * malloc/arena.c: Likewise.
7865 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7867         * malloc/malloc.c (__libc_mallinfo): Update comment.
7868         (struct malloc_par): Remove max_total_mem member, it was always 0.
7869         (int_mallinfo): Store 0 into usmblks (no functional change).
7870         * malloc/hooks.c (struct malloc_state): Document that
7871         max_total_mem is always 0.
7872         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7873         always 0.
7874         * manual/memory.texi (Statistics of Malloc): Likewise.
7876 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7878         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7879         * malloc/arena.c (arena_max): Remove.
7880         (heap_trim, _int_new_arena): Do not update arena_max.
7882 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7884         * resolv/res_init.c (res_ninit): Update comment.
7886 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7888         [BZ #19505]
7889         * posix/spawn_int.h: Add headers and include guard.
7890         (__spawn_valid_fd): New function.
7891         * posix/spawn_faction_addopen.c
7892         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7893         * posix/spawn_faction_addclose.c
7894         (posix_spawn_file_actions_addclose): Likewise.
7895         * posix/spawn_faction_adddup2.c
7896         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7897         second file descriptor.
7898         * posix/spawn_valid_fd.c: New file.
7899         * posix/tst-posix_spawn-fd.c: New file.
7900         * posix/Makefile (routines): Add spawn_valid_fd.
7901         (tests): Add tst-posix_spawn-fd.
7903 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7905         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7906         (do_test): Limit the number of arenas, so that we can use fewer
7907         outer threads.  Limit timeout to 3 seconds, in preparation for a
7908         larger TIMEOUT value.
7910 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7912         [BZ #19674]
7913         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7914         sign in overflowing and underflowing results when overflow or
7915         underflow is detected early.  Include sign in result before rather
7916         than after scaling.
7918         [BZ #19603]
7919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7920         (__ieee754_remainderl): Adjust sign of integer version of low part
7921         when taking absolute value of high part.
7922         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7923         * math/libm-test.inc (remainder_test_data): Add another test.
7924         (remquo_test_data): Likewise.
7926 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7928         [BZ #19602]
7929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7930         equal high parts and both low parts zero specially.
7931         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7932         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7933         Add test-fmodl-ldbl-128ibm.
7935         [BZ #19595]
7936         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7937         common logic for all cases of shifting subnormal results.  Do not
7938         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7939         exponent to ldbl_insert_mantissa in subnormal case.
7941         [BZ #19594]
7942         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7943         on high and low parts then adjust result and use
7944         ldbl_canonicalize_int if needed.
7946         [BZ #19593]
7947         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7948         on high part and __floor or __ceil on low part then use
7949         ldbl_canonicalize_int if needed.
7951         [BZ #19592]
7952         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7953         high and low parts then use ldbl_canonicalize_int if needed.
7955         [BZ #17899]
7956         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7957         New function.
7958         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7959         on high and low parts then use ldbl_canonicalize_int if needed.
7961 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7963         * configure: Regenerated.
7965         * po/libc.pot: Regenerated.
7967         * po/be.po: Updated translation.
7968         * po/bg.po: Likewise.
7969         * po/ca.po: Likewise.
7970         * po/cs.po: Likewise.
7971         * po/da.po: Likewise.
7972         * po/el.po: Likewise.
7973         * po/eo.po: Likewise.
7974         * po/es.po: Likewise.
7975         * po/fi.po: Likewise.
7976         * po/fr.po: Likewise.
7977         * po/gl.po: Likewise.
7978         * po/hr.po: Likewise.
7979         * po/hu.po: Likewise.
7980         * po/ia.po: Likewise.
7981         * po/id.po: Likewise.
7982         * po/it.po: Likewise.
7983         * po/ja.po: Likewise.
7984         * po/lt.po: Likewise.
7985         * po/nb.po: Likewise.
7986         * po/nl.po: Likewise.
7987         * po/pt_BR.po: Likewise.
7988         * po/rw.po: Likewise.
7989         * po/sk.po: Likewise.
7990         * po/sl.po: Likewise.
7991         * po/sv.po: Likewise.
7992         * po/tr.po: Likewise.
7993         * po/zh_CN.po: Likewise.
7994         * po/zh_TW.po: Likewise.
7996         * version.h (RELEAES): Set to "development".
7997         (VERSION): Set to 2.23.90.
7999         * version.h (RELEASE): Set to "stable".
8000         (VERSION): Set to 2.23.
8001         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8003         * NEWS: Updated fixed bugs.
8005 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8006             Wilco Dijkstra  <wdijkstr@arm.com>
8008         [BZ #19462]
8009         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8010         (_STRING_INLINE_unaligned): This.
8011         * include/string.h: Include <string_private.h>.
8012         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8013         _STRING_INLINE_unaligned.
8014         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8015         (_STRING_INLINE_unaligned): New.
8016         * sysdeps/aarch64/string_private.h: New file.
8017         * sysdeps/generic/string_private.h: Likewise.
8018         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8019         * sysdeps/s390/string_private.h: Likewise.
8020         * sysdeps/x86/string_private.h: Likewise.
8021         * sysdeps/m68k/m680x0/m68020/bits/string.h
8022         (_STRING_ARCH_unaligned): Renamed to ...
8023         (_STRING_INLINE_unaligned): This.
8024         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8025         to ...
8026         (_STRING_INLINE_unaligned): This.
8027         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8028         to ...
8029         (_STRING_INLINE_unaligned): This.
8030         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8031         to ...
8032         (_STRING_INLINE_unaligned): This.
8034 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8035             H.J. Lu  <hongjiu.lu@intel.com>
8037         [BZ #19590]
8038         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8039         relocation.
8041 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8043         [BZ #18665]
8044         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8045         *herrno_p.
8046         (gaih_getanswer): Document functional behviour. Return tryagain
8047         if any result is tryagain.
8048         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8049         when freed.
8050         * resolv/res_send.c: Add copyright text.
8051         (__libc_res_nsend): Document that MAXPACKET is expected.
8052         (send_vc): Document. Remove buffer reuse.
8053         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8054         size of the buffer. Add Dprint for truncated UDP buffer.
8056 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8058         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8059         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8060         * INSTALL: Regenerate.
8062 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8063             Jonathan Wakely  <jwakely@redhat.com>
8064             Carlos O'Donell  <carlos@redhat.com>
8066         [BZ 19439]
8067         * math/Makefile (tests): Add test-math-isinff.
8068         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8069         * math/bits/mathcalls.h [__USE_MISC]: Use
8070         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8071         functions not in C++11 and which don't conflict e.g. isinff,
8072         isinfl etc.
8073         * math/test-math-isinff.cc: New file.
8075 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8077         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8079 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8081         [BZ #19529]
8082         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8084 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8086         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8088 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8090         [BZ #19550]
8091         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8092         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8093         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8094         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8095         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8096         New syscall entry.
8097         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8098         New syscall entry.
8099         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8100         syscall entry.
8102 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8104         [BZ #18240]
8105         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8106         unsigned int wraparound.
8108 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8110         [BZ #18240]
8111         * misc/bug18240.c: New test.
8112         * misc/Makefile (tests): Add it.
8114 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8115             Joseph Myers  <joseph@codesourcery.com>
8117         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8118         load in branch delay slot when less than a word of input left.
8120 2016-01-27  Andreas Schwab  <schwab@suse.de>
8122         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8123         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8124         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8125         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8127 2016-01-26  David S. Miller  <davem@davemloft.net>
8129         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8131 2016-01-25  David S. Miller  <davem@davemloft.net>
8133         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8134         __sqrtl_finite.
8135         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8136         instead using versioned_symbol.
8137         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8138         of entries.
8140         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8141         __sqrtl_finite to GLIBC_2.23
8143 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8145         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8147 2016-01-25  Andreas Schwab  <schwab@suse.de>
8149         [BZ #17514]
8150         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8151         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8152         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8153         * nptl/tst-mutex-errorcheck.c: New file.
8155 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8157         [BZ #18560]
8158         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8159         (IPCOP_semop): Likewise.
8160         (IPCOP_semget): Likewise.
8161         (IPCOP_semctl): Likewise.
8162         (IPCOP_msgsnd): Likewise.
8163         (IPCOP_msgrcv): Likewise.
8164         (IPCOP_msgget): Likewise.
8165         (IPCOP_msgctl): Likewise.
8166         (IPCOP_shmat): Likewise.
8167         (IPCOP_shmdt): Likewise.
8168         (IPCOP_shmget): Likewise.
8169         (IPCOP_shmctl): Likewise.
8171 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8173         * string/tst-endian.c: Include <libc-internal.h>.
8174         (do_test): Ignore tautological-compare warnings around
8175         "htobeXX (beXXtoh (i)) != i" and
8176         "htoleXX (leXXtoh (i)) != i" if-statements.
8178 2016-01-24  David S. Miller  <davem@davemloft.net>
8180         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8181         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8182         alias.
8183         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8184         __sqrtl_finite.
8186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8188 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8190         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8191         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8192         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8194 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8196         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8197         (thread_func): Use new function to simplify barrier check.
8198         (do_test): Use new function to simplify checking barrier exit
8199         code, and actually join the child thread.
8201 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8203         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8204         semicolon.
8205         (__libc_tend): Likewise.
8206         (__libc_tabort): Likewise.
8208 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8210         * sysdeps/nios2/libm-test-ulps: Update.
8211         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8212         (__gtsf2): Likewise.
8213         (__unorddf2): Likewise.
8214         (__unordsf2): Likewise.
8215         (__ledf2): Likewise.
8217 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8219         * nis/nis_table.c (__follow_path): Disable diagnostic for
8220         uninitialized variable that is a false positive for gcc 4.7.
8221         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8223 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8225         * sysdeps/nacl/lowlevellock-futex.h
8226         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8227         Always evaluate PRIVATE argument.
8229 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8231         [BZ #19490]
8232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8233         (pthread_cond_broadcast): Use ENTRY/END
8234         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8235         (pthread_cond_signal): Likewise.
8236         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8237         Likewise.
8238         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8239         Likewise.
8240         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8241         Likewise.
8243 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8245         * sysdeps/ieee754/dbl-64/s_finite.c
8246         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8247         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8248         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8249         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8250         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8253         (__gtsf2): Add as optional for libc.so.
8254         (__unordsf2): Likewise.
8255         (__signbit): Remove for libc.so.
8256         (__signbitl): Likewise.
8258 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8260         * iconvdata/bug-iconv11.c (test_ibm93x):
8261         Use %zu printf format specifier for size_t argument.
8263 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8265         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8266         already-recorded ulps.
8267         * sysdeps/arm/libm-test-ulps: Regenerated.
8268         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8269         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8270         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8272 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8273             Paul Pluzhnikov  <ppluzhnikov@google.com>
8275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8276         assembler not supporting AVX-512.
8278 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8280         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8282 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8284         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8285         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8287         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8289         * sysdeps/arm/libm-test-ulps: Regenerated.
8291 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8293         [BZ #19451]
8294         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8296 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8298         [BZ #19486]
8299         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8300         * sysdeps/generic/fix-fp-int-convert-overflow.h
8301         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8302         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8303         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8304         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8305         Likewise.
8306         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8307         Avoid conversions to long int where inexact exceptions
8308         could be raised.
8309         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8310         Likewise.
8311         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8312         Avoid conversions to long long int where inexact exceptions
8313         could be raised.
8314         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8315         Likewise.
8317 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8319         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8320         * configure: Regenerated.
8322 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8324         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8326 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8328         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8329         outside of comment.
8331 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8333         * nptl/tst-barrier1.c: Add description on first line.
8334         * nptl/tst-barrier2.c: Likewise.
8335         * nptl/tst-barrier3.c: Likewise.
8336         * nptl/tst-barrier4.c: Likewise.
8337         * nptl/tst-barrier5.c: Likewise.
8339 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8341         [BZ #18868]
8342         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8344 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8348         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8349         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8350         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8351         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8352         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8353         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8354         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8355         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8356         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8358 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8360         [BZ #13065]
8361         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8362         new implementation.
8363         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8364         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8365         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8366         (BARRIER_IN_THRESHOLD): New macro.
8367         * nptl/pthread_barrierattr_setpshared.c
8368         (pthread_barrierattr_setpshared): Clean up.
8369         * nptl/tst-barrier4.c: Correct comment.
8370         * nptl/tst-barrier5.c: New file.
8371         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8372         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8373         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8374         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8375         * nptl/lowlevelbarrier.sym: Remove.
8376         * nptl/DESIGN-barrier.txt: Remove.
8377         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8378         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8379         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8380         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8381         error.
8382         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8383         implementation.
8385 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8387         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8388         (do_child): Mask SIGRTMIN while thr is running.
8390 2016-01-15  Martin Sebor  <msebor@redhat.com>
8392         [BZ #19432]
8393         * iconvdata/Makefile: Add bug-iconv11.
8394         * iconvdata/bug-iconv11.c: New test.
8395         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8396         * iconvdata/ibm933.c: Same.
8397         * iconvdata/ibm935.c: Same.
8398         * iconvdata/ibm937.c: Same.
8399         * iconvdata/ibm939.c: Same.
8401 2016-01-15  Martin Sebor  <msebor@redhat.com>
8403         [BZ #19443]
8404         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8405         [DEBUG] (_ufc_set_bits): Declare used.
8406         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8407         [DEBUG] (print_all): Declare used.
8408         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8409         operands of the ternary ?: expression to target type.
8410         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8411         calling the undeclared abort.
8412         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8414 2016-01-15  Martin Sebor  <msebor@redhat.com>
8416         [BZ #18755]
8417         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8418         warnings.
8419         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8420         (__gai_create_helper_thread): Same.
8421         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8422         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8423         to suppress -Wmaybe-uninitialized warnings.
8425 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8427         [BZ #19465]
8428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8429         inside if.
8430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8431         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8434 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8436         [BZ #19466]
8437         * time/tst-mktime2.c (time_t_max): Removed.
8438         (time_t_min): Likewise.
8439         (TYPE_SIGNED): New.
8440         (TYPE_MINIMUM): Likewise.
8441         (TYPE_MAXIMUM): Likewise.
8442         (TIME_T_MIN): Likewise.
8443         (TIME_T_MAX): Likewise.
8444         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8445         and TIME_T_MIN.
8446         (do_test): Likewise.
8448 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8450         [BZ #19467]
8451         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8452         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8454 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8456         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8458 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8460         * benchtests/Makefile (PYTHON): Define.
8461         (bench-func): Use $(PYTHON) to run python scripts.
8462         ($(objpfx)bench-%.c): Likewise.
8464 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8466         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8467         leading slash when `file_name' is "/".
8469 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8471         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8472         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8473         Likewise.
8474         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8475         Likewise.
8476         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8477         Likewise.
8478         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8479         enum constant and macro.
8480         (PTRACE_SETSIGMASK): Likewise.
8481         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8482         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8483         (PTRACE_GETSIGMASK): Likewise.
8484         (PTRACE_SETSIGMASK): Likewise.
8485         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8486         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8487         Likewise.
8488         (PTRACE_SETSIGMASK): Likewise.
8489         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8490         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8491         (PTRACE_GETSIGMASK): Likewise.
8492         (PTRACE_SETSIGMASK): Likewise.
8493         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8495         Likewise.
8496         (PTRACE_SETSIGMASK): Likewise.
8497         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8498         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8499         Likewise.
8500         (PTRACE_SETSIGMASK): Likewise.
8501         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8502         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8503         Likewise.
8504         (PTRACE_SETSIGMASK): Likewise.
8505         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8507 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8508             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8510         [BZ #19439]
8511         * math/bits/mathcalls.h
8512         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8513         prototype.
8514         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8516 2016-01-11  Andreas Schwab  <schwab@suse.de>
8518         [BZ #19253]
8519         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8520         cache when TZDEFRULES was used.
8521         * time/tst-tzname.c: New file.
8522         * time/Makefile (test): Add tst-tzname.
8523         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8524         * timezone/Makefile (test-zones): Add $(posixrules-file).
8525         ($(testdata)/$(posixrules-file)): New rule.
8527 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8529         Fix doc quoting problems with Texinfo 5
8530         Without this change, in the info file output, Texinfo 5 quotes code
8531         in text with undirected single quotes 'like this' and generates
8532         code examples that with many PDF readers cannot be cut out of PDFs
8533         and pasted into code.
8534         * manual/libc.texinfo: Configure the libc manual like the GNU
8535         Emacs manual, by using @documentencoding and setting
8536         txicodequoteundirected and txicodequotebacktick.  This way,
8537         Texinfo 5 quotes code in text with directed single quotes ‘like
8538         this’ and produces examples that can be cut out of PDFs.  This
8539         change causes Texinfo 5 to generate info files that contain UTF-8
8540         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8541         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8543 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8545         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8546         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8547         barriers to their respective compiler built-ins.
8548         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8549         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8550         * sysdeps/powerpc/sysdep.h: Likewise.
8551         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8552         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8553         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8555 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8557         * scripts/config.guess: Revert previous shebang change.
8558         * scripts/config.sub: Likewise.
8559         * scripts/mkinstalldirs: Likewise.
8561 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8563         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8564         PPC_FEATURE2_HAS_IEEE128.
8565         * sysdeps/powerpc/dl-procinfo.c:
8566         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8568 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8570         [BZ #19415]
8571         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8572         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8573         (_dl_lookup_address): Rewrite using function resolver trampoline.
8574         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8575         two bits in address.
8577 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8579         * longlong.h: Change !__SHMEDIA__ to
8580         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8581         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8583 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8584             Joseph Myers  <joseph@codesourcery.com>
8585             Mark Shinwell  <shinwell@codesourcery.com>
8586             Andrew Stubbs  <ams@codesourcery.com>
8587             Rich Felker <dalias@libc.org>
8589         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8591 2016-01-07  Richard Henderson  <rth@redhat.com>
8593         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8595 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8597         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8598         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8599         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8600         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8601         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8603 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8604             Joseph Myers  <joseph@codesourcery.com>
8606         * timezone/private.h: Update from tzcode 2015g.
8607         * timezone/tzfile.h: Likewise.
8608         * timezone/tzselect.ksh: Likewise.
8609         * timezone/zdump.c: Likewise.
8610         * timezone/zic.c: Likewise.
8611         * timezone/ialloc.c: Remove file.
8612         * timezone/scheck.c: Likewise.
8613         * timezone/Makefile (extra-objs): Remove variable.
8614         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8615         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8616         -Wno-maybe-uninitialized.
8617         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8618         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8619         (CFLAGS-ialloc.c): Remove variable.
8620         (CFLAGS-scheck.c): Likewise.
8621         * timezone/README: Update list of files from tzcode.
8623 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8625         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8626         instead of __fxprintf when _LIBC is undefined.
8628 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8630         * catgets/test-gencat.sh: Remove space after shebang.
8631         * conform/GlibcConform.pm: Likewise.
8632         * conform/check-header-lists.sh: Likewise.
8633         * conform/conformtest.pl: Likewise.
8634         * conform/linknamespace.pl: Likewise.
8635         * conform/list-header-symbols.pl: Likewise.
8636         * debug/catchsegv.sh: Likewise.
8637         * elf/genrtldtbl.awk: Likewise.
8638         * elf/tst-pathopt.sh: Likewise.
8639         * elf/tst-rtld-load-self.sh: Likewise.
8640         * grp/tst_fgetgrent.sh: Likewise.
8641         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8642         * iconvdata/gen-8bit-gap.sh: Likewise.
8643         * iconvdata/gen-8bit.sh: Likewise.
8644         * iconvdata/run-iconv-test.sh: Likewise.
8645         * intl/tst-gettext.sh: Likewise.
8646         * intl/tst-gettext2.sh: Likewise.
8647         * intl/tst-gettext4.sh: Likewise.
8648         * intl/tst-gettext6.sh: Likewise.
8649         * intl/tst-translit.sh: Likewise.
8650         * io/ftwtest-sh: Likewise.
8651         * libio/test-freopen.sh: Likewise.
8652         * locale/gen-translit.pl: Likewise.
8653         * malloc/tst-mtrace.sh: Likewise.
8654         * manual/check-safety.sh: Likewise.
8655         * manual/libc-texinfo.sh: Likewise.
8656         * manual/tsort.awk: Likewise.
8657         * manual/xtract-typefun.awk: Likewise.
8658         * nptl/tst-cancel-wrappers.sh: Likewise.
8659         * nptl/tst-tls6.sh: Likewise.
8660         * posix/globtest.sh: Likewise.
8661         * posix/tst-getconf.sh: Likewise.
8662         * posix/wordexp-tst.sh: Likewise.
8663         * scripts/check-c++-types.sh: Likewise.
8664         * scripts/check-local-headers.sh: Likewise.
8665         * scripts/config.guess: Likewise.
8666         * scripts/config.sub: Likewise.
8667         * scripts/cpp: Likewise.
8668         * scripts/cross-test-ssh.sh: Likewise.
8669         * scripts/documented.sh: Likewise.
8670         * scripts/evaluate-test.sh: Likewise.
8671         * scripts/gen-libc-abis: Likewise.
8672         * scripts/gen-sorted.awk: Likewise.
8673         * scripts/list-fixed-bugs.py: Likewise.
8674         * scripts/merge-test-results.sh: Likewise.
8675         * scripts/mkinstalldirs: Likewise.
8676         * scripts/rellns-sh: Likewise.
8677         * scripts/test-installation.pl: Likewise.
8678         * scripts/update-copyrights: Likewise.
8679         * stdio-common/tst-printf.sh: Likewise.
8680         * stdio-common/tst-unbputc.sh: Likewise.
8681         * stdlib/tst-fmtmsg.sh: Likewise.
8682         * stdlib/tst-setcontext3.sh: Likewise.
8683         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8684         * sysdeps/unix/make-syscalls.sh: Likewise.
8686 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8688         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8689         asm stw with atomic_exchange_rel.  Add explanatory comment.
8690         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8691         Likewise.
8693 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8695         [BZ #19122]
8696         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8697         * sysdeps/generic/dl-unistd.h: New file.
8698         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8700 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8702          [BZ #19122]
8703          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8704          * sysdeps/generic/dl-mman.h: New file.
8705          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8707 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8709         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8710         trailing whitespace removed.
8711         * scripts/config.guess: Update to version 2016-01-01.
8712         * scripts/config.sub: Update to version 2016-01-01.
8713         * scripts/move-if-change: Update from gnulib.
8715 2016-01-04  Anton Blanchard  <anton@samba.org>
8717         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8718         for array indices.
8719         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8721 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8723         * NEWS: Update copyright dates.
8724         * catgets/gencat.c (print_version): Likewise.
8725         * csu/version.c (banner): Likewise.
8726         * debug/catchsegv.sh: Likewise.
8727         * debug/pcprofiledump.c (print_version): Likewise.
8728         * debug/xtrace.sh (do_version): Likewise.
8729         * elf/ldconfig.c (print_version): Likewise.
8730         * elf/ldd.bash.in: Likewise.
8731         * elf/pldd.c (print_version): Likewise.
8732         * elf/sotruss.sh: Likewise.
8733         * elf/sprof.c (print_version): Likewise.
8734         * iconv/iconv_prog.c (print_version): Likewise.
8735         * iconv/iconvconfig.c (print_version): Likewise.
8736         * locale/programs/locale.c (print_version): Likewise.
8737         * locale/programs/localedef.c (print_version): Likewise.
8738         * login/programs/pt_chown.c (print_version): Likewise.
8739         * malloc/memusage.sh (do_version): Likewise.
8740         * malloc/memusagestat.c (print_version): Likewise.
8741         * malloc/mtrace.pl: Likewise.
8742         * manual/libc.texinfo: Likewise.
8743         * nptl/version.c (banner): Likewise.
8744         * nscd/nscd.c (print_version): Likewise.
8745         * nss/getent.c (print_version): Likewise.
8746         * nss/makedb.c (print_version): Likewise.
8747         * posix/getconf.c (main): Likewise.
8748         * scripts/test-installation.pl: Likewise.
8749         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8751         * All files with FSF copyright notices: Update copyright dates
8752         using scripts/update-copyrights.
8753         * intl/plural.c: Regenerated.
8754         * locale/programs/charmap-kw.h: Likewise.
8755         * locale/programs/locfile-kw.h: Likewise.
8757 2016-01-02  Helge Deller  <deller@gmx.de>
8759         [BZ #19285]
8760         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8761         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8762         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8763         (MADV_xxK_PAGES): Remove.
8765 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8767         [BZ #15421]
8768         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8769         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8770         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8771         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8773 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8775         [BZ #19408]
8776         * sysdeps/unix/sysv/linux/personality.c: New file.
8777         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8778         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8779         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8780         (sysdep_routines): Add personality.
8781         (tests): Add tst-personality.
8782         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8783         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8784         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8785         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8786         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8787         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8788         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8789         Likewise.
8790         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8791         Likewise.
8792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8793         Likewise.
8794         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8795         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8796         Likewise.
8798 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8800         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8801         (PATH_ARM_SYSTYPE): Remove.
8802         (PATH_CPUINFO): Likewise.
8803         (IO_BASE_FOOTBRIDGE): Likewise.
8804         (IO_SHIFT_FOOTBRIDGE): Likewise.
8805         (struct platform): Likewise.
8806         (init_iosys): Remove compatibility code for 2.4 kernels.
8807         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8809 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8811         * malloc/tst-malloc-thread-fail.c: New file.
8812         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8813         (tst-malloc-thread-fail): Link against libpthread.
8815 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8817         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8818         (get_parser): New function.
8819         (main): New function.
8821 2015-12-29  Rob Wu  <rob@robwu.nl>
8823         [BZ #19369]
8824         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8826 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8828         [BZ #19270]
8829         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8831 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8833         [BZ #15421]
8834         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8836 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8838         [BZ #13690]
8839         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8840         after releasing it.
8841         (__lll_robust_unlock): Likewise.
8842         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8843         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8844         (lll_robust_unlock): Likewise.
8845         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8846         Prevent warnings in callers.
8848 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8850         * malloc/arena.c (list_lock): Update comment.
8852 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8854         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8855         __parse_hwcap_and_convert_at_platform to libc.a.
8857 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8859         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8860         platform and feature support for POWER9.
8861         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8862         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8863         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8864         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8865         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8866         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8867         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8868         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8870 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8872         Harmonize generic stdio-lock support with nptl
8874         This fixes build when _IO_funlockfile is a macro, fixes build where
8875         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8876         stack unwind.
8878         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8879         _IO_release_lock ): Use cleanup attribute on new
8880         _IO_acquire_lock_file variable instead of assuming that
8881         _IO_release_lock will be called.
8882         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8883         _IO_acquire_lock_needs_exceptions_enabled.
8884         (_IO_acquire_lock_clear_flags2): New macro.
8886 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8888         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8890 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8892         [BZ #19182]
8893         * malloc/arena.c (list_lock): Document lock ordering requirements.
8894         (free_list_lock): New lock.
8895         (ptmalloc_lock_all): Comment on free_list_lock.
8896         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8897         (detach_arena): Update comment.  free_list_lock is now needed.
8898         (_int_new_arena): Use free_list_lock around detach_arena call.
8899         Acquire arena lock after list_lock.  Add comment, including FIXME
8900         about incorrect synchronization.
8901         (get_free_list): Switch to free_list_lock.
8902         (reused_arena): Acquire free_list_lock around detach_arena call
8903         and attached threads counter update.  Add two FIXMEs about
8904         incorrect synchronization.
8905         (arena_thread_freeres): Switch to free_list_lock.
8906         * malloc/malloc.c (struct malloc_state): Update comments to
8907         mention free_list_lock.
8909 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8911         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8912         Remove functions.
8913         (sloww, sloww1): Accept argument to offset quadrant.
8914         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8915         quadrant.
8916         (__sin, __cos): Consolidate common code into new functions.
8917         (reduce_sincos_1, do_sincos_1): New functions.
8918         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8921         code to new functions.
8922         (reduce_sincos_2, do_sincos_2): New functions.
8923         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8925         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8926         common code for sincos.
8927         (__cos) [!IN_SINCOS]: Likewise.
8928         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8929         New function.
8930         (__sincos): Use it.
8932 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8934         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8935         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8936         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8938 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8940         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8943         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8944         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8945         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8946         index_Prefer_No_VZEROUPPER): New feature.
8947         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8948         Prefer_No_VZEROUPPER for Knights Landing.
8950 015-12-18  Torvald Riegel  <triegel@redhat.com>
8952         * math/atest-exp2.c (mp_exp_m1): Remove.
8954 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8956         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8957         syscalls.
8958         (__SYSCALL0): New macro.
8959         (__SYSCALL1): Likewise.
8960         (__SYSCALL2): Likewise.
8961         (__SYSCALL3): Likewise.
8962         (__SYSCALL4): Likewise.
8963         (__SYSCALL5): Likewise.
8964         (__SYSCALL6): Likewise.
8965         (__SYSCALL_CONCAT_X): Likewise.
8966         (__SYSCALL_CONCAT): Likewise.
8967         (__SYSCALL_DIST): Likewise.
8968         (__SYSCALL_CALL): Likewise.
8970 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8972         [BZ #19363]
8973         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8975 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8977         [BZ #19375]
8978         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8979         negative subnormals.
8981 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8984         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8985         (INTERNAL_SYSCALL_NCS): Use it.
8986         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8988 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8990         [BZ #19243]
8991         * malloc/arena.c (get_free_list): Remove assert and adjust
8992         reference count handling.  Add comment about reused_arena
8993         interaction.
8994         (reused_arena): Add comments abount get_free_list interaction.
8995         * malloc/tst-malloc-thread-exit.c: New file.
8996         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8997         (tst-malloc-thread-exit): Link against libpthread.
8999 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9001         [BZ #19367]
9002         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9003         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9004         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9005         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9006         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9008 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9010         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9011         Silvermont optimizations for Knights Landing.
9013 2015-12-15  Andreas Schwab  <schwab@suse.de>
9015         [BZ #17197]
9016         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9017         immediately after emitting SI.
9018         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9019         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9020         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9021         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9022         * iconvdata/bug-iconv10.c: New file.
9023         * iconvdata/Makefile (tests): Add bug-iconv10.
9024         ($(objpfx)bug-iconv10.out): New rule.
9026 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9028         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9029         aliasing violation.
9031 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9033         [BZ #18472]
9034         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9035         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9036         conditionals for them.
9037         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9038         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9040         sys/kdaemon.h.
9041         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9042         compat-only syscall, obsoleted in glibc 2.23.
9043         (create_module): Likewise.
9044         (get_kernel_syms): Likewise.
9045         (query_module): Likewise.
9046         (uselib): Likewise.
9047         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9049 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9051         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9052         <linux/version.h>.
9053         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9054         conditional code.
9055         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9056         and ioshift_name initialization.
9058 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9060         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9061         Fix indentation.
9063 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9065         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9067 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9069         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9071 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9072             Jakub Wilk  <jwilk@debian.org>
9074         [BZ #19347]
9075         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9076         to change the group of the device to the tty group.
9078 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9080         Split large string section; add truncation advice
9081         * manual/examples/strncat.c: Remove.
9082         This example was misleading, as the code would have undefined
9083         behavior if "hello" was longer than SIZE.  Anyway, the manual
9084         shouldn't encourage strncpy+strncat for this sort of thing.
9085         * manual/string.texi (Copying Strings and Arrays): Split into
9086         three sections Copying Strings and Arrays, Concatenating Strings,
9087         and Truncating Strings, as this section was way too long.  All
9088         cross-referenced changed.  Add advice about string-truncation
9089         functions.  Remove misleading strncat example.
9091 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9093         * manual/nss.texi (NSS Modules Interface): Document
9094         NSS_STATUS_NOTFOUND and SUCCESS.
9096 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9098         [BZ 18568]
9099         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9100         201505L, for Unicode 8.
9102 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9104         * locale/C-translit.h: Regenerate.
9106 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9108         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9109         and U+0153.
9111 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9113         [BZ #19351]
9114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9115         expanding log(1+z), compare z rather than its square with epsilon
9116         to determine when to avoid evaluating the expansion.
9118         [BZ #19350]
9119         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9120         Increase overflow threshold.
9122         [BZ #19349]
9123         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9124         when small.
9126         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9127         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9128         New macro.
9129         [__LINUX_KERNEL_VERSION >= 0x040300]
9130         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9132         Likewise.
9133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9134         Likewise.
9135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9136         Likewise.
9137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9138         Likewise.
9139         [__LINUX_KERNEL_VERSION >= 0x040300]
9140         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9141         [__LINUX_KERNEL_VERSION >= 0x040300]
9142         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9143         [__LINUX_KERNEL_VERSION >= 0x040300]
9144         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9145         [__LINUX_KERNEL_VERSION >= 0x040300]
9146         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9147         [__LINUX_KERNEL_VERSION >= 0x040300]
9148         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9149         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9150         Likewise.
9151         [__LINUX_KERNEL_VERSION >= 0x040300]
9152         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9154         Likewise.
9155         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9156         Likewise.
9157         [__LINUX_KERNEL_VERSION >= 0x040300]
9158         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9160         Likewise.
9161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9162         Likewise.
9163         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9165         Likewise.
9166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9167         Likewise.
9168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9169         Likewise.
9170         [__LINUX_KERNEL_VERSION >= 0x040300]
9171         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9173         Likewise.
9174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9175         Likewise.
9176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9177         Likewise.
9178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9179         Likewise.
9180         [__LINUX_KERNEL_VERSION >= 0x040300]
9181         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9182         [__LINUX_KERNEL_VERSION >= 0x040300]
9183         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9184         [__LINUX_KERNEL_VERSION >= 0x040300]
9185         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9186         [__LINUX_KERNEL_VERSION >= 0x040300]
9187         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9188         [__LINUX_KERNEL_VERSION >= 0x040300]
9189         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9191         Likewise.
9192         [__LINUX_KERNEL_VERSION >= 0x040300]
9193         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9195         Likewise.
9196         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9197         Likewise.
9198         [__LINUX_KERNEL_VERSION >= 0x040300]
9199         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9201         Likewise.
9202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9203         Likewise.
9204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9205         (__ASSUME_SOCKET_SYSCALL): Likewise.
9206         (__ASSUME_BIND_SYSCALL): Likewise.
9207         (__ASSUME_CONNECT_SYSCALL): Likewise.
9208         (__ASSUME_LISTEN_SYSCALL): Likewise.
9209         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9210         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9211         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9212         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9213         (__ASSUME_SEND_SYSCALL): Likewise.
9214         (__ASSUME_SENDTO_SYSCALL): Likewise.
9215         (__ASSUME_RECV_SYSCALL): Likewise.
9216         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9217         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9218         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9219         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9220         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9221         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9222         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9223         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9224         Likewise.
9225         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9226         Likewise.
9227         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9228         Likewise.
9229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9230         Likewise.
9231         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9232         Likewise.
9233         [__LINUX_KERNEL_VERSION >= 0x020625]
9234         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9235         [__LINUX_KERNEL_VERSION >= 0x020625]
9236         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9237         [__LINUX_KERNEL_VERSION >= 0x020625]
9238         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9239         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9240         Likewise.
9241         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9242         Likewise.
9243         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9244         Likewise.
9245         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9246         Likewise.
9247         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9248         Likewise.
9249         [__LINUX_KERNEL_VERSION >= 0x020625]
9250         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9251         [__LINUX_KERNEL_VERSION >= 0x020625]
9252         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9253         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9254         Likewise.
9255         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9256         Likewise.
9258 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9260         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9261         record the current if the current ABI and CPU support the FP64
9262         extension.
9263         (has-modd-spreg): Define to record the current if the current ABI and
9264         CPU support 32-bit floating point values in odd FPU registers.
9265         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9266         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9267         $(has-modd-spreg) equals yes.
9268         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9269         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9270         $(has-modd-spreg) equal yes.
9272 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9274         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9275         basename.
9277 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9279         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9280         (bench-string): ... here.
9281         (bench): Add bench-string.
9282         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9283         to *-benchset to reflect what they are.
9284         (benchset): Adjust.
9286         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9287         cos-inputs.
9289 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9291         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9292         __attribute__ ((__simd__)) for vector math function declarations.
9294 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9296         Fix typo in strncat, wcsncat manual entries
9297         * manual/string.texi (Copying and Concatenation): Fix typos in
9298         sample implementations of strncat and wcsncat, by having them use
9299         the old value of the destination length, not the new one.
9301 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9303         [BZ #16961]
9304         [BZ #16962]
9305         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9306         string on the stack for strtod.
9307         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9308         a string on the stack for strtof.
9309         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9310         constructing a string on the stack for strtold.
9311         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9312         __strtold_nan to GLIBC_PRIVATE.
9313         * math/test-nan-overflow.c: New file.
9314         * math/test-nan-payload.c: Likewise.
9315         * math/Makefile (tests): Add test-nan-overflow and
9316         test-nan-payload.
9318 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9320         Consistency about byte vs character in string.texi
9321         * manual/string.texi (String and Array Utilities):
9322         Distinguish more carefully among bytes, multibyte characters,
9323         and wide characters.  Use "byte" when talking about C 'char',
9324         to distinguish it more clearly from multibyte characters.
9325         Say "wide character" or "multibyte character" instead of
9326         "character", when a wide or multibyte character is intended.
9327         Similarly for "multibyte string" versus "string".
9328         Define these terms more carefully.
9330 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9332         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9333         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9334         Likewise.
9335         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9336         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9337         * sysdeps/sh/math_private.h: New file.
9338         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9339         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9340         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9341         long double function name.
9342         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9343         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9344         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9345         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9346         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9348         Remove __finitel, __isinfl, and __isnanl.
9349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9350         Likewise.
9351         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9353         Remove __finitel.
9354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9355         Likewise.
9356         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9358 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9360         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9361         installed libmvec_nonshared.a.
9363 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9365         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9366         (sysdep_routines): Likewise.
9367         (sysdep-rtld-routines): Likewise.
9368         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9369         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9370         * sysdeps/powerpc/Versions: Added new
9371         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9372         * sysdeps/powerpc/hwcapinfo.c: New file.
9373         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9374         and parse hwcap, hwcap2 and platform number information.
9375         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9376         to store HWCAP+HWCAP2 and platform number.
9377         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9378         for HWCAP+HWCAP2 and platform number in the TCB.
9379         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9380         the HWCAP, HWCAP2 and platform number in the TCB.
9381         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9382         (TLS_INIT_TP): Included calls to add the hwcap and
9383         at_platform values in the TCB in TP initialization.
9384         (TLS_DEFINE_INIT_TP): Likewise.
9385         (THREAD_GET_HWCAP): New macro.
9386         (THREAD_SET_HWCAP): Likewise.
9387         (THREAD_GET_AT_PLATFORM): Likewise.
9388         (THREAD_SET_AT_PLATFORM): Likewise.
9389         * sysdeps/powerpc/powerpc32/dl-machine.h:
9390         (dl_platform_init): New function that calls
9391         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9392         powerpc32.
9393         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9394         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9395         this functionality, static linking case.
9396         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9397         linking case.
9398         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9399         __parse_hwcap_and_convert_at_platform for the static linking case.
9400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9401         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9402         ABI list for GLIBC 2.23.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9406         Likewise.
9408 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9410         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9411         * configure: Regenerate.
9412         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9413         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9415 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9417         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9418         * iconvdata/ibm933.c: Likewise.
9419         * iconvdata/ibm935.c: Likewise.
9420         * iconvdata/ibm937.c: Likewise.
9421         * iconvdata/ibm939.c: Likewise.
9423 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9425         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9426         pthread_join.
9427         * nptl/tst-cancel21.c (tf): Likewise.
9429 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9431         [BZ #19313]
9432         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9433         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9434         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9435         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9436         Likewise.
9437         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9438         Likewise.
9439         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9440         Likewise.
9441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9442         Likewise.
9443         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9444         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9445         unsigned long int with __CPU_MASK_TYPE.
9447 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9449         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9451 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9453         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9454         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9455         t512.x.
9456         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9458 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9460         [BZ #19214]
9461         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9462         argument to return extended model.  Update family and model
9463         with extended family and model when family == 0x0f.
9464         (init_cpu_features): Updated.
9466 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9468         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9469         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9471         * sysdeps/mach/hurd/mmap64.c: New file.
9473 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9475         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9476         rights for its main user thread in NEWTASK.
9478 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9480         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9481         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9483 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9485         [BZ #14259]
9486         * Makeconfig: Rename localedir to complocaledir.
9487         Rename inst_localedir to inst_complocaledir.
9488         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9489         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9490         * configure.ac: Use libc_cv_complocaledir.
9491         * configure: Regenerate.
9492         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9493         -DCOMPLOCALEDIR.
9494         * locale/findlocale.c: Use COMPLOCALEDIR.
9495         * locale/loadarchive.c: Likewise.
9496         * locale/programs/locale.c: Likewise.
9497         * locale/programs/localedef.c: Likewise.
9498         * locale/programs/locarchive.c: Likewise.
9499         * localedata/Makefile: Use inst_complocaledir.
9500         * sysdeps/gnu/configure: Regenerate.
9501         * sysdeps/hppa/configure: Regenerate.
9502         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9503         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9505         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9506         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9507         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9508         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9510 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9512         [BZ #19058]
9513         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9514         AS_NEEDED.
9515         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9516         workaround.
9517         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9518         libmvec-static-only-routines): Added new file.
9519         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9521 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9523         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9524         of interrupted RPC instead of restoring it.
9526         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9527         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9528         libc_hidden_def.
9529         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9530         into initialized data instead of common. Define rtld_hidden_data_def.
9531         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9532         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9533         libc_hidden_def.
9534         (if_freenameindex): Add libc_hidden_weak.
9535         (if_nameindex): Add libc_hidden_weak.
9536         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9537         __open64.
9538         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9539         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9540         * sysdeps/mach/nanosleep.c: Include <time.h>
9541         (__nanosleep): Rename to __libc_nanosleep.
9542         (__nanosleep): Add weak_alias.
9543         (nanosleep): Update alias.
9545 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9547         * stdlib/strtod_nan.c: New file.
9548         * stdlib/strtod_nan_double.h: Likewise.
9549         * stdlib/strtod_nan_float.h: Likewise.
9550         * stdlib/strtod_nan_main.c: Likewise.
9551         * stdlib/strtod_nan_narrow.h: Likewise.
9552         * stdlib/strtod_nan_wide.h: Likewise.
9553         * stdlib/strtof_nan.c: Likewise.
9554         * stdlib/strtold_nan.c: Likewise.
9555         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9556         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9557         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9558         * wcsmbs/wcstod_nan.c: Likewise.
9559         * wcsmbs/wcstof_nan.c: Likewise.
9560         * wcsmbs/wcstold_nan.c: Likewise.
9561         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9562         strtold_nan.
9563         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9564         wcstof_nan.
9565         * include/stdlib.h (__strtof_nan): Declare and use
9566         libc_hidden_proto.
9567         (__strtod_nan): Likewise.
9568         (__strtold_nan): Likewise.
9569         (__wcstof_nan): Likewise.
9570         (__wcstod_nan): Likewise.
9571         (__wcstold_nan): Likewise.
9572         * include/wchar.h (____wcstoull_l_internal): Declare.
9573         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9574         (____strtoull_l_internal): Remove declaration.
9575         (STRTOF_NAN): Define macro.
9576         (SET_MANTISSA): Remove macro.
9577         (STRTOULL): Likewise.
9578         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9579         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9580         (STRTOF_NAN): Define macro.
9581         (SET_MANTISSA): Remove macro.
9582         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9583         (SET_MANTISSA): Remove macro.
9584         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9585         macro.
9586         (SET_MANTISSA): Remove macro.
9587         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9588         macro.
9589         (SET_MANTISSA): Remove macro.
9590         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9591         (SET_MANTISSA): Remove macro.
9592         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9593         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9594         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9596         [BZ #19266]
9597         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9598         upper case and lower case letters inside NAN(), not using TOLOWER.
9599         * stdlib/tst-strtod-nan-locale-main.c: New file.
9600         * stdlib/tst-strtod-nan-locale.c: Likewise.
9601         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9602         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9603         Depend on $(gen-locales).
9604         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9605         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9606         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9607         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9608         Depend on $(gen-locales).
9609         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9611 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9613         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9615         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9617         __finitel, __isinfl, and __isnanl.
9618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9619         Likewise.
9620         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9622         __finitel.
9623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9624         Likewise.
9625         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9627 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9629         * malloc/memusage.c (me): Remove redundant getenv call.
9631 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9633         [BZ #19143]
9634         [BZ #19164]
9635         * nptl/check-cpuset.h: Remove.
9636         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9637         Remove CPU set size check.
9638         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9639         Likewise.
9640         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9641         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9642         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9643         (__pthread_setaffinity_new): Remove CPU set size check.
9644         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9645         (__kernel_cpumask_size): Remove.
9646         (__sched_setaffinity_new): Remove CPU set size check.
9647         * manual/threads.texi (Default Thread Attributes): Remove stale
9648         reference to check_cpuset_attr, determine_cpumask_size in comment.
9649         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9650         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9651         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9652         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9653         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9654         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9655         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9656         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9657         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9658         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9659         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9660         skeleton test file.
9661         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9662         tst-affinity-pid.
9664 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9666         * scripts/update-abilist.sh: New file.
9667         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9668         * Makerules (update-all-abi-%, update-all-abi)
9669         (subdir_update-all-abi): New targets.
9670         * elf/Makefile (update-all-abi): New target.
9672 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9674         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9675         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9676         (__libc_lock_define_initialized): Use it.
9677         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9678         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9679         * malloc/malloc.c (main_arena): Likewise.
9680         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9681         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9683 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9685         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9686         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9687         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9688         (PTRACE_O_MASK): Update value.
9689         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9690         New value in enum __ptrace_setoptions.
9691         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9692         (PTRACE_O_MASK): Update value.
9693         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9694         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9695         (PTRACE_O_MASK): Update value.
9696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9697         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9698         (PTRACE_O_MASK): Update value.
9699         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9700         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9701         (PTRACE_O_MASK): Update value.
9702         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9703         New value in enum __ptrace_setoptions.
9704         (PTRACE_O_MASK): Update value.
9705         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9706         New value in enum __ptrace_setoptions.
9707         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9708         (PTRACE_O_MASK): Update value.
9710         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9711         New macro.
9712         (PACKET_AUXDATA): Likewise.
9713         (PACKET_ORIGDEV): Likewise.
9714         (PACKET_VERSION): Likewise.
9715         (PACKET_HDRLEN): Likewise.
9716         (PACKET_RESERVE): Likewise.
9717         (PACKET_TX_RING): Likewise.
9718         (PACKET_LOSS): Likewise.
9719         (PACKET_VNET_HDR): Likewise.
9720         (PACKET_TX_TIMESTAMP): Likewise.
9721         (PACKET_TIMESTAMP): Likewise.
9722         (PACKET_FANOUT): Likewise.
9723         (PACKET_TX_HAS_OFF): Likewise.
9724         (PACKET_QDISC_BYPASS): Likewise.
9725         (PACKET_ROLLOVER_STATS): Likewise.
9726         (PACKET_FANOUT_DATA): Likewise.
9727         (PACKET_MR_UNICAST): Likewise.
9729         [BZ #19242]
9730         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9731         (TOUPPER): Likewise.
9732         * stdlib/tst-strtol-locale-main.c: New file.
9733         * stdlib/tst-strtol-locale.c: Likewise.
9734         * stdlib/Makefile (tests): Add tst-strtol-locale.
9735         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9736         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9737         Depend on $(gen-locales).
9738         * wcsmbs/tst-wcstol-locale.c: New file.
9739         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9740         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9741         tr_TR.ISO-8859-9.
9742         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9743         Depend on $(gen-locales).
9745 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9747         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9748         __glibc_likely instead of __builtin_expect.  After falling back to
9749         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9750         system interface to register the code pages as occupied.
9752 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9754         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9755         [!ARM_MATH_PRIVATE_H].
9756         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9757         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9758         [!HPPA_MATH_PRIVATE_H].
9759         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9760         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9761         to [!I386_MATH_PRIVATE_H].
9762         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9763         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9764         Change guard to [!M68K_MATH_PRIVATE_H].
9765         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9766         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9767         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9768         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9769         macro.
9770         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9771         [!MIPS_MATH_PRIVATE_H].
9772         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9773         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9774         [!NIO2_MATH_PRIVATE_H].
9775         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9776         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9777         [!TILE_MATH_PRIVATE_H].
9778         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9780         [BZ #15421]
9781         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9782         initialize with 0 and define as weak alias of __signgam.
9783         * include/math.h [!_ISOMAC] (__signgam): Declare.
9784         * math/Makefile (libm-calls): Add w_lgamma_compat.
9785         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9786         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9787         test-signgam-ullong-init.
9788         (tests-static): Add test-signgam-uchar-static,
9789         test-signgam-uchar-init-static, test-signgam-uint-static,
9790         test-signgam-uint-init-static, test-signgam-ullong-static and
9791         test-signgam-ullong-init-static.
9792         (CFLAGS-test-signgam-uchar.c): New variable.
9793         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9794         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9795         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9796         (CFLAGS-test-signgam-uint.c): Likewise.
9797         (CFLAGS-test-signgam-uint-init.c): Likewise.
9798         (CFLAGS-test-signgam-uint-static.c): Likewise.
9799         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9800         (CFLAGS-test-signgam-ullong.c): Likewise.
9801         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9802         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9803         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9804         * math/Versions (libm): Add GLIBC_2.23.
9805         * math/lgamma-compat.h: New file.
9806         * math/test-signgam-main.c: Likewise.
9807         * math/test-signgam-uchar-init-static.c: Likewise.
9808         * math/test-signgam-uchar-init.c: Likewise.
9809         * math/test-signgam-uchar-static.c: Likewise.
9810         * math/test-signgam-uchar.c: Likewise.
9811         * math/test-signgam-uint-init-static.c: Likewise.
9812         * math/test-signgam-uint-init.c: Likewise.
9813         * math/test-signgam-uint-static.c: Likewise.
9814         * math/test-signgam-uint.c: Likewise.
9815         * math/test-signgam-ullong-init-static.c: Likewise.
9816         * math/test-signgam-ullong-init.c: Likewise.
9817         * math/test-signgam-ullong-static.c: Likewise.
9818         * math/test-signgam-ullong.c: Likewise.
9819         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9820         wrapper of w_lgamma_main.c.
9821         * math/w_lgamma_compat.c: New file.
9822         * math/w_lgamma_compatf.c: Likewise.
9823         * math/w_lgamma_compatl.c: Likewise.
9824         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9825         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9826         defining compatibility symbols.
9827         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9828         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9829         wrapper of w_lgammaf_main.c.
9830         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9831         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9832         defining compatibility symbols.
9833         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9834         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9835         wrapper of w_lgammal_main.c.
9836         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9837         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9838         defining compatibility symbols.
9839         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9840         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9841         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9842         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9843         <lgamma-compat.h>.
9844         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9845         (__ieee754_gamma): Define as alias.
9846         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9847         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9848         <lgamma-compat.h>.
9849         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9850         (__ieee754_gammaf): Define as alias.
9851         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9852         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9853         <lgamma-compat.h>.
9854         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9855         (__ieee754_gammal): Define as alias.
9856         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9857         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9858         <math/w_lgamma_compat.c>.
9859         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9860         Define as alias of __lgamma_compat and use in defining lgammal.
9861         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9862         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9863         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9864         (USE_AS_COMPAT): New macro.
9865         (LGAMMA_OLD_VER): Undefine and redefine.
9866         (lgammal): Do not define here.
9867         (gammal): Only define here if [GAMMA_ALIAS].
9868         * conform/linknamespace.pl (@whitelist): Remove signgam.
9869         * sysdeps/nacl/libm.abilist: Update.
9870         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9871         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9872         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9873         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9874         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9875         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9876         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9877         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9878         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9879         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9880         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9881         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9883         Likewise.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9885         Likewise.
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9887         Likewise.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9889         Likewise.
9890         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9891         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9892         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9893         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9894         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9896         Likewise.
9897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9900         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9901         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9903 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9905         [BZ #16364]
9906         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9907         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9909 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9911         * sysdeps/s390/fpu/bits/mathinline.h:
9912         Use __asm__ [__volatile__] instead of asm [volatile].
9913         * sysdeps/s390/abort-instr.h: Likewise.
9914         * sysdeps/s390/atomic-machine.h: Likewise.
9915         * sysdeps/s390/bits/string.h: Likewise.
9916         * sysdeps/s390/dl-tls.h: Likewise.
9917         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9918         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9919         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9920         * sysdeps/s390/fpu/fesetround.c: Likewise.
9921         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9922         * sysdeps/s390/fpu/s_fma.c: Likewise.
9923         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9924         * sysdeps/s390/memusage.h: Likewise.
9925         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9926         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9927         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9928         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9929         * sysdeps/s390/nptl/tls.h: Likewise.
9930         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9931         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9932         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9933         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9934         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9935         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9936         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9937         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9938         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9939         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9940         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9941         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9942         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9943         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9944         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9945         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9946         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9947         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9948         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9950         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9952         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9954 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9955             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9957         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9958         Add lwarx hint, and use macro for acquire instruction.
9959         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9960         Likewise.
9961         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9962         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9963         update to use new atomic macros.
9965 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9967         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9968         (__lll_trylock_elision): Fix setting of adapt_count.
9969         * sysdeps/unix/sysv/linux/powerpc/htm.h
9970         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9971         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9972         (_ABORT_SYSCALL): Renumber, and clarify definition.
9973         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9975 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9977         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9978         after system headers to prevent MIN/MAX redefinition.  Define
9979         HAVE_ALLOCA to preserve builtin alloca usage.
9981 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9984         static and don't set or restore rounding.
9985         (__cos)[IN_SINCOS]: Likewise.
9986         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9987         (__sincos): Set and restore rounding mode.  Remove check for infinite
9988         or NaN input.
9990         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9992         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9993         as used.
9995 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9997         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9999 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10001         * config.make.in (have-glob-dat-reloc): New.
10002         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10003         target supports GLOB_DAT relocaton. AC_SUBST.
10004         * configure: Regenerated.
10005         * elf/Makefile (tests): Add tst-prelink.
10006         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10007         (tst-prelink-ENV): New.
10008         ($(objpfx)tst-prelink-conflict.out): Likewise.
10009         ($(objpfx)tst-prelink-cmp.out): Likewise.
10010         * sysdeps/x86/tst-prelink.c: Moved to ...
10011         * elf/tst-prelink.c: Here.
10012         * sysdeps/x86/tst-prelink.exp: Moved to ...
10013         * elf/tst-prelink.exp: Here.
10014         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10015         (tst-prelink-ENV): Removed.
10016         ($(objpfx)tst-prelink-conflict.out): Likewise.
10017         ($(objpfx)tst-prelink-cmp.out): Likewise.
10018         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10020 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10022         [BZ #14551]
10023         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10024         (__mpn_construct_long_double): If high part overflows to infinity,
10025         set errno and recompute overflowed result of the correct sign.
10026         * sysdeps/ieee754/ldbl-128ibm/Makefile
10027         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10028         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10029         $(libm).
10030         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10032 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10034         [BZ #15479]
10035         [BZ #19238]
10036         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10037         floating-point state after first operation on input.  Restore full
10038         state rather than just rounding mode.
10039         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10040         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10041         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10043         [BZ #19235]
10044         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10045         add 0.5 to integer arguments.
10046         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10047         Likewise.
10048         (.LC2): New object.
10050 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10052         * scripts/pylintrc (reports): Set to no.
10054 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10056         * elf/dl-load.c (open_verify): Take new argument FD.
10057         Skip __open call if passed FD is not -1.
10058         (_dl_map_object, open_path): Update callers.
10059         * elf/dl-sysdep-open.h: New file.
10060         * elf/dl-load.c: Include it.
10061         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10062         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10063         * sysdeps/nacl/dl-sysdep-open.h: New file.
10064         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10065         from libc to rtld.
10067 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10069         [BZ #19228]
10070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10071         and restore full floating-point state.
10072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10073         Likewise.
10074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10075         Likewise.
10076         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10077         Likewise.
10078         * math/test-nearbyint-except-2.c: New file.
10079         * math/Makefile (tests): Add test-nearbyint-except-2.
10081 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10083         [BZ #19178]
10084         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10085         (tst-prelink-ENV): New.
10086         ($(objpfx)tst-prelink-conflict.out): Likewise.
10087         ($(objpfx)tst-prelink-cmp.out): Likewise.
10088         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10089         * sysdeps/x86/tst-prelink.c: New file.
10090         * sysdeps/x86/tst-prelink.exp: Likewise.
10092 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10094         * math/auto-libm-test-in: Add another test of pow.
10095         * math/auto-libm-test-out: Regenerated.
10096         * math/libm-test.inc (pow_test_data): Add another test.
10098 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10100         [BZ #19219]
10101         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10102         weak_alias to nearbyintl.
10104 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10106         * sysdeps/aarch64/bits/string.h: New file.
10107         (_STRING_ARCH_unaligned): Define.
10109 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10111         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10112         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10113         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10114         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10117 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10119         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10120         for original name of the DSO.  Add it to the name list of the DSO
10121         if it is actually given.
10122         (_dl_map_object): Keep track of whether an audit module rewrote
10123         the file name.  If yes, pass the original name to
10124         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10125         debugging is enabled, log the change of the file name.
10126         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10127         _dl_map_object_from_fd.
10128         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10129         * elf/tst-audit11.c: New file
10130         * elf/tst-auditmod11.c: New file.
10131         * elf/tst-audit11mod1.c: New file.
10132         * elf/tst-audit11mod2.c: New file.
10133         * elf/tst-audit11mod2.map: New file.
10134         * elf/tst-audit12.c: New file
10135         * elf/tst-auditmod12.c: New file.
10136         * elf/tst-audit12mod1.c: New file.
10137         * elf/tst-audit12mod2.c: New file.
10138         * elf/tst-audit12mod2.map: New file.
10139         * elf/tst-audit12mod3.c: New file.
10141 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10143         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10144         Don't create weak aliases,
10145         because versioned symbols are created later.
10146         * sysdeps/s390/s390-32/setjmp.S
10147         (setjmp, _setjmp): Remove weak and rename to an unique name
10148         in SHARED case due to existing versioned symbols.
10149         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10150         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10151         (getcontext): Create weak alias only in non SHARED case.
10152         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10154 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10156         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10157         (__ASSUME_*_SYSCALL) Define new macros.
10158         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10159         Remove socketcall syscalls.
10160         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10161         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10162         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10163         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10164         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10165         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10167 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10169         [BZ #12926]
10170         Terminate process on invalid netlink response.
10171         * sysdeps/unix/sysv/linux/netlinkaccess.h
10172         (__netlink_assert_response): Declare.
10173         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10174         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10175         (sysdep_routines): Add netlink_assert_response.
10176         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10177         __netlink_assert_response.
10178         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10179         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10180         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10181         __netlink_assert_response.
10183 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10185         [BZ #19178]
10186         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10187         (RTYPE_CLASS_PLT): Likewise.
10188         (RTYPE_CLASS_COPY): Likewise.
10189         (RTYPE_CLASS_TLS): Likewise.
10190         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10191         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10192         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10193         DL_DEBUG_PRELINK.
10195 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10197         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10198         calls with argument -0.5.
10199         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10201         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10202         (libc_cv_z_nodlopen): Likewise.
10203         (libc_cv_z_initfirst): Likewise.
10204         * configure: Regenerated.
10206 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10208         Simplify abilist format to be line-based.
10209         * scripts/abilist.awk: Collect descriptors in the descs variable.
10210         (emit): Write descs variable and sort it
10211         externally, with sort.
10212         * sysdeps/**/*.abilist: Convert to new format.
10214 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10216         [BZ #11460]
10217         * io/Makefile (routines): Add fts64.
10218         (tests): Add tst-fts and tst-fts-lfs.
10219         (CFLAGS-fts64.c): New.
10220         * io/Versions (GLIBC_2.23): New.
10221         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10222         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10223         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10224         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10225         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10226         (FTSENT64): Likewise.
10227         (fts64_children): Likewise.
10228         (fts64_close): Likewise.
10229         (fts64_open): Likewise.
10230         (fts64_read): Likewise.
10231         (fts64_set): Likewise.
10232         * io/fts64.c: New file.
10233         * io/tst-fts.c: New test.
10234         * io/tst-fts-lfs.c: Likewise.
10235         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10236         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10237         fts64_set.
10238         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10239         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10240         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10241         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10242         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10243         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10244         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10245         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10246         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10247         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10248         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10249         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10250         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10252         Likewise.
10253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10254         Likewise.
10255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10257         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10258         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10259         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10260         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10261         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10264         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10265         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10266         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10267         * sysdeps/wordsize-64/fts.c: New file.
10268         * sysdeps/wordsize-64/fts64.c: Likewise.
10269         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10270         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10271         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10272         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10274 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10276         * math/libm-test.inc (NON_FINITE): New macro.
10277         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10278         * math/gen-libm-test.pl (show_exceptions): Add argument
10279         $non_finite.
10280         (parse_args): Update call to show_exceptions.
10281         * math/test-math-finite.h: New file.
10282         * math/test-math-no-finite.h: Likewise.
10283         * math/test-double-finite.c: Likewise.
10284         * math/test-float-finite.c: Likewise.
10285         * math/test-ldouble-finite.c: Likewise.
10286         * math/test-double.c: Include "test-math-no-finite.h".
10287         * math/test-float.c: Include "test-math-no-finite.h".
10288         * math/test-ldouble.c: Include "test-math-no-finite.h".
10289         * math/test-math-inline.h (TEST_FINITE): New macro.
10290         * math/test-math-vector.h (TEST_FINITE): Likewise.
10291         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10292         (libm-tests): Add test-float-finite and test-double-finite.
10293         ($(objpfx)test-float-finite.o): New dependency on
10294         $(objpfx)libm-test.stmp.
10295         ($(objpfx)test-double-finite.o): Likewise.
10296         ($(objpfx)test-ldouble-finite.o): Likewise.
10297         (libm-test-no-inline-cflags): New variable.
10298         (libm-test-finite-cflags): Likewise.
10299         (CFLAGS-test-float-finite.c): Likewise.
10300         (CFLAGS-test-double-finite.c): Likewise.
10301         (CFLAGS-test-ldouble-finite.c): Likewise.
10302         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10303         (CFLAGS-test-double.c): Likewise.
10304         (CFLAGS-test-ldouble.c): Likewise.
10306 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10308         * io/fcntl.c (__fcntl): Add ... to prototype.
10309         * misc/ioctl.c (__ioctl): Likewise.
10310         * misc/syscall.c (syscall): Likewise.
10312 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10314         * scripts/list-fixed-bugs.py: New file.
10316         [BZ #19213]
10317         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10318         returned for argument 1.
10319         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10320         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10321         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10322         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10323         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10324         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10326         [BZ #19211]
10327         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10328         __USE_XOPEN], not if [!__USE_ISOC99].
10329         (lgammaf): Likewise.
10330         (lgammal): Likewise.
10331         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10332         (gammaf): Likewise.
10333         (gammal): Likewise.
10334         * math/test-signgam-finite-c11.c: New file.
10335         * math/test-signgam-finite-c99.c: Likewise.
10336         * math/test-signgam-finite.c: Likewise.
10337         * math/Makefile (tests): Add test-signgam-finite,
10338         test-signgam-finite-c99 and test-signgam-finite-c11.
10339         (CFLAGS-test-signgam-finite.c): New variable.
10340         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10341         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10343         [BZ #19212]
10344         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10345         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10346         500].
10347         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10348         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10349         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10350         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10351         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10352         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10353         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10354         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10355         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10356         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10358         [BZ #19209]
10359         * math/bits/math-finite.h (ldexp): Remove declaration.
10360         (ldexpf): Likewise.
10361         (ldexpl): Likewise.
10363         [BZ #19205]
10364         * math/bits/math-finite.h (acosf): Condition declaration on
10365         [__USE_ISOC99].
10366         (acosl): Likewise.
10367         (acoshf): Likewise.
10368         (acoshl): Likewise.
10369         (asinf): Likewise.
10370         (asinl): Likewise.
10371         (atan2f): Likewise.
10372         (atan2l): Likewise.
10373         (atanhf): Likewise.
10374         (atanhl): Likewise.
10375         (coshf): Likewise.
10376         (coshl): Likewise.
10377         (expf): Likewise.
10378         (expl): Likewise.
10379         (fmodf): Likewise.
10380         (fmodl): Likewise.
10381         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10382         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10383         (j0l): Likewise.
10384         (y0f): Likewise.
10385         (y0l): Likewise.
10386         (j1f): Likewise.
10387         (j1l): Likewise.
10388         (y1f): Likewise.
10389         (y1l): Likewise.
10390         (jnf): Likewise.
10391         (jnl): Likewise.
10392         (ynf): Likewise.
10393         (ynl): Likewise.
10394         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10395         (lgammal_r): Likewise.
10396         (__lgamma_r_finite): New declaration.
10397         (__lgammaf_r_finite): Likewise.
10398         (__lgammal_r_finite): Likewise.
10399         (lgamma): Use __lgamma_r_finite.
10400         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10401         __lgammaf_r_finite.
10402         (lgammal): Condition definition on [__USE_ISOC99].  Use
10403         __lgammal_r_finite.
10404         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10405         __lgamma_r_finite.
10406         (gammaf): Condition definition on [__USE_ISOC99].  Use
10407         __lgammaf_r_finite.
10408         (gammal): Condition definition on [__USE_ISOC99].  Use
10409         __lgammal_r_finite.
10410         (logf): Condition declaration on [__USE_ISOC99].
10411         (logl): Likewise.
10412         (log10f): Likewise.
10413         (log10l): Likewise.
10414         (ldexpf): Likewise.
10415         (ldexpl): Likewise.
10416         (powf): Likewise.
10417         (powl): Likewise.
10418         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10419         __USE_ISOC99].
10420         (remainderf): Condition declaration on [__USE_ISOC99].
10421         (remainderl): Likewise.
10422         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10423         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10424         (scalbl): Likewise.
10425         (sinhf): Condition declaration on [__USE_ISOC99].
10426         (sinhl): Likewise.
10427         (sqrtf): Likewise.
10428         (sqrtl): Likewise.
10430 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10432         * sysdeps/arm/atomic-machine.h
10433         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10434         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10435         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10436         Remove conditional code.
10437         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10438         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10439         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10440         Change conditional to [__ASSEMBLER__].
10441         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10442         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10443         [!__ASSEMBLER__].
10444         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10445         code.
10446         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10447         conditional macro definitions.
10448         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10449         (__arch_compare_and_exchange_val_16_acq): Likewise.
10450         (__arch_compare_and_exchange_val_32_acq): Likewise.
10451         (atomic_exchange_and_add): Likewise.
10452         (atomic_add): Likewise.
10453         (atomic_add_negative): Likewise.
10454         (atomic_add_zero): Likewise.
10455         (atomic_bit_set): Likewise.
10456         (atomic_bit_test_set): Likewise.
10457         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10458         code unconditional.
10459         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10461         * math/test-math-errno.h: New file.
10462         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10463         empty.
10464         (TEST_ERRNO): New macro.
10465         (TEST_EXCEPTIONS): Likewise.
10466         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10467         (TEST_EXCEPTIONS): Likewise.
10468         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10469         * math/test-double.c: Include "test-math-errno.h".
10470         * math/test-float.c: Likewise.
10471         * math/test-ldouble.c: Likewise.
10472         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10473         code unconditional.
10474         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10475         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10476         unconditional.
10477         (test_errno): Only run code if TEST_ERRNO.
10478         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10480 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10482         * nptl/tst-once5.cc: Remove attribution.
10484 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10486         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10487         sqrt, tan, tanh, y0, y1 and yn.
10488         * math/auto-libm-test-out: Regenerated.
10489         * math/libm-test.inc (scalb_test_data): Add more tests.
10490         (scalbn_test_data): Likewise.
10491         (scalbln_test_data): Likewise.
10492         (signbit_test_data): Likewise.
10493         (sin_test_data): Likewise.
10494         (sincos_test_data): Likewise.
10495         (sinh_test_data): Likewise.
10496         (sqrt_test_data): Likewise.
10497         (tan_test_data): Likewise.
10498         (tanh_test_data): Likewise.
10499         (tgamma_test_data): Likewise.
10500         (y0_test_data): Likewise.
10501         (y1_test_data): Likewise.
10502         (yn_test_data): Likewise.
10503         (significand_test_data): Likewise.
10504         * sysdeps/i386/fpu/libm-test-ulps: Update.
10506 2015-11-03  David Kastrup  <dak@gnu.org>
10508         [BZ #18604]
10509         * assert/assert.h (assert): Don't macro-expand failed assertion
10510         expression in error message.
10511         * malloc/malloc.c (assert): Likewise.
10513 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10515         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10516         test.
10517         * configure: Regenerated.
10519 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10521         * math/libm-test.inc (modf_test_data): Add more tests.
10522         (nearbyint_test_data): Likewise.
10523         (nextafter_test_data): Likewise.
10524         (nexttoward_test_data): Likewise.
10525         (pow_test_data): Likewise.
10526         (remainder_test_data): Likewise.
10527         (remquo_test_data): Likewise.
10528         (rint_test_data): Likewise.
10530         [BZ #19201]
10531         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10532         Check for zero remainder in case of large exponents and ensure
10533         correct sign of result in that case.
10534         * math/libm-test.inc (remainder_test_data): Add more tests.
10536         [BZ #6799]
10537         * math/s_nextafter.c: Include <errno.h>.
10538         (__nextafter): Set errno on overflow and underflow.
10539         * math/s_nexttowardf.c: Include <errno.h>.
10540         (__nexttowardf): Set errno on overflow and underflow.
10541         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10542         (__nextafterl): Set errno on overflow and underflow.
10543         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10544         (__nexttoward): Set errno on overflow and underflow.
10545         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10546         (__nexttowardf): Set errno on overflow and underflow.
10547         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10548         (__nextafterf): Set errno on overflow and underflow.
10549         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10550         (__nextafterl): Set errno on overflow and underflow.
10551         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10552         (__nexttoward): Set errno on overflow and underflow.
10553         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10554         (__nexttowardf): Set errno on overflow and underflow.
10555         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10556         (__nextafterl): Set errno on overflow and underflow.
10557         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10558         (__nexttoward): Set errno on overflow and underflow.
10559         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10560         (__nexttowardf): Set errno on overflow and underflow.
10561         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10562         (__nexttoward): Set errno on overflow and underflow.
10563         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10564         (__nexttowardf): Set errno on overflow and underflow.
10565         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10566         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10567         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10568         (__nextafterl): Set errno on overflow and underflow.
10569         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10570         setting to be missing on overflow.  Add more tests.
10571         (nexttoward_test_data): Likewise.
10573         * configure.ac (libc_cv_initfini_array): Remove configure test.
10574         * configure: Regenerated.
10576 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10578         [BZ #19189]
10579         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10580         non-finite argument handle arguments with negative sign.
10582         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10583         result from infinite argument.
10584         (j1_test_data): Likewise.
10585         (jn_test_data): Likewise.
10586         (y0_test_data): Likewise.
10587         (y1_test_data): Likewise.
10588         (yn_test_data): Likewise.
10590         [BZ #16171]
10591         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10592         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10593         * math/w_remainderf.c (dremf): Define as weak alias of
10594         __remainderf.
10595         * math/w_remainderl.c (dreml): Define as weak alias of
10596         __remainderl.
10597         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10598         __remainder.
10599         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10600         __remainderf.
10601         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10602         __remainderl.
10603         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10604         weak alias of remainderl.
10605         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10606         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10607         alias of __remainder.
10608         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10609         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10610         strong alias of __remainderl.
10611         (dreml): Use long_double_symbol.
10612         * math/Makefile (libm-calls): Remove w_drem.
10613         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10614         (CFLAGS-nldbl-drem.c): Remove variable.
10615         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10616         * math/w_drem.c: Remove file.
10617         * math/w_dremf.c: Likewise.
10618         * math/w_dreml.c: Likewise.
10619         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10620         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10621         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10623         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10624         * sysdeps/i386/configure: Regenerated.
10625         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10626         * sysdeps/x86_64/configure: Regenerated.
10628         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10629         test.
10630         (libc_cv_visibility_attribute): Likewise.
10631         (libc_cv_protected_data): Test unconditionally.
10632         (libc_cv_broken_visibility_attribute): Remove configure test.
10633         (libc_cv_have_sdata_section): Test unconditionally.
10634         * configure: Regenerated.
10636         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10637         * include/scratch_buffer.h: Include <stddef.h> instead of
10638         <libc-internal.h>.
10639         (struct scratch_buffer): Use max_align_t instead of
10640         libc_max_align_t.
10642 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10644         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10645         instead of extend_alloca.  Change control flow to avoid a goto.
10646         Remove assert which is trivially always true.
10648 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10650         [BZ #16068]
10651         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10652         (FE_ALL_EXCEPT_X86): New macro.
10653         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10654         FE_ALL_EXCEPT.  Ensure precision control is included in
10655         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10656         handle "denormal operand exception" and clear FZ and DAZ bits.
10657         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10658         (FE_ALL_EXCEPT_X86): New macro.
10659         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10660         FE_ALL_EXCEPT.  Ensure precision control is included in
10661         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10662         handle "denormal operand exception" and clear FZ and DAZ bits.
10663         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10664         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10665         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10666         test-fenv-x87 and test-fenv-sse-2.
10667         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10669         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10670         * math/test-double.h (BUILD_COMPLEX): New macro.
10671         * math/test-float.h (BUILD_COMPLEX): Likewise.
10672         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10674         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10675         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10676         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10678         instead of DBL_DENORM_MIN in comment.
10679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10680         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10681         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10682         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10684         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10686 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10688         [BZ# 19048]
10689         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10690         attached_threads member.
10691         (main_arena): Initialize attached_threads.
10692         * malloc/arena.c (list_lock): Update comment.
10693         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10694         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10695         (deattach_arena): New function.
10696         (_int_new_arena): Initialize arena reference count and deattach
10697         replaced arena.
10698         (get_free_list, reused_arena): Update reference count and deattach
10699         replaced arena.
10700         (arena_thread_freeres): Update arena reference count and only put
10701         unreferenced arenas on the free list.
10703 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10705         [BZ #19181]
10706         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10707         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10708         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10709         * math/test-fenv-clear-main.c: New file.
10710         * math/test-fenv-clear.c: Likewise.
10711         * math/Makefile (tests): Add test-fenv-clear.
10712         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10713         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10714         test-fenv-clear-sse.
10715         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10717         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10718         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10719         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10721 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10723         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10724         static libc.
10726 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10728         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10729         test.
10730         * sysdeps/i386/configure: Regenerated.
10731         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10732         test.
10733         * sysdeps/x86_64/configure: Regenerated.
10734         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10736         memset-avx2 unconditionally instead of conditionally on
10737         [$(config-cflags-avx2) = yes].
10738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10739         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10740         unconditional.
10741         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10742         * sysdeps/x86_64/multiarch/memset_chk.S
10743         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10744         to [IS_IN (libc) && SHARED].
10746 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10748         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10749         configure test.
10750         * sysdeps/arm/configure: Regenerated.
10751         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10752         Define variable if not already defined.
10754         [BZ #17404]
10755         * sysdeps/mips/atomic-machine.h
10756         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10757         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10758         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10760         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10761         unconditional.
10762         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10763         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10764         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10765         unconditional.
10766         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10767         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10768         unconditional.
10769         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10770         * stdlib/setenv.c
10771         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10772         code unconditional.
10773         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10774         Remove conditional code.
10775         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10776         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10777         unconditional.
10778         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10779         code.
10780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10781         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10782         unconditional.
10783         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10784         code.
10785         * sysdeps/ieee754/ldbl-128/k_tanl.c
10786         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10787         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10788         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10789         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10790         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10791         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10792         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10793         unconditional.
10794         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10795         code.
10796         * sysdeps/ieee754/ldbl-96/k_tanl.c
10797         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10798         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10800         * nptl/tst-initializers1-c11.c: New file.
10801         * nptl/tst-initializers1-gnu11.c: Likewise.
10802         * nptl/Makefile (tests): Add these new tests.
10803         (CFLAGS-tst-initializers1-c11.c): New variable.
10804         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10806         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10807         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10808         instead of -std=gnu99.
10809         * configure.ac (systemtap): Test with -std=gnu11 instead of
10810         -std=gnu99.
10811         * configure: Regenerated.
10812         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10813         in compilation command in comment.
10815         * sysdeps/nptl/configure.ac: Remove file.
10816         * sysdeps/nptl/configure: Remove generated file.
10817         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10818         * configure: Regenerated.
10819         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10820         * config.make.in (have-forced-unwind): Remove variable.
10821         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10822         unconditional.
10823         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10824         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10825         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10826         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10827         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10828         unconditional.
10830 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10832         [BZ #19174]
10833         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10834         .skip_lock_out_of_tbegin_retries.
10835         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10836         (__lll_lock_elision): Likewise, and respect a value of
10837         try_tbegin <= 0.
10839 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10841         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10842         statement.
10844 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10846         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10847         variable.
10848         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10849         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10851         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10852         of -std=c1x -D_ISOC11_SOURCE.
10854         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10855         * configure: Regenerated.
10856         * manual/install.texi (Tools for Compilation): Document
10857         requirement for GCC 4.7 or later.
10858         * INSTALL: Regenerated.
10860 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10862         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10863         on CNT to a conditional jump to 'puntdata'.
10865 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10867         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10868         (libc_cv_gcc_tls_model_attr): Likewise.
10869         * configure: Regenerated.
10871         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10872         * configure: Regenerated.
10873         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10875 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10877         * configure.ac (old_glibc_headers): Remove configure test.
10878         * configure: Regenerated.
10879         * config.make.in (old-glibc-headers): Remove variable.
10880         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10881         (install): Remove dependency on remove-old-headers.
10882         (headers2_0): Remove variable.
10883         (remove-old-headers): Remove rule.
10885         * configure.ac (libc_cv_dot_text): Remove configure test.
10886         (libc_cv_asm_set_directive): Use .text instead of
10887         ${libc_cv_dot_text} in configure test.
10888         * configure: Regenerated.
10890 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10892         [BZ #19168]
10893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10895 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10897         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10898         not support static linking.
10899         * configure: Regenerate.
10901 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10903         * math/libm-test.inc (check_float_internal): Do not special-case
10904         errors up to 0.5 ulp.
10906         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10907         log2.
10908         * math/auto-libm-test-out: Regenerated.
10909         * math/libm-test.inc (MAX_EXP): New macro.
10910         (ilogb_test_data): Add more tests.
10911         (isfinite_test_data): Likewise.
10912         (isgreater_test_data): Likewise.
10913         (isgreaterequal_test_data): Likewise.
10914         (isinf_test_data): Likewise.
10915         (isless_test_data): Likewise.
10916         (islessequal_test_data): Likewise.
10917         (islessgreater_test_data): Likewise.
10918         (isnan_test_data): Likewise.
10919         (isnormal_test_data): Likewise.
10920         (issignaling_test_data): Likewise.
10921         (isunordered_test_data): Likewise.
10922         (j0_test_data): Likewise.
10923         (j1_test_data): Likewise.
10924         (jn_test_data): Likewise.
10925         (lgamma_test_data): Likewise.
10926         (log_test_data): Likewise.
10927         (log10_test_data): Likewise.
10928         (log1p_test_data): Likewise.
10929         (log2_test_data): Likewise.
10930         (logb_test_data): Likewise.
10931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10933         [BZ #18611]
10934         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10935         avoid excess range and precision on underflow.
10936         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10937         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10938         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10940         underflow.
10941         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10943         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10944         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10945         * math/auto-libm-test-in: Do not allow missing errno setting for
10946         tests of j1 and jn.
10947         * math/auto-libm-test-out: Regenerated.
10949 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10951         [BZ #15491]
10952         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10953         floating-point environment instead of clearing all exceptions.
10954         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10955         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10956         merging in "invalid" exceptions from frndint.
10957         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10958         * math/test-nearbyint-except.c: New file.
10959         * math/Makefile (tests): Add test-nearbyint-except.
10961 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10963         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10965         * sysdeps/tile/libm-test-ulps: Regenerated.
10967 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10970         (__NR_sync_file_range2): Assume it is always defined.
10971         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10972         (__NR_sync_file_range): Assume it is always defined.
10974 2015-10-22  Andreas Schwab  <schwab@suse.de>
10976         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10977         INTERNAL_SYSCALL_ERRNO.
10978         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10979         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10980         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10981         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10982         Likewise.
10983         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10985 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10987         * io/tst-fcntl.c (fd): New static variable.
10988         (do_prepare): Open temporary file here....
10989         (do_test): ...not here.
10991         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10993 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10995         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10996         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10997         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10998         Moved before "#ifdef __ASSEMBLER__".
11000 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11002         [BZ #19156]
11003         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11004         arguments very close to 0.
11006 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11008         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11009         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11011 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11013         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11014         New.  Defined for GCC 5 and above when not compiling for
11015         profiling.
11016         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11018         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11019         Renamed to ...
11020         (CFLAGS-epoll_pwait.o): This.
11021         (CFLAGS-mmap.c): Renamed to ...
11022         (CFLAGS-mmap.o): This.
11023         (CFLAGS-mmap64.c): Renamed to ...
11024         (CFLAGS-mmap64.o): This.
11025         (CFLAGS-epoll_pwait.os): New.
11026         (CFLAGS-mmap.os): Likewise.
11027         (CFLAGS-mmap64.os): Likewise.
11028         (CFLAGS-semtimedop.os): Likewise.
11029         (CFLAGS-semtimedop.c): Renamed to ...
11030         (CFLAGS-semtimedop.o): This.
11032 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11034         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11035         warning message.
11037 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11039         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11040         * Makefile ($(objpfx)c++-types-check.out): Filter out
11041         $(+gccwarn-c) instead of -Wstrict-prototypes.
11043         * io/fts.c (fts_open): Convert to prototype-style function
11044         definition.
11045         * malloc/mcheck.c (mcheck): Likewise.
11046         (mcheck_pedantic): Likewise.
11047         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11048         internal_function.
11049         (re_search_internal): Likewise.
11050         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11051         prototype-style function definition.
11052         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11053         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11054         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11055         (xdr_utmpptr): Likewise.
11056         (xdr_utmparr): Likewise.
11057         (xdr_utmpidle): Likewise.
11058         (xdr_utmpidleptr): Likewise.
11059         (xdr_utmpidlearr): Likewise.
11061         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11062         log, log10 and log2.
11063         * math/auto-libm-test-out: Regenerated.
11064         * math/libm-test.inc (fmod_test_data): Add more tests.
11065         (fpclassify_test_data): Likewise.
11066         (frexp_test_data): Likewise.
11067         (hypot_test_data): Likewise.
11068         (ilogb_test_data): Likewise.
11070 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11072         * debug/fortify_fail.c (__fortify_fail): Convert to
11073         prototype-style function definition.  Use internal_function.
11074         * libio/genops.c (save_for_backup): Convert to prototype-style
11075         function definition.
11076         * libio/wgenops.c (save_for_wbackup): Likewise.
11077         * login/grantpt.c (grantpt): Likewise.
11078         * login/ptsname.c (ptsname): Likewise.
11079         (__ptsname_r): Likewise.
11080         * login/unlockpt.c (unlockpt): Likewise.
11081         * mach/msgserver.c (__mach_msg_server): Likewise.
11082         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11083         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11084         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11085         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11086         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11087         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11088         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11089         Likewise.
11090         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11091         internal_function.
11092         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11093         prototype-style function definition.
11094         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11095         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11096         (__pthread_create_2_0): Likewise.
11097         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11098         * nptl/register-atfork.c (__register_atfork): Likewise.
11099         * posix/glob.c (glob): Likewise.
11100         * posix/regcomp.c (re_comp): Likewise.
11101         * posix/regexec.c (re_exec): Likewise.
11102         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11103         [!__STDC__]: Remove conditional code.
11104         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11105         [!__STDC__]: Remove conditional code.
11106         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11107         [!__STDC__]: Remove conditional code.
11108         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11109         [!__STDC__]: Remove conditional code.
11110         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11111         [!__STDC__]: Remove conditional code.
11112         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11113         [!__STDC__]: Remove conditional code.
11114         * stdlib/mul.c [__STDC__]: Make code unconditional.
11115         [!__STDC__]: Remove conditional code.
11116         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11117         [!__STDC__]: Remove conditional code.
11118         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11119         [!__STDC__]: Remove conditional code.
11120         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11121         function definition.
11122         (STRTOF): Likewise.
11123         * stdlib/strtod_l.c (__STRTOF): Likewise.
11124         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11125         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11126         (__strtol_l): Likewise.
11127         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11128         [!__STDC__]: Remove conditional code.
11129         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11130         definition.
11131         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11132         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11133         type.
11134         (__strcasecmp): Convert to prototype-style function definition.
11135         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11136         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11137         type.
11138         (__strncasecmp): Convert to prototype-style function definition.
11139         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11140         * sunrpc/xdr.c (xdr_union): Likewise.
11141         * sunrpc/xdr_array.c (xdr_array): Likewise.
11142         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11143         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11144         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11145         Likewise.
11146         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11147         Likewise.
11148         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11149         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11150         Likewise.
11151         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11152         (LOCALE_PARAM_PROTO): Likewise.
11153         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11154         argument type.
11155         (ut_argument_spec): Remove macro.
11156         (ut_argument_spec_iso): Rename to ut_argument_spec.
11157         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11158         prototype-style function definition.
11159         (memcpy_uppcase): Likewise.
11160         (__strftime_internal): Likewise.
11161         (my_strftime): Likewise.
11162         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11163         (LOCALE_PARAM_DECL): Likewise.
11164         [_LIBC] (LOCALE_PARAM): Include argument type.
11165         (__strptime_internal): Convert to prototype-style function
11166         definition.
11167         (strptime): Likewise.
11168         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11169         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11170         type.
11171         (__wcscasecmp): Convert to prototype-style function definition.
11172         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11173         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11174         type.
11175         (__wcsncasecmp): Convert to prototype-style function definition.
11177         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11178         function definition.
11179         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11180         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11181         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11182         * elf/dl-minimal.c (_itoa): Likewise.
11183         * hurd/hurdmalloc.c (malloc): Likewise.
11184         (free): Likewise.
11185         (realloc): Likewise.
11186         * inet/inet6_option.c (inet6_option_space): Likewise.
11187         (inet6_option_init): Likewise.
11188         (inet6_option_append): Likewise.
11189         (inet6_option_alloc): Likewise.
11190         (inet6_option_next): Likewise.
11191         (inet6_option_find): Likewise.
11192         * io/ftw.c (FTW_NAME): Likewise.
11193         (NFTW_NAME): Likewise.
11194         (NFTW_NEW_NAME): Likewise.
11195         (NFTW_OLD_NAME): Likewise.
11196         * libio/iofwide.c (_IO_fwide): Likewise.
11197         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11198         (_IO_str_init_static): Likewise.
11199         (_IO_str_init_readonly): Likewise.
11200         (_IO_str_overflow): Likewise.
11201         (_IO_str_underflow): Likewise.
11202         (_IO_str_count): Likewise.
11203         (_IO_str_seekoff): Likewise.
11204         (_IO_str_pbackfail): Likewise.
11205         (_IO_str_finish): Likewise.
11206         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11207         (_IO_wstr_overflow): Likewise.
11208         (_IO_wstr_underflow): Likewise.
11209         (_IO_wstr_count): Likewise.
11210         (_IO_wstr_seekoff): Likewise.
11211         (_IO_wstr_pbackfail): Likewise.
11212         (_IO_wstr_finish): Likewise.
11213         * locale/programs/localedef.c (normalize_codeset): Likewise.
11214         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11215         (add_locales_to_archive): Likewise.
11216         (delete_locales_from_archive): Likewise.
11217         * malloc/malloc.c (__libc_mallinfo): Likewise.
11218         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11219         * misc/tsearch.c (__tfind): Likewise.
11220         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11221         * nptl/pthread_attr_getdetachstate.c
11222         (__pthread_attr_getdetachstate): Likewise.
11223         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11224         Likewise.
11225         * nptl/pthread_attr_getinheritsched.c
11226         (__pthread_attr_getinheritsched): Likewise.
11227         * nptl/pthread_attr_getschedparam.c
11228         (__pthread_attr_getschedparam): Likewise.
11229         * nptl/pthread_attr_getschedpolicy.c
11230         (__pthread_attr_getschedpolicy): Likewise.
11231         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11232         Likewise.
11233         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11234         Likewise.
11235         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11236         Likewise.
11237         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11238         Likewise.
11239         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11240         (__pthread_attr_init_2_0): Likewise.
11241         * nptl/pthread_attr_setdetachstate.c
11242         (__pthread_attr_setdetachstate): Likewise.
11243         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11244         Likewise.
11245         * nptl/pthread_attr_setinheritsched.c
11246         (__pthread_attr_setinheritsched): Likewise.
11247         * nptl/pthread_attr_setschedparam.c
11248         (__pthread_attr_setschedparam): Likewise.
11249         * nptl/pthread_attr_setschedpolicy.c
11250         (__pthread_attr_setschedpolicy): Likewise.
11251         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11252         Likewise.
11253         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11254         Likewise.
11255         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11256         Likewise.
11257         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11258         Likewise.
11259         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11260         Likewise.
11261         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11262         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11263         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11264         use internal_function.
11265         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11266         prototype-style function definition.
11267         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11268         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11269         internal_function.
11270         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11271         Convert to prototype-style function definition.
11272         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11273         Likewise.
11274         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11275         Likewise.
11276         (__pthread_mutex_unlock): Likewise.
11277         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11278         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11279         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11280         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11281         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11282         * nss/makedb.c (process_input): Likewise.
11283         * posix/fnmatch.c (__strchrnul): Likewise.
11284         (__wcschrnul): Likewise.
11285         (fnmatch): Likewise.
11286         * posix/fnmatch_loop.c (FCT): Likewise.
11287         * posix/glob.c (globfree): Likewise.
11288         (__glob_pattern_type): Likewise.
11289         (__glob_pattern_p): Likewise.
11290         * posix/regcomp.c (re_compile_pattern): Likewise.
11291         (re_set_syntax): Likewise.
11292         (re_compile_fastmap): Likewise.
11293         (regcomp): Likewise.
11294         (regerror): Likewise.
11295         (regfree): Likewise.
11296         * posix/regexec.c (regexec): Likewise.
11297         (re_match): Likewise.
11298         (re_search): Likewise.
11299         (re_match_2): Likewise.
11300         (re_search_2): Likewise.
11301         (re_search_stub): Likewise.  Use internal_function
11302         (re_copy_regs): Likewise.
11303         (re_set_registers): Convert to prototype-style function
11304         definition.
11305         (prune_impossible_nodes): Likewise.  Use internal_function.
11306         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11307         prototype-style function definition.
11308         (inet_net_pton_ipv4): Likewise.
11309         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11310         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11311         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11312         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11313         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11314         Make variadic.
11315         * time/strptime_l.c (localtime_r): Convert to prototype-style
11316         function definition.
11317         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11318         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11319         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11320         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11322         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11323         definition.
11324         (_ufc_doit_r): Likewise.
11325         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11326         (_ufc_output_conversion_r): Likewise.
11327         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11328         * inet/rcmd.c (rcmd_af): Likewise.
11329         (rcmd): Likewise.
11330         (ruserok_af): Likewise.
11331         (ruserok): Likewise.
11332         (ruserok2_sa): Likewise.
11333         (ruserok_sa): Likewise.
11334         (iruserok_af): Likewise.
11335         (iruserok): Likewise.
11336         (__ivaliduser): Likewise.
11337         (__validuser2_sa): Likewise.
11338         * inet/rexec.c (rexec_af): Likewise.
11339         (rexec): Likewise.
11340         * inet/ruserpass.c (ruserpass): Likewise.
11341         * locale/programs/xmalloc.c (xcalloc): Likewise.
11342         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11343         * math/w_drem.c (__drem): Likewise.
11344         * math/w_dremf.c (__dremf): Likewise.
11345         * math/w_dreml.c (__dreml): Likewise.
11346         * misc/daemon.c (daemon): Likewise.
11347         * resolv/res_debug.c (p_fqnname): Likewise.
11348         * stdlib/div.c (div): Likewise.
11349         * string/memcmp.c (memcmp_bytes): Likewise.
11350         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11351         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11353         * crypt/cert.c (main): Convert to prototype-style function
11354         definition.
11355         * io/pipe.c (__pipe): Likewise.
11356         * io/pipe2.c (__pipe2): Likewise.
11357         * misc/futimesat.c (futimesat): Likewise.
11358         * misc/utimes.c (__utimes): Likewise.
11359         * posix/execve.c (__execve): Likewise.
11360         * posix/execvp.c (execvp): Likewise.
11361         * posix/execvpe.c (__execvpe): Likewise.
11362         * posix/fexecve.c (fexecve): Likewise.
11363         * socket/socketpair.c (socketpair): Likewise.
11364         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11365         * stdlib/erand48.c (erand48): Likewise.
11366         * stdlib/erand48_r.c (__erand48_r): Likewise.
11367         * stdlib/jrand48.c (jrand48): Likewise.
11368         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11369         * stdlib/lcong48.c (lcong48): Likewise.
11370         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11371         * stdlib/nrand48.c (nrand48): Likewise.
11372         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11373         * stdlib/seed48.c (seed48): Likewise.
11374         * stdlib/seed48_r.c (__seed48_r): Likewise.
11375         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11376         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11377         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11379 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11381         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11382         * configure: Regenerated.
11383         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11384         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11385         unconditional.
11386         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11387         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11388         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11389         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11390         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11391         unconditional.
11392         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11394         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11395         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11397         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11398         function definition.
11399         * crypt/crypt_util.c (__encrypt_r): Likewise.
11400         * libio/genops.c (_IO_no_init): Likewise.
11401         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11402         (_IO_old_fopencookie): Likewise.
11403         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11404         * libio/iogetline.c (_IO_getline): Likewise.
11405         (_IO_getline_info): Likewise.
11406         * libio/iogetwline.c (_IO_getwline): Likewise.
11407         (_IO_getwline_info): Likewise.
11408         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11409         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11410         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11411         (find_entry): Likewise.
11412         (iterate_table): Likewise.
11413         (lookup): Likewise.
11414         * login/forkpty.c (forkpty): Likewise.
11415         * misc/hsearch_r.c (__hsearch_r): Likewise.
11416         * misc/select.c (__select): Likewise.
11417         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11418         Likewise.
11419         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11420         Likewise.
11421         * nptl/old_pthread_cond_timedwait.c
11422         (__pthread_cond_timedwait_2_0): Likewise.
11423         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11424         * nptl/pthread_barrierattr_getpshared.c
11425         (pthread_barrierattr_getpshared): Likewise.
11426         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11427         Likewise.
11428         * nptl/pthread_mutex_setprioceiling.c
11429         (pthread_mutex_setprioceiling): Likewise.
11430         * nptl/pthread_mutexattr_getprioceiling.c
11431         (pthread_mutexattr_getprioceiling): Likewise.
11432         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11433         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11434         Likewise.
11435         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11436         Likewise.
11437         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11438         Likewise.
11439         * socket/recvfrom.c (__recvfrom): Likewise.
11440         * socket/sendto.c (__sendto): Likewise.
11441         * socket/setsockopt.c (__setsockopt): Likewise.
11442         * stdio-common/_itoa.c (_itoa): Likewise.
11443         * stdio-common/_itowa.c (_itowa): Likewise.
11444         * stdio-common/reg-printf.c (__register_printf_specifier):
11445         Likewise.
11446         (__register_printf_function): Likewise.
11447         * stdio-common/tempname.c (__path_search): Likewise.
11448         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11449         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11450         * stdlib/random_r.c (__initstate_r): Likewise.
11451         * stdlib/setenv.c (__add_to_environ): Likewise.
11452         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11453         * streams/getpmsg.c (getpmsg): Likewise.
11454         * streams/putmsg.c (putmsg): Likewise.
11455         * streams/putpmsg.c (putpmsg): Likewise.
11456         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11457         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11458         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11459         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11460         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11461         * sunrpc/svc_udp.c (cache_get): Likewise.
11462         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11463         * sysdeps/mach/hurd/getcwd.c
11464         (__canonicalize_directory_name_internal): Likewise.
11465         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11466         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11467         * sysdeps/mach/hurd/select.c (__select): Likewise.
11468         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11469         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11470         * sysdeps/sparc/nptl/pthread_barrier_init.c
11471         (__pthread_barrier_init): Likewise.
11472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11473         (__pthread_cond_timedwait): Likewise.
11474         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11475         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11476         Likewise.
11477         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11478         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11479         Likewise.
11480         * sysvipc/semtimedop.c (semtimedop): Likewise.
11481         * time/setitimer.c (__setitimer): Likewise.
11482         * time/strftime_l.c (emacs_strftime): Likewise.
11484 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11486         * config.make.in (have-ssp): Delete.
11487         (stack-protector): New variable.
11488         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11489         cache test for -fstack-protector-strong.  Export stack_protector to
11490         the best ssp flag.
11491         * configure: Regenerated.
11492         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11493         * nscd/Makefile (CFLAGS-nscd): Likewise.
11494         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11496 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11498         [BZ #19122]
11499         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11500         attribute_hidden.
11502 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11504         [BZ #18743]
11505         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11506         code to...
11507         (ELIDE_LOCK): ...here.
11508         (__get_new_count): New function with part of the code from
11509         __elide_lock that updates the value of adapt_count after a
11510         transaction abort.
11511         (__elided_trylock): Moved this code to...
11512         (ELIDE_TRYLOCK): ...here.
11514 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11516         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11517         * configure: Regenerate.
11518         * INSTALL: Regenerate.
11519         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11520         and tweak grammar.
11522 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11524         * login/programs/pt_chown.c: Include signal.h
11525         (main): Clear any signal mask from the parent process.
11527 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11529         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11530         * configure: Regenerated.
11531         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11532         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11533         $(gnu89-inline-CFLAGS).
11535         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11536         test.
11537         (libc_cv_asm_weakext_directive): Likewise.
11538         * configure: Regenerated.
11539         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11540         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11541         * include/libc-symbols.h
11542         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11543         #error.
11544         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11545         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11547         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11548         prototype-style function definition.
11549         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11550         * sysdeps/i386/ffs.c (__ffs): Likewise.
11551         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11552         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11553         Likewise.
11554         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11555         Likewise.
11556         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11558         Likewise.
11559         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11560         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11561         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11562         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11563         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11564         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11565         * sysdeps/mach/hurd/access.c (__access): Likewise.
11566         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11567         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11568         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11569         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11570         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11571         (cthread_getspecific): Likewise.
11572         (cthread_setspecific): Likewise.
11573         (__libc_getspecific): Likewise.
11574         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11575         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11576         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11577         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11578         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11579         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11580         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11581         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11582         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11583         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11584         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11585         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11586         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11587         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11588         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11589         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11590         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11591         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11592         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11593         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11594         * sysdeps/mach/hurd/link.c (__link): Likewise.
11595         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11596         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11597         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11598         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11599         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11600         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11601         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11602         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11603         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11604         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11605         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11606         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11607         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11608         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11609         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11610         * sysdeps/mach/hurd/send.c (__send): Likewise.
11611         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11612         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11613         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11614         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11615         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11616         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11617         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11618         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11619         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11620         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11621         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11622         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11623         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11624         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11625         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11626         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11627         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11628         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11629         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11630         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11631         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11632         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11633         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11634         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11635         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11636         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11637         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11638         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11639         * sysdeps/posix/alarm.c (alarm): Likewise.
11640         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11641         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11642         * sysdeps/posix/dup.c (__dup): Likewise.
11643         * sysdeps/posix/dup2.c (__dup2): Likewise.
11644         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11645         (main): Likewise.
11646         * sysdeps/posix/flock.c (__flock): Likewise.
11647         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11648         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11649         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11650         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11651         * sysdeps/posix/isatty.c (__isatty): Likewise.
11652         * sysdeps/posix/killpg.c (killpg): Likewise.
11653         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11654         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11655         * sysdeps/posix/raise.c (raise): Likewise.
11656         * sysdeps/posix/remove.c (remove): Likewise.
11657         * sysdeps/posix/rename.c (rename): Likewise.
11658         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11659         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11660         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11661         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11662         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11663         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11664         * sysdeps/posix/sigset.c (sigset): Likewise.
11665         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11666         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11667         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11668         * sysdeps/posix/time.c (time): Likewise.
11669         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11670         (ttyname): Likewise.
11671         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11672         * sysdeps/posix/utime.c (utime): Likewise.
11673         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11674         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11675         Likewise.
11676         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11677         (pthread_spin_trylock): Likewise.
11678         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11679         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11680         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11681         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11682         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11683         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11684         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11685         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11686         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11687         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11688         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11689         * sysdeps/s390/ffs.c (__ffs): Likewise.
11690         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11691         Likewise.
11692         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11693         Likewise.
11694         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11695         Likewise.
11696         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11697         (pthread_barrier_destroy): Likewise.
11698         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11699         (__pthread_barrier_wait): Likewise.
11700         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11701         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11702         (__pthread_barrier_wait): Likewise.
11703         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11704         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11705         (memcmp_not_common_alignment): Likewise.
11706         (MEMCMP): Likewise.
11707         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11708         (_wordcopy_fwd_dest_aligned): Likewise.
11709         (_wordcopy_bwd_aligned): Likewise.
11710         (_wordcopy_bwd_dest_aligned): Likewise.
11711         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11712         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11713         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11714         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11715         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11716         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11717         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11718         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11719         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11720         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11721         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11722         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11723         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11724         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11725         * sysdeps/unix/stime.c (stime): Likewise.
11726         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11727         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11728         Likewise.  Use internal_function.
11729         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11730         Convert to prototype-style function definition.
11731         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11732         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11733         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11734         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11735         Likewise.  Use internal_function.
11736         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11737         prototype-style function definition
11738         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11739         Likewise.
11740         (__getlogin_r): Likewise.
11741         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11742         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11743         (__pthread_cond_broadcast): Likewise.
11744         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11745         (__pthread_cond_destroy): Likewise.
11746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11747         (__pthread_cond_init): Likewise.
11748         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11749         (__pthread_cond_signal): Likewise.
11750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11751         (__pthread_cond_wait): Likewise.
11752         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11753         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11754         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11755         Likewise.
11756         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11757         Likewise.
11758         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11759         Likewise.
11760         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11761         Likewise.
11762         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11764         (__ftruncate64): Likewise.
11765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11766         (truncate64): Likewise.
11767         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11768         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11769         (pthread_getcpuclockid): Likewise.
11770         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11771         Likewise.
11772         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11773         Likewise.
11774         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11775         Likewise.
11776         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11777         Likewise.
11778         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11779         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11780         (__libc_sigaction): Likewise.
11781         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11782         Likewise.
11783         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11784         (__sigprocmask): Likewise.
11785         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11786         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11787         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11788         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11789         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11790         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11791         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11792         Likewise.
11793         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11794         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11795         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11796         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11797         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11798         Likewise.
11799         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11800         (__sigprocmask): Likewise.
11801         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11802         (cfgetispeed): Likewise.
11803         (cfsetospeed): Likewise.
11804         (cfsetispeed): Likewise.
11805         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11806         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11807         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11808         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11809         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11810         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11811         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11812         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11813         Likewise.
11814         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11815         Likewise.
11816         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11817         Likewise.
11818         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11819         Likewise.
11820         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11822 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11824         sunrpc: Rewrite with explicit TLS access using __thread.
11825         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11826         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11827         directly.
11828         (__rpc_thread_variables): Access thread_rpc_vars directly.
11829         Eliminate redundant assignment of the tvp variable.
11831 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11833         malloc: Rewrite with explicit TLS access using __thread.
11834         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11835         (tsd_setspecific, tsd_getspecific): Remove.
11836         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11837         (tsd_setspecific, tsd_getspecific): Likewise.
11838         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11839         (tsd_setspecific, tsd_getspecific): Likewise.
11840         * malloc/arena.c (thread_arena): New TLS variable.
11841         (arena_key): Remove variable.
11842         (arena_get): Use thread_arena.
11843         (arena_lookup): Remove macro.
11844         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11845         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11846         (_int_new_arena, get_free_list, reused_arena)
11847         (arena_thread_freeres): Use thread_arena.
11848         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11849         tsd_getspecific, tsd_setspecific from safety annotations.
11850         (Allocating Cleared Space): Remove arena_lookup from safety
11851         annotations.
11853 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11855         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11856         struct scratch_buffer instead of extend_alloca.
11858 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11860         * sysdeps/unix/sysv/linux/kernel-features.h
11861         (__ASSUME_SOCK_CLOEXEC): Remove.
11862         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11863         (__have_paccept): Remove unused macro.
11864         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11865         * misc/syslog.c (openlog_internal): Remove fallback code for
11866         !__ASSUME_SOCK_CLOEXEC.
11867         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11868         missing SOCK_CLOEXEC.
11869         * nscd/connections.c (have_sock_cloexec): Remove definition.
11870         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11871         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11872         !__ASSUME_SOCK_CLOEXEC.
11873         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11874         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11875         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11876         definition.
11877         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11878         code for !__ASSUME_SOCK_CLOEXEC.
11880 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11882         [BZ #18982]
11883         * manual/stdio.texi (Variable Arguments Output): Add portability
11884         note, explaining that vfprintf clobbers the va_list pointer.
11886 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11888         * math/libm-test.inc (fabs_test_data): Add more tests.
11889         (fdim_test_data): Likewise.
11890         (fma_test_data): Likewise.
11891         (fmax_test_data): Likewise.
11892         (fmin_test_data): Likewise.
11893         (fmod_test_data): Likewise.
11895 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11897         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11898         data.
11900 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11902         * math/libm-test.inc (ceil_test_data): Add more tests and more
11903         expectations for "inexact".
11904         (floor_test_data): Add more tests.
11905         (round_test_data): Likewise.
11906         (trunc_test_data): Likewise.
11908         * crypt/cert.c (good_bye): Convert to prototype-style function
11909         definition.
11910         (get8): Likewise.
11911         (put8): Likewise.
11912         * crypt/crypt-entry.c (crypt): Likewise.
11913         (__fcrypt): Likewise.
11914         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11915         (_ufc_set_bits): Likewise.
11916         (_ufc_clearmem): Likewise.
11917         (__init_des_r): Likewise.
11918         (shuffle_sb): Likewise.
11919         (shuffle_sb): Likewise.
11920         (_ufc_setup_salt_r): Likewise.
11921         (_ufc_mk_keytab_r): Likewise.
11922         (_ufc_dofinalperm_r): Likewise.
11923         (encrypt): Likewise.
11924         (__setkey_r): Likewise.
11925         (setkey): Likewise.
11926         * crypt/md5.c (md5_init_ctx): Likewise.
11927         (md5_read_ctx): Likewise.
11928         (md5_finish_ctx): Likewise.
11929         (md5_stream): Likewise.
11930         (md5_buffer): Likewise.
11931         (md5_process_bytes): Likewise.
11932         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11933         (__sha256_finish_ctx): Likewise.
11934         (__sha256_process_bytes): Likewise.
11935         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11936         (__sha512_finish_ctx): Likewise.
11937         (__sha512_process_bytes): Likewise.
11938         * ctype/isctype.c (__isctype): Likewise.
11939         * debug/backtrace.c (__backtrace): Likewise.
11940         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11941         * debug/fgets_chk.c (__fgets_chk): Likewise.
11942         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11943         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11944         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11945         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11946         * debug/memset_chk.c (__memset_chk): Likewise.
11947         * debug/strcat_chk.c (__strcat_chk): Likewise.
11948         * debug/strncat_chk.c (__strncat_chk): Likewise.
11949         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11950         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11951         * dirent/dirfd.c (dirfd): Likewise.
11952         * dirent/getdents.c (__getdirentries): Likewise.
11953         * dirent/getdents64.c (getdirentries64): Likewise.
11954         * dirent/rewinddir.c (__rewinddir): Likewise.
11955         * dirent/seekdir.c (seekdir): Likewise.
11956         * dirent/telldir.c (telldir): Likewise.
11957         * elf/sln.c (makesymlinks): Likewise.
11958         (makesymlink): Likewise.
11959         * gmon/gmon.c (__moncontrol): Likewise.
11960         (__monstartup): Likewise.
11961         (write_hist): Likewise.
11962         (write_call_graph): Likewise.
11963         (write_bb_counts): Likewise.
11964         * grp/setgroups.c (setgroups): Likewise.
11965         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11966         * inet/inet_net.c (inet_network): Likewise.
11967         * inet/inet_netof.c (inet_netof): Likewise.
11968         * inet/rcmd.c (rresvport_af): Likewise.
11969         (rresvport): Likewise.
11970         * io/access.c (__access): Likewise.
11971         * io/chdir.c (__chdir): Likewise.
11972         * io/chmod.c (__chmod): Likewise.
11973         * io/chown.c (__chown): Likewise.
11974         * io/close.c (__close): Likewise.
11975         * io/creat.c (creat): Likewise.
11976         * io/creat64.c (creat64): Likewise.
11977         * io/dup.c (__dup): Likewise.
11978         * io/dup2.c (__dup2): Likewise.
11979         * io/dup3.c (__dup3): Likewise.
11980         * io/euidaccess.c (__euidaccess): Likewise.
11981         * io/faccessat.c (faccessat): Likewise.
11982         * io/fchmod.c (__fchmod): Likewise.
11983         * io/fchmodat.c (fchmodat): Likewise.
11984         * io/fchown.c (__fchown): Likewise.
11985         * io/fchownat.c (fchownat): Likewise.
11986         * io/fcntl.c (__fcntl): Likewise.
11987         * io/flock.c (__flock): Likewise.
11988         * io/fts.c (fts_load): Likewise.
11989         (fts_close): Likewise.
11990         (fts_read): Likewise.
11991         (fts_set): Likewise.
11992         (fts_children): Likewise.
11993         (fts_build): Likewise.
11994         (fts_stat): Likewise.
11995         (fts_sort): Likewise.
11996         (fts_alloc): Likewise.
11997         (fts_lfree): Likewise.
11998         (fts_palloc): Likewise.
11999         (fts_padjust): Likewise.
12000         (fts_maxarglen): Likewise.
12001         (fts_safe_changedir): Likewise.
12002         * io/getwd.c (getwd): Likewise.
12003         * io/isatty.c (__isatty): Likewise.
12004         * io/lchown.c (__lchown): Likewise.
12005         * io/link.c (__link): Likewise.
12006         * io/linkat.c (linkat): Likewise.
12007         * io/lseek.c (__libc_lseek): Likewise.
12008         * io/mkdir.c (__mkdir): Likewise.
12009         * io/mkdirat.c (mkdirat): Likewise.
12010         * io/mkfifo.c (mkfifo): Likewise.
12011         * io/mkfifoat.c (mkfifoat): Likewise.
12012         * io/open.c (__libc_open): Likewise.
12013         * io/open64.c (__libc_open64): Likewise.
12014         * io/readlink.c (__readlink): Likewise.
12015         * io/readlinkat.c (readlinkat): Likewise.
12016         * io/rmdir.c (__rmdir): Likewise.
12017         * io/symlink.c (__symlink): Likewise.
12018         * io/symlinkat.c (symlinkat): Likewise.
12019         * io/ttyname.c (ttyname): Likewise.
12020         * io/ttyname_r.c (__ttyname_r): Likewise.
12021         * io/umask.c (__umask): Likewise.
12022         * io/unlink.c (__unlink): Likewise.
12023         * io/unlinkat.c (unlinkat): Likewise.
12024         * io/utime.c (utime): Likewise.
12025         * libio/clearerr.c (clearerr): Likewise.
12026         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12027         * libio/feof.c (_IO_feof): Likewise.
12028         * libio/feof_u.c (feof_unlocked): Likewise.
12029         * libio/ferror.c (_IO_ferror): Likewise.
12030         * libio/ferror_u.c (ferror_unlocked): Likewise.
12031         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12032         * libio/fileno.c (__fileno): Likewise.
12033         * libio/fputc.c (fputc): Likewise.
12034         * libio/fputc_u.c (fputc_unlocked): Likewise.
12035         * libio/fputwc.c (fputwc): Likewise.
12036         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12037         * libio/freopen.c (freopen): Likewise.
12038         * libio/freopen64.c (freopen64): Likewise.
12039         * libio/fseek.c (fseek): Likewise.
12040         * libio/fseeko.c (fseeko): Likewise.
12041         * libio/fseeko64.c (fseeko64): Likewise.
12042         * libio/ftello.c (__ftello): Likewise.
12043         * libio/ftello64.c (ftello64): Likewise.
12044         * libio/fwide.c (fwide): Likewise.
12045         * libio/genops.c (_IO_un_link): Likewise.
12046         (_IO_link_in): Likewise.
12047         (_IO_least_marker): Likewise.
12048         (_IO_switch_to_main_get_area): Likewise.
12049         (_IO_switch_to_backup_area): Likewise.
12050         (_IO_switch_to_get_mode): Likewise.
12051         (_IO_free_backup_area): Likewise.
12052         (_IO_switch_to_put_mode): Likewise.
12053         (__overflow): Likewise.
12054         (__underflow): Likewise.
12055         (__uflow): Likewise.
12056         (_IO_setb): Likewise.
12057         (_IO_doallocbuf): Likewise.
12058         (_IO_default_underflow): Likewise.
12059         (_IO_default_uflow): Likewise.
12060         (_IO_default_xsputn): Likewise.
12061         (_IO_sgetn): Likewise.
12062         (_IO_default_xsgetn): Likewise.
12063         (_IO_sync): Likewise.
12064         (_IO_default_setbuf): Likewise.
12065         (_IO_default_seekpos): Likewise.
12066         (_IO_default_doallocate): Likewise.
12067         (_IO_init): Likewise.
12068         (_IO_old_init): Likewise.
12069         (_IO_default_sync): Likewise.
12070         (_IO_default_finish): Likewise.
12071         (_IO_default_seekoff): Likewise.
12072         (_IO_sputbackc): Likewise.
12073         (_IO_sungetc): Likewise.
12074         (_IO_set_column): Likewise.
12075         (_IO_set_column): Likewise.
12076         (_IO_adjust_column): Likewise.
12077         (_IO_get_column): Likewise.
12078         (_IO_init_marker): Likewise.
12079         (_IO_remove_marker): Likewise.
12080         (_IO_marker_difference): Likewise.
12081         (_IO_marker_delta): Likewise.
12082         (_IO_seekmark): Likewise.
12083         (_IO_unsave_markers): Likewise.
12084         (_IO_nobackup_pbackfail): Likewise.
12085         (_IO_default_pbackfail): Likewise.
12086         (_IO_default_seek): Likewise.
12087         (_IO_default_stat): Likewise.
12088         (_IO_default_read): Likewise.
12089         (_IO_default_write): Likewise.
12090         (_IO_default_showmanyc): Likewise.
12091         (_IO_default_imbue): Likewise.
12092         (_IO_iter_next): Likewise.
12093         (_IO_iter_file): Likewise.
12094         * libio/getc.c (_IO_getc): Likewise.
12095         * libio/getwc.c (_IO_getwc): Likewise.
12096         * libio/iofclose.c (_IO_new_fclose): Likewise.
12097         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12098         * libio/iofflush.c (_IO_fflush): Likewise.
12099         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12100         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12101         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12102         * libio/iofgets.c (_IO_fgets): Likewise.
12103         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12104         * libio/iofgetws.c (fgetws): Likewise.
12105         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12106         * libio/iofopen64.c (_IO_fopen64): Likewise.
12107         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12108         (_IO_cookie_write): Likewise.
12109         (_IO_cookie_seek): Likewise.
12110         (_IO_cookie_close): Likewise.
12111         (_IO_cookie_seekoff): Likewise.
12112         (_IO_old_cookie_seek): Likewise.
12113         * libio/iofputs.c (_IO_fputs): Likewise.
12114         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12115         * libio/iofputws.c (fputws): Likewise.
12116         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12117         * libio/iofread.c (_IO_fread): Likewise.
12118         * libio/iofread_u.c (__fread_unlocked): Likewise.
12119         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12120         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12121         * libio/ioftell.c (_IO_ftell): Likewise.
12122         * libio/iofwrite.c (_IO_fwrite): Likewise.
12123         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12124         * libio/iogets.c (_IO_gets): Likewise.
12125         * libio/iopadn.c (_IO_padn): Likewise.
12126         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12127         (_IO_new_popen): Likewise.
12128         (_IO_new_proc_close): Likewise.
12129         * libio/ioputs.c (_IO_puts): Likewise.
12130         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12131         (_IO_seekoff): Likewise.
12132         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12133         (_IO_seekpos): Likewise.
12134         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12135         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12136         * libio/ioungetc.c (_IO_ungetc): Likewise.
12137         * libio/ioungetwc.c (ungetwc): Likewise.
12138         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12139         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12140         * libio/iowpadn.c (_IO_wpadn): Likewise.
12141         * libio/libc_fatal.c (__libc_fatal): Likewise.
12142         * libio/memstream.c (__open_memstream): Likewise.
12143         (_IO_mem_sync): Likewise.
12144         (_IO_mem_finish): Likewise.
12145         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12146         (_IO_old_file_close_it): Likewise.
12147         (_IO_old_file_finish): Likewise.
12148         (_IO_old_file_fopen): Likewise.
12149         (_IO_old_file_attach): Likewise.
12150         (_IO_old_file_setbuf): Likewise.
12151         (_IO_old_do_write): Likewise.
12152         (old_do_write): Likewise.
12153         (_IO_old_file_underflow): Likewise.
12154         (_IO_old_file_overflow): Likewise.
12155         (_IO_old_file_sync): Likewise.
12156         (_IO_old_file_seekoff): Likewise.
12157         (_IO_old_file_write): Likewise.
12158         (_IO_old_file_xsputn): Likewise.
12159         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12160         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12161         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12162         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12163         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12164         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12165         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12166         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12167         (_IO_old_popen): Likewise.
12168         (_IO_old_proc_close): Likewise.
12169         * libio/oldpclose.c (__old_pclose): Likewise.
12170         * libio/pclose.c (__new_pclose): Likewise.
12171         * libio/peekc.c (_IO_peekc_locked): Likewise.
12172         * libio/putc.c (_IO_putc): Likewise.
12173         * libio/putc_u.c (putc_unlocked): Likewise.
12174         * libio/putchar.c (putchar): Likewise.
12175         * libio/putchar_u.c (putchar_unlocked): Likewise.
12176         * libio/putwc.c (putwc): Likewise.
12177         * libio/putwc_u.c (putwc_unlocked): Likewise.
12178         * libio/putwchar.c (putwchar): Likewise.
12179         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12180         * libio/rewind.c (rewind): Likewise.
12181         * libio/setbuf.c (setbuf): Likewise.
12182         * libio/setlinebuf.c (setlinebuf): Likewise.
12183         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12184         * libio/vscanf.c (_IO_vscanf): Likewise.
12185         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12186         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12187         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12188         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12189         (_IO_switch_to_main_wget_area): Likewise.
12190         (_IO_switch_to_wbackup_area): Likewise.
12191         (_IO_wsetb): Likewise.
12192         (_IO_wdefault_pbackfail): Likewise.
12193         (_IO_wdefault_finish): Likewise.
12194         (_IO_wdefault_uflow): Likewise.
12195         (__woverflow): Likewise.
12196         (__wuflow): Likewise.
12197         (__wunderflow): Likewise.
12198         (_IO_wdefault_xsputn): Likewise.
12199         (_IO_wdefault_xsgetn): Likewise.
12200         (_IO_wdoallocbuf): Likewise.
12201         (_IO_wdefault_doallocate): Likewise.
12202         (_IO_switch_to_wget_mode): Likewise.
12203         (_IO_free_wbackup_area): Likewise.
12204         (_IO_switch_to_wput_mode): Likewise.
12205         (_IO_sputbackwc): Likewise.
12206         (_IO_sungetwc): Likewise.
12207         (_IO_adjust_wcolumn): Likewise.
12208         (_IO_init_wmarker): Likewise.
12209         (_IO_wmarker_delta): Likewise.
12210         (_IO_seekwmark): Likewise.
12211         (_IO_unsave_wmarkers): Likewise.
12212         * libio/wmemstream.c (open_wmemstream): Likewise.
12213         (_IO_wmem_sync): Likewise.
12214         (_IO_wmem_finish): Likewise.
12215         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12216         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12217         * locale/programs/simple-hash.c (init_hash): Likewise.
12218         (delete_hash): Likewise.
12219         (insert_entry): Likewise.
12220         (set_entry): Likewise.
12221         (next_prime): Likewise.
12222         (is_prime): Likewise.
12223         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12224         (xmalloc): Likewise.
12225         (xrealloc): Likewise.
12226         * locale/programs/xstrdup.c (xstrdup): Likewise.
12227         * localedata/collate-test.c (xstrcoll): Likewise.
12228         * localedata/xfrm-test.c (xstrcmp): Likewise.
12229         * login/getlogin_r.c (__getlogin_r): Likewise.
12230         * login/getpt.c (__posix_openpt): Likewise.
12231         * login/login_tty.c (login_tty): Likewise.
12232         * login/setlogin.c (setlogin): Likewise.
12233         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12234         (mach_msg_destroy_port): Likewise.
12235         (mach_msg_destroy_memory): Likewise.
12236         * malloc/mcheck.c (flood): Likewise.
12237         * misc/acct.c (acct): Likewise.
12238         * misc/brk.c (__brk): Likewise.
12239         * misc/chflags.c (chflags): Likewise.
12240         * misc/chroot.c (chroot): Likewise.
12241         * misc/fchflags.c (fchflags): Likewise.
12242         * misc/fstab.c (getfsspec): Likewise.
12243         (getfsfile): Likewise.
12244         * misc/fsync.c (fsync): Likewise.
12245         * misc/ftruncate.c (__ftruncate): Likewise.
12246         * misc/ftruncate64.c (__ftruncate64): Likewise.
12247         * misc/getdomain.c (getdomainname): Likewise.
12248         (getdomainname): Likewise.
12249         * misc/gethostname.c (__gethostname): Likewise.
12250         * misc/getpass.c (getpass): Likewise.
12251         * misc/getttyent.c (skip): Likewise.
12252         (value): Likewise.
12253         * misc/gtty.c (gtty): Likewise.
12254         * misc/hsearch.c (hsearch): Likewise.
12255         (hcreate): Likewise.
12256         * misc/hsearch_r.c (__hcreate_r): Likewise.
12257         (__hdestroy_r): Likewise.
12258         * misc/ioctl.c (__ioctl): Likewise.
12259         * misc/mkdtemp.c (mkdtemp): Likewise.
12260         * misc/mkostemp.c (mkostemp): Likewise.
12261         * misc/mkostemp64.c (mkostemp64): Likewise.
12262         * misc/mkostemps.c (mkostemps): Likewise.
12263         * misc/mkostemps64.c (mkostemps64): Likewise.
12264         * misc/mkstemp.c (mkstemp): Likewise.
12265         * misc/mkstemp64.c (mkstemp64): Likewise.
12266         * misc/mkstemps.c (mkstemps): Likewise.
12267         * misc/mkstemps64.c (mkstemps64): Likewise.
12268         * misc/mktemp.c (__mktemp): Likewise.
12269         * misc/preadv.c (preadv): Likewise.
12270         * misc/preadv64.c (preadv64): Likewise.
12271         * misc/pwritev.c (pwritev): Likewise.
12272         * misc/pwritev64.c (pwritev64): Likewise.
12273         * misc/readv.c (__readv): Likewise.
12274         * misc/revoke.c (revoke): Likewise.
12275         * misc/setdomain.c (setdomainname): Likewise.
12276         * misc/setegid.c (setegid): Likewise.
12277         * misc/seteuid.c (seteuid): Likewise.
12278         * misc/sethostid.c (sethostid): Likewise.
12279         * misc/sethostname.c (sethostname): Likewise.
12280         * misc/setregid.c (__setregid): Likewise.
12281         * misc/setreuid.c (__setreuid): Likewise.
12282         * misc/sstk.c (sstk): Likewise.
12283         * misc/stty.c (stty): Likewise.
12284         * misc/syscall.c (syscall): Likewise.
12285         * misc/syslog.c (setlogmask): Likewise.
12286         * misc/truncate.c (__truncate): Likewise.
12287         * misc/truncate64.c (truncate64): Likewise.
12288         * misc/ualarm.c (ualarm): Likewise.
12289         * misc/usleep.c (usleep): Likewise.
12290         * misc/ustat.c (ustat): Likewise.
12291         * misc/writev.c (__writev): Likewise.
12292         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12293         * nptl/old_pthread_cond_broadcast.c
12294         (__pthread_cond_broadcast_2_0): Likewise.
12295         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12296         Likewise.
12297         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12298         Likewise.
12299         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12300         Likewise.
12301         * nptl/pt-raise.c (raise): Likewise.
12302         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12303         Likewise.
12304         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12305         * nptl/pthread_barrierattr_destroy.c
12306         (pthread_barrierattr_destroy): Likewise.
12307         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12308         Likewise.
12309         * nptl/pthread_barrierattr_setpshared.c
12310         (pthread_barrierattr_setpshared): Likewise.
12311         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12312         Likewise.
12313         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12314         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12315         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12316         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12317         Likewise.
12318         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12319         Likewise.
12320         * nptl/pthread_condattr_getpshared.c
12321         (pthread_condattr_getpshared): Likewise.
12322         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12323         Likewise.
12324         * nptl/pthread_condattr_setpshared.c
12325         (pthread_condattr_setpshared): Likewise.
12326         * nptl/pthread_detach.c (pthread_detach): Likewise.
12327         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12328         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12329         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12330         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12331         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12332         Likewise.
12333         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12334         Likewise.
12335         * nptl/pthread_mutex_getprioceiling.c
12336         (pthread_mutex_getprioceiling): Likewise.
12337         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12338         Likewise.
12339         * nptl/pthread_mutexattr_getprotocol.c
12340         (pthread_mutexattr_getprotocol): Likewise.
12341         * nptl/pthread_mutexattr_getpshared.c
12342         (pthread_mutexattr_getpshared): Likewise.
12343         * nptl/pthread_mutexattr_getrobust.c
12344         (pthread_mutexattr_getrobust): Likewise.
12345         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12346         Likewise.
12347         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12348         Likewise.
12349         * nptl/pthread_mutexattr_setprioceiling.c
12350         (pthread_mutexattr_setprioceiling): Likewise.
12351         * nptl/pthread_mutexattr_setprotocol.c
12352         (pthread_mutexattr_setprotocol): Likewise.
12353         * nptl/pthread_mutexattr_setpshared.c
12354         (pthread_mutexattr_setpshared): Likewise.
12355         * nptl/pthread_mutexattr_setrobust.c
12356         (pthread_mutexattr_setrobust): Likewise.
12357         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12358         Likewise.
12359         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12360         Likewise.
12361         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12362         Likewise.
12363         * nptl/pthread_rwlockattr_getkind_np.c
12364         (pthread_rwlockattr_getkind_np): Likewise.
12365         * nptl/pthread_rwlockattr_getpshared.c
12366         (pthread_rwlockattr_getpshared): Likewise.
12367         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12368         Likewise.
12369         * nptl/pthread_rwlockattr_setkind_np.c
12370         (pthread_rwlockattr_setkind_np): Likewise.
12371         * nptl/pthread_rwlockattr_setpshared.c
12372         (pthread_rwlockattr_setpshared): Likewise.
12373         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12374         Likewise.
12375         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12376         Likewise.
12377         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12378         Likewise.
12379         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12380         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12381         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12382         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12383         * nptl/sem_close.c (sem_close): Likewise.
12384         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12385         * nptl/sem_init.c (__old_sem_init): Likewise.
12386         * nptl/sigaction.c (__sigaction): Likewise.
12387         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12388         * posix/_exit.c (_exit): Likewise.
12389         * posix/alarm.c (alarm): Likewise.
12390         * posix/confstr.c (confstr): Likewise.
12391         * posix/fpathconf.c (__fpathconf): Likewise.
12392         * posix/getgroups.c (__getgroups): Likewise.
12393         * posix/getpgid.c (__getpgid): Likewise.
12394         * posix/group_member.c (__group_member): Likewise.
12395         * posix/pathconf.c (__pathconf): Likewise.
12396         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12397         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12398         * posix/setgid.c (__setgid): Likewise.
12399         * posix/setpgid.c (__setpgid): Likewise.
12400         * posix/setuid.c (__setuid): Likewise.
12401         * posix/sleep.c (__sleep): Likewise.
12402         * posix/sysconf.c (__sysconf): Likewise.
12403         * posix/times.c (__times): Likewise.
12404         * posix/uname.c (__uname): Likewise.
12405         * posix/waitid.c (__waitid): Likewise.
12406         * pwd/getpw.c (__getpw): Likewise.
12407         * resolv/base64.c (b64_pton): Likewise.
12408         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12409         * resolv/gethnamaddr.c (Dprintf): Likewise.
12410         (gethostbyname): Likewise.
12411         (gethostbyname2): Likewise.
12412         (gethostbyaddr): Likewise.
12413         (_sethtent): Likewise.
12414         (_gethtbyname): Likewise.
12415         (_gethtbyname2): Likewise.
12416         (_gethtbyaddr): Likewise.
12417         (map_v4v6_address): Likewise.
12418         (map_v4v6_hostent): Likewise.
12419         (addrsort): Likewise.
12420         (ht_sethostent): Likewise.
12421         (ht_gethostbyname): Likewise.
12422         (ht_gethostbyaddr): Likewise.
12423         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12424         (inet_net_ntop_ipv4): Likewise.
12425         * resolv/inet_neta.c (inet_neta): Likewise.
12426         * resolv/inet_ntop.c (inet_ntop): Likewise.
12427         (inet_ntop4): Likewise.
12428         (inet_ntop6): Likewise.
12429         * resolv/inet_pton.c (__inet_pton): Likewise.
12430         (inet_pton4): Likewise.
12431         (inet_pton6): Likewise.
12432         * resolv/res_debug.c (loc_aton): Likewise.
12433         (loc_ntoa): Likewise.
12434         * resource/getpriority.c (__getpriority): Likewise.
12435         * resource/getrusage.c (__getrusage): Likewise.
12436         * resource/nice.c (nice): Likewise.
12437         * resource/setpriority.c (__setpriority): Likewise.
12438         * resource/setrlimit64.c (setrlimit64): Likewise.
12439         * resource/vlimit.c (vlimit): Likewise.
12440         * resource/vtimes.c (vtimes): Likewise.
12441         * rt/aio_error.c (aio_error): Likewise.
12442         * rt/aio_return.c (aio_return): Likewise.
12443         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12444         * signal/kill.c (__kill): Likewise.
12445         * signal/killpg.c (killpg): Likewise.
12446         * signal/raise.c (raise): Likewise.
12447         * signal/sigaction.c (__sigaction): Likewise.
12448         * signal/sigaddset.c (sigaddset): Likewise.
12449         * signal/sigaltstack.c (sigaltstack): Likewise.
12450         * signal/sigandset.c (sigandset): Likewise.
12451         * signal/sigblock.c (__sigblock): Likewise.
12452         * signal/sigdelset.c (sigdelset): Likewise.
12453         * signal/sigempty.c (sigemptyset): Likewise.
12454         * signal/sigfillset.c (sigfillset): Likewise.
12455         * signal/sighold.c (sighold): Likewise.
12456         * signal/sigignore.c (sigignore): Likewise.
12457         * signal/sigintr.c (siginterrupt): Likewise.
12458         * signal/sigisempty.c (sigisemptyset): Likewise.
12459         * signal/sigismem.c (sigismember): Likewise.
12460         * signal/signal.c (signal): Likewise.
12461         * signal/sigorset.c (sigorset): Likewise.
12462         * signal/sigpause.c (__sigpause): Likewise.
12463         * signal/sigpending.c (sigpending): Likewise.
12464         * signal/sigprocmask.c (__sigprocmask): Likewise.
12465         * signal/sigrelse.c (sigrelse): Likewise.
12466         * signal/sigreturn.c (__sigreturn): Likewise.
12467         * signal/sigset.c (sigset): Likewise.
12468         * signal/sigsetmask.c (__sigsetmask): Likewise.
12469         * signal/sigstack.c (sigstack): Likewise.
12470         * signal/sigsuspend.c (__sigsuspend): Likewise.
12471         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12472         * signal/sysv_signal.c (__sysv_signal): Likewise.
12473         * socket/accept.c (accept): Likewise.
12474         * socket/accept4.c (__libc_accept4): Likewise.
12475         * socket/bind.c (__bind): Likewise.
12476         * socket/connect.c (__connect): Likewise.
12477         * socket/getpeername.c (getpeername): Likewise.
12478         * socket/getsockname.c (__getsockname): Likewise.
12479         * socket/getsockopt.c (getsockopt): Likewise.
12480         * socket/listen.c (__listen): Likewise.
12481         * socket/recv.c (__recv): Likewise.
12482         * socket/recvmsg.c (__recvmsg): Likewise.
12483         * socket/send.c (__send): Likewise.
12484         * socket/sendmsg.c (__sendmsg): Likewise.
12485         * socket/shutdown.c (shutdown): Likewise.
12486         * socket/sockatmark.c (sockatmark): Likewise.
12487         * socket/socket.c (__socket): Likewise.
12488         * stdio-common/ctermid.c (ctermid): Likewise.
12489         * stdio-common/cuserid.c (cuserid): Likewise.
12490         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12491         * stdio-common/remove.c (remove): Likewise.
12492         * stdio-common/rename.c (rename): Likewise.
12493         * stdio-common/renameat.c (renameat): Likewise.
12494         * stdio-common/tempname.c (__gen_tempname): Likewise.
12495         * stdio-common/xbug.c (InitBuffer): Likewise.
12496         (AppendToBuffer): Likewise.
12497         (ReadFile): Likewise.
12498         * stdlib/a64l.c (a64l): Likewise.
12499         * stdlib/drand48_r.c (drand48_r): Likewise.
12500         * stdlib/getcontext.c (getcontext): Likewise.
12501         * stdlib/getenv.c (getenv): Likewise.
12502         * stdlib/l64a.c (l64a): Likewise.
12503         * stdlib/llabs.c (llabs): Likewise.
12504         * stdlib/lldiv.c (lldiv): Likewise.
12505         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12506         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12507         * stdlib/putenv.c (putenv): Likewise.
12508         * stdlib/random.c (__srandom): Likewise.
12509         (__initstate): Likewise.
12510         (__setstate): Likewise.
12511         * stdlib/random_r.c (__srandom_r): Likewise.
12512         (__setstate_r): Likewise.
12513         (__random_r): Likewise.
12514         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12515         * stdlib/setcontext.c (setcontext): Likewise.
12516         * stdlib/setenv.c (setenv): Likewise.
12517         (unsetenv): Likewise.
12518         * stdlib/srand48.c (srand48): Likewise.
12519         * stdlib/srand48_r.c (__srand48_r): Likewise.
12520         * stdlib/swapcontext.c (swapcontext): Likewise.
12521         * stdlib/system.c (__libc_system): Likewise.
12522         * stdlib/tst-strtod.c (expand): Likewise.
12523         * stdlib/tst-strtol.c (expand): Likewise.
12524         * stdlib/tst-strtoll.c (expand): Likewise.
12525         * streams/fattach.c (fattach): Likewise.
12526         * streams/fdetach.c (fdetach): Likewise.
12527         * streams/getmsg.c (getmsg): Likewise.
12528         * streams/isastream.c (isastream): Likewise.
12529         * string/ffs.c (__ffs): Likewise.
12530         * string/ffsll.c (ffsll): Likewise.
12531         * string/memcmp.c (memcmp_common_alignment): Likewise.
12532         (memcmp_not_common_alignment): Likewise.
12533         (MEMCMP): Likewise.
12534         * string/memcpy.c (memcpy): Likewise.
12535         * string/memmove.c (MEMMOVE): Likewise.
12536         * string/memset.c (memset): Likewise.
12537         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12538         * string/strchrnul.c (STRCHRNUL): Likewise.
12539         * string/strerror.c (strerror): Likewise.
12540         * string/strndup.c (__strndup): Likewise.
12541         * string/strverscmp.c (__strverscmp): Likewise.
12542         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12543         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12544         (clnttcp_freeres): Likewise.
12545         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12546         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12547         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12548         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12549         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12550         (xdr_callhdr): Likewise.
12551         * sunrpc/rpcinfo.c (udpping): Likewise.
12552         (tcpping): Likewise.
12553         (pstatus): Likewise.
12554         (pmapdump): Likewise.
12555         (brdcst): Likewise.
12556         (deletereg): Likewise.
12557         (getprognum): Likewise.
12558         (getvers): Likewise.
12559         (get_inet_address): Likewise.
12560         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12561         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12562         (svcudp_stat): Likewise.
12563         (svcudp_recv): Likewise.
12564         (svcudp_reply): Likewise.
12565         (svcudp_getargs): Likewise.
12566         (svcudp_freeargs): Likewise.
12567         (svcudp_destroy): Likewise.
12568         * sunrpc/xdr.c (xdr_bytes): Likewise.
12569         (xdr_netobj): Likewise.
12570         (xdr_string): Likewise.
12571         (xdr_wrapstring): Likewise.
12572         * sunrpc/xdr_float.c (xdr_float): Likewise.
12573         (xdr_double): Likewise.
12574         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12575         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12576         * sysvipc/ftok.c (ftok): Likewise.
12577         * sysvipc/msgctl.c (msgctl): Likewise.
12578         * sysvipc/msgget.c (msgget): Likewise.
12579         * sysvipc/msgrcv.c (msgrcv): Likewise.
12580         * sysvipc/msgsnd.c (msgsnd): Likewise.
12581         * sysvipc/semget.c (semget): Likewise.
12582         * sysvipc/semop.c (semop): Likewise.
12583         * sysvipc/shmat.c (shmat): Likewise.
12584         * sysvipc/shmctl.c (shmctl): Likewise.
12585         * sysvipc/shmdt.c (shmdt): Likewise.
12586         * sysvipc/shmget.c (shmget): Likewise.
12587         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12588         * termios/speed.c (cfgetospeed): Likewise.
12589         (cfgetispeed): Likewise.
12590         (cfsetospeed): Likewise.
12591         (cfsetispeed): Likewise.
12592         * termios/tcflow.c (tcflow): Likewise.
12593         * termios/tcflush.c (tcflush): Likewise.
12594         * termios/tcgetattr.c (__tcgetattr): Likewise.
12595         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12596         * termios/tcgetsid.c (tcgetsid): Likewise.
12597         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12598         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12599         * time/adjtime.c (__adjtime): Likewise.
12600         * time/dysize.c (dysize): Likewise.
12601         * time/ftime.c (ftime): Likewise.
12602         * time/getitimer.c (__getitimer): Likewise.
12603         * time/gettimeofday.c (__gettimeofday): Likewise.
12604         * time/gmtime.c (__gmtime_r): Likewise.
12605         (gmtime): Likewise.
12606         * time/localtime.c (__localtime_r): Likewise.
12607         (localtime): Likewise.
12608         * time/offtime.c (__offtime): Likewise.
12609         * time/settimeofday.c (__settimeofday): Likewise.
12610         * time/stime.c (stime): Likewise.
12611         * time/strftime_l.c (tm_diff): Likewise.
12612         (iso_week_days): Likewise.
12613         * time/strptime.c (strptime): Likewise.
12614         * time/time.c (time): Likewise.
12615         * time/timespec_get.c (timespec_get): Likewise.
12616         * time/tzset.c (tzset_internal): Likewise.
12617         (compute_change): Likewise.
12618         (__tz_compute): Likewise.
12619         * wcsmbs/btowc.c (__btowc): Likewise.
12620         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12621         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12622         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12623         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12624         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12625         * wcsmbs/wcscat.c (__wcscat): Likewise.
12626         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12627         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12628         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12629         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12630         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12631         * wcsmbs/wcslen.c (__wcslen): Likewise.
12632         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12633         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12634         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12635         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12636         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12637         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12638         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12639         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12640         * wcsmbs/wcstok.c (wcstok): Likewise.
12641         * wcsmbs/wctob.c (wctob): Likewise.
12642         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12643         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12644         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12645         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12646         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12647         * wcsmbs/wmemset.c (__wmemset): Likewise.
12648         * wctype/wcfuncs.c (__towlower): Likewise.
12649         (__towupper): Likewise.
12651         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12652         (lll_unlock_elision): Add adapt_count parameter.
12654 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12656         * sysdeps/nptl/configure.ac: Do not give errors based on the
12657         results of top-level configure tests.
12658         * sysdeps/nptl/configure: Regenerated.
12660         * configure.ac (libc_cv_Bgroup): Remove configure test.
12661         * configure: Regenerated.
12662         * config.make.in (have-Bgroup): Remove variable.
12664         * configure.ac (sizeof_long_double): Remove configure test.
12665         * configure: Regenerated.
12666         * config.make.in (sizeof-long-double): Remove variable.
12668         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12669         * configure: Regenerated.
12670         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12671         variable.
12672         (exceptions): Likewise.
12673         * sysdeps/arm/configure: Regenerated.
12674         * config.make.in (exceptions): Remove variable.
12675         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12676         $(exceptions).
12677         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12678         (CFLAGS-vdprintf_chk.c): Likewise.
12679         (CFLAGS-printf_chk.c): Likewise.
12680         (CFLAGS-fprintf_chk.c): Likewise.
12681         (CFLAGS-vprintf_chk.c): Likewise.
12682         (CFLAGS-vfprintf_chk.c): Likewise.
12683         (CFLAGS-gets_chk.c): Likewise.
12684         (CFLAGS-fgets_chk.c): Likewise.
12685         (CFLAGS-fgets_u_chk.c): Likewise.
12686         (CFLAGS-fread_chk.c): Likewise.
12687         (CFLAGS-fread_u_chk.c): Likewise.
12688         (CFLAGS-wprintf_chk.c): Likewise.
12689         (CFLAGS-fwprintf_chk.c): Likewise.
12690         (CFLAGS-vwprintf_chk.c): Likewise.
12691         (CFLAGS-vfwprintf_chk.c): Likewise.
12692         (CFLAGS-fgetws_chk.c): Likewise.
12693         (CFLAGS-fgetws_u_chk.c): Likewise.
12694         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12695         (CFLAGS-fputc.c): Likewise.
12696         (CFLAGS-fputwc.c): Likewise.
12697         (CFLAGS-freopen64.c): Likewise.
12698         (CFLAGS-freopen.c): Likewise.
12699         (CFLAGS-fseek.c): Likewise.
12700         (CFLAGS-fseeko64.c): Likewise.
12701         (CFLAGS-fseeko.c): Likewise.
12702         (CFLAGS-ftello64.c): Likewise.
12703         (CFLAGS-ftello.c): Likewise.
12704         (CFLAGS-fwide.c): Likewise.
12705         (CFLAGS-genops.c): Likewise.
12706         (CFLAGS-getc.c): Likewise.
12707         (CFLAGS-getchar.c): Likewise.
12708         (CFLAGS-getwc.c): Likewise.
12709         (CFLAGS-getwchar.c): Likewise.
12710         (CFLAGS-iofclose.c): Likewise.
12711         (CFLAGS-iofflush.c): Likewise.
12712         (CFLAGS-iofgetpos64.c): Likewise.
12713         (CFLAGS-iofgetpos.c): Likewise.
12714         (CFLAGS-iofgets.c): Likewise.
12715         (CFLAGS-iofgetws.c): Likewise.
12716         (CFLAGS-iofputs.c): Likewise.
12717         (CFLAGS-iofputws.c): Likewise.
12718         (CFLAGS-iofread.c): Likewise.
12719         (CFLAGS-iofsetpos64.c): Likewise.
12720         (CFLAGS-iofsetpos.c): Likewise.
12721         (CFLAGS-ioftell.c): Likewise.
12722         (CFLAGS-iofwrite.c): Likewise.
12723         (CFLAGS-iogetdelim.c): Likewise.
12724         (CFLAGS-iogetline.c): Likewise.
12725         (CFLAGS-iogets.c): Likewise.
12726         (CFLAGS-iogetwline.c): Likewise.
12727         (CFLAGS-ioputs.c): Likewise.
12728         (CFLAGS-ioseekoff.c): Likewise.
12729         (CFLAGS-ioseekpos.c): Likewise.
12730         (CFLAGS-iosetbuffer.c): Likewise.
12731         (CFLAGS-iosetvbuf.c): Likewise.
12732         (CFLAGS-ioungetc.c): Likewise.
12733         (CFLAGS-ioungetwc.c): Likewise.
12734         (CFLAGS-oldfileops.c): Likewise.
12735         (CFLAGS-oldiofclose.c): Likewise.
12736         (CFLAGS-oldiofgetpos64.c): Likewise.
12737         (CFLAGS-oldiofgetpos.c): Likewise.
12738         (CFLAGS-oldiofsetpos64.c): Likewise.
12739         (CFLAGS-oldiofsetpos.c): Likewise.
12740         (CFLAGS-peekc.c): Likewise.
12741         (CFLAGS-putc.c): Likewise.
12742         (CFLAGS-putchar.c): Likewise.
12743         (CFLAGS-putwc.c): Likewise.
12744         (CFLAGS-putwchar.c): Likewise.
12745         (CFLAGS-rewind.c): Likewise.
12746         (CFLAGS-wfileops.c): Likewise.
12747         (CFLAGS-wgenops.c): Likewise.
12748         (CFLAGS-oldiofopen.c): Likewise.
12749         (CFLAGS-iofopen.c): Likewise.
12750         (CFLAGS-iofopen64.c): Likewise.
12751         (CFLAGS-oldtmpfile.c): Likewise.
12752         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12753         (CFLAGS-fprintf.c): Likewise.
12754         (CFLAGS-printf.c): Likewise.
12755         (CFLAGS-vfwprintf.c): Likewise.
12756         (CFLAGS-vfscanf.c): Likewise.
12757         (CFLAGS-vfwscanf.c): Likewise.
12758         (CFLAGS-fscanf.c): Likewise.
12759         (CFLAGS-scanf.c): Likewise.
12760         (CFLAGS-isoc99_vfscanf.c): Likewise.
12761         (CFLAGS-isoc99_vscanf.c): Likewise.
12762         (CFLAGS-isoc99_fscanf.c): Likewise.
12763         (CFLAGS-isoc99_scanf.c): Likewise.
12764         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12765         (CFLAGS-isoc99_fwscanf.c): Likewise.
12766         (CFLAGS-isoc99_vwscanf.c): Likewise.
12767         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12769         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12770         after mkstemp64.
12771         * login/tst-utmp.c (do_prepare): Likewise.
12772         * rt/tst-aio.c (do_prepare): Likewise.
12773         * rt/tst-aio64.c (do_prepare): Likewise.
12775 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12777         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12778         (__lll_lock_elision): Remove adapt_count decrement...
12779         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12780         (__lll_trylock_elision): Likewise.
12781         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12782         (__lll_unlock_elision): ... to here. And utilize
12783         new adapt_count parameter.
12784         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12785         (__lll_unlock_elision): Update to include adapt_count
12786         parameter.
12787         (lll_unlock_elision): Pass pointer to adapt_count
12788         variable.
12790 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12792         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12793         Add elision adapt_count parameter to list of arguments.
12794         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12795         (lll_unlock_elision): Update with new parameter list
12796         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12797         (lll_unlock_elision): Likewise.
12798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12799         (lll_unlock_elision): Likewise.
12801 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12803         [BZ #19122]
12804         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12805         attribute_hidden.
12807         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12808         attribute_hidden.
12809         [IS_IN (rtld)] (__strdup): Likewise.
12810         [IS_IN (rtld)] (__strerror_r): Likewise.
12811         [IS_IN (rtld)] (__strsep_g): Likewise.
12812         [IS_IN (rtld)] (memchr): Likewise.
12813         [IS_IN (rtld)] (memcmp): Likewise.
12814         [IS_IN (rtld)] (memcpy): Likewise.
12815         [IS_IN (rtld)] (memmove): Likewise.
12816         [IS_IN (rtld)] (memset): Likewise.
12817         [IS_IN (rtld)] (rawmemchr): Likewise.
12818         [IS_IN (rtld)] (stpcpy): Likewise.
12819         [IS_IN (rtld)] (strchr): Likewise.
12820         [IS_IN (rtld)] (strcmp): Likewise.
12821         [IS_IN (rtld)] (strlen): Likewise.
12822         [IS_IN (rtld)] (strnlen): Likewise.
12823         [IS_IN (rtld)] (strsep): Likewise.
12825         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12826         attribute_hidden.
12827         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12829         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12830         attribute_hidden.
12831         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12833         * include/setjmp.h (__longjmp): Add attribute_hidden.
12834         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12836         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12837         Add attribute_hidden.
12839         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12840         [IS_IN (rtld)] (__open): Likewise.
12841         [IS_IN (rtld)] (__fcntl): Likewise.
12843         * include/dirent.h (__opendirat): Add attribute_hidden.
12844         (__getdents): Likewise.
12845         (__getdents64): Likewise.
12846         (__alloc_dir): Likewise.
12847         [IS_IN (rtld)] (__closedir): Likewise.
12848         [IS_IN (rtld)] (__fdopendir): Likewise.
12849         [IS_IN (rtld)] (__readdir): Likewise.
12850         [IS_IN (rtld)] (__readdir64): Likewise.
12851         [IS_IN (rtld)] (__rewinddir): Likewise.
12853         * include/dlfcn.h (_dl_catch_error): Moved to ...
12854         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12855         attribute_hidden.
12857         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12858         (_itoa_word): Likewise.
12860         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12861         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12862         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12863         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12864         (_dl_higher_prime_number): Likewise.
12865         (_dl_debug_printf_c): Likewise.
12866         (_dl_signal_cerror): Likewise.
12867         (_dl_receive_error): Likewise.
12868         (_dl_reloc_bad_type): Likewise.
12869         (_dl_resolve_conflicts): Likewise.
12870         (_dl_check_all_versions): Likewise.
12871         (_dl_check_map_versions): Likewise.
12872         (_dl_sort_fini): Likewise.
12873         (_dl_debug_initialize): Likewise.
12874         (_dl_init_paths): Likewise.
12875         (_dl_show_auxv): Likewise.
12876         (_dl_next_ld_env_entry): Likewise.
12877         (_dl_important_hwcaps): Likewise.
12878         (_dl_load_cache_lookup): Likewise.
12879         (_dl_update_slotinfo): Likewise.
12880         (_dl_show_scope): Likewise.
12882         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12883         attribute_hidden.
12884         (_wordcopy_fwd_dest_aligned): Likewise.
12885         (_wordcopy_bwd_aligned): Likewise.
12886         (_wordcopy_bwd_dest_aligned): Likewise.
12888         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12889         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12890         Likewise.
12891         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12892         Likewise.
12893         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12895 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12897         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12898         GCC 5 requirement.
12900 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12902         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12903         test.
12904         * sysdeps/i386/configure: Regenerated.
12905         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12906         code unconditional.
12908         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12909         test.
12910         (libc_cv_asm_popsection_directive): Likewise.
12911         * configure: Regenerated.
12912         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12913         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12914         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12915         (__make_section_unallocated): Make definition unconditional.
12916         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12917         Remove conditional definition.
12918         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12919         (__make_section_unallocated): Likewise.
12921         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12922         * configure: Regenerated.
12923         * config.make.in (static-libgcc): Remove variable.
12924         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12925         $(static-libgcc).
12926         (build-module-helper): Likewise.
12928         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12929         * configure: Regenerated.
12931 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12933         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12934         (struct char_buffer): New type.
12935         (char_buffer_start, char_buffer_size, char_buffer_error)
12936         (char_buffer_rewind, char_buffer_add): New functions.
12937         (ADDW): Remove macro, replaced by the char_buffer_add function.
12938         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12939         of extend_alloca.  Make control flow more explicit.
12941 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12943         [BZ #19137]
12944         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12945         Add -fomit-frame-pointer.
12946         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12948 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12950         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12951         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12953         only if !__GNUC_PREREQ (5,0).
12954         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12955         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12956         (INTERNAL_SYSCALL_NCS): Likewise.
12957         (LOADREGS_0): New macro for GCC 5.
12958         (ASMARGS_0): Likewise.
12959         (LOADREGS_1): Likewise.
12960         (ASMARGS_1): Likewise.
12961         (LOADREGS_2): Likewise.
12962         (ASMARGS_2): Likewise.
12963         (LOADREGS_3): Likewise.
12964         (ASMARGS_3): Likewise.
12965         (LOADREGS_4): Likewise.
12966         (ASMARGS_4): Likewise.
12967         (LOADREGS_5): Likewise.
12968         (ASMARGS_5): Likewise.
12969         (LOADREGS_6): Likewise.
12970         (ASMARGS_6): Likewise.
12972 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12974         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12975         -fomit-frame-pointer.
12976         (CFLAGS-mmap64.c): Likewise.
12977         (CFLAGS-semtimedop.c): Likewise.
12978         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12979         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12980         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12981         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12983 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12985         [BZ #18928]
12986         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12987         _dl_pointer_guard member.
12988         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12989         initializer.
12990         (security_init): Always set up pointer guard.
12991         (process_envvars): Do not process LD_POINTER_GUARD.
12993 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12995         [BZ #19134]
12996         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12997         (.LC2): Likewise.
12998         (.LC3): Likewise.
12999         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13001 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13003         [BZ #19129]
13004         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13005         r0 and r1.
13007 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13009         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13011 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13013         * include/stap-probe.h: Fix macro definition formatting.
13015 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13017         [BZ #19074]
13018         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13019         load and store num_ifs.
13021 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13023         [BZ #18822]
13024         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13025         (__sched_getaffinity_new): Add libc_hidden_proto and
13026         libc_hidden_def.
13028 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13030         [BZ #19007]
13031         * scripts/localplt.awk: Also allow GOT references.
13032         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13033         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13034         with "+ REL R_386_GLOB_DAT".
13035         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13036         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13038 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13040         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13041         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13042         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13043         Likewise.
13044         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13045         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13046         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13047         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13048         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13049         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13050         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13051         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13052         Likewise.
13053         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13055 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13057         [BZ #19125]
13058         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13059         <math_private.h> and <stdint.h>.
13060         (__llround): Avoid conversions to and from long long int, and
13061         subtractions, where those might raise spurious exceptions.
13062         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13063         <math_private.h> and <stdint.h>.
13064         (__llroundf): Avoid conversions to and from long long int, and
13065         subtractions, where those might raise spurious exceptions.
13067 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13069         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13070         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13071         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13072         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13073         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13074         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13075         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13076         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13077         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13078         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13079         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13080         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13081         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13082         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13083         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13084         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13085         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13086         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13087         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13088         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13089         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13090         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13091         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13092         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13093         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13094         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13095         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13096         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13097         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13098         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13099         (__xstat64_conv): Likewise.
13100         (__xstat32_conv): Likewise.
13102 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13104         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13105         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13106         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13107         <sysdeps/unix/sysv/linux/sysdep.h>.
13108         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13109         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13110         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13111         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13112         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13113         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13114         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13115         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13116         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13120         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13121         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13122         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13124         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13125         (sysdep-dl-routines): Add sysdep.
13126         [$(subdir) == nptl] (libpthread-routines): Likewise.
13127         [$(subdir) == rt] (librt-routines): Likewise.
13128         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13129         PIC when branching to SYSCALL_ERROR_LABEL.
13130         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13131         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13132         <sysdeps/unix/sysv/linux/sysdep.h>.
13133         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13134         (SYSCALL_ERROR_ERRNO): Removed.
13135         (SYSCALL_ERROR_HANDLER): Changed to empty.
13136         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13137         (__syscall_error): New prototype.
13138         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13139         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13141 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13143         [BZ #19124]
13144         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13145         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13146         _dl_runtime_resolve_avx.
13147         (_dl_runtime_profile_avx512): Make it a hidden alias of
13148         _dl_runtime_profile_avx.
13150 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13152         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13153         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13154         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13155         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13157         [BZ #16422]
13158         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13159         New configure test.
13160         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13161         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13162         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13163         <math_private.h> and <stdint.h>.
13164         (__llrint): Avoid conversions to long long int where those might
13165         raise spurious exceptions.
13166         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13167         <math_private.h> and <stdint.h>.
13168         (__llrintf): Avoid conversions to long long int where those might
13169         raise spurious exceptions.
13171 2015-10-12  Andreas Schwab  <schwab@suse.de>
13173         [BZ #18969]
13174         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13175         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13176         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13177         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13178         $(gen-locales).
13179         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13180         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13181         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13182         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13183         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13184         $(gen-locales).
13185         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13186         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13187         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13188         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13189         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13190         ($(objpfx)tst-ftell-active-handler.out)
13191         ($(objpfx)tst-ftell-append.out)
13192         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13193         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13194         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13195         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13196         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13197         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13198         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13199         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13200         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13201         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13202         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13203         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13204         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13205         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13206         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13207         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13208         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13209         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13210         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13211         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13212         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13213         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13214         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13215         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13216         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13217         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13218         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13219         $(gen-locales).
13220         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13221         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13222         $(gen-locales).
13223         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13224         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13225         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13226         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13227         $(gen-locales).
13228         * libio/tst_wprintf2.c (main): Use explicit locale.
13229         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13231 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13233         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13234         __msg_sig_post.
13235         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13237 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13239         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13240         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13242         * sysdeps/arm/libm-test-ulps: Regenerated.
13244         [BZ #15470]
13245         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13247         [BZ #16399]
13248         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13249         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13250         and <fix-fp-int-convert-overflow.h>.
13251         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13252         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13253         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13254         and <fix-fp-int-convert-overflow.h>.
13255         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13256         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13257         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13258         <fix-fp-int-convert-overflow.h>.
13259         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13260         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13261         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13262         <fix-fp-int-convert-overflow.h>.
13263         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13264         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13265         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13266         and <fix-fp-int-convert-overflow.h>.
13267         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13268         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13269         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13270         <limits.h> and <fix-fp-int-convert-overflow.h>.
13271         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13272         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13273         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13274         and <fix-fp-int-convert-overflow.h>.
13275         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13276         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13277         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13278         and <fix-fp-int-convert-overflow.h>.
13279         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13280         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13281         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13283 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13285         [BZ #18589]
13286         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13287         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13288         $(gen-locales).
13290 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13291             Phil Blundell <pb@pbcl.net>
13293         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13294         * nptl/tst-cancel26.c: New file.
13295         * nptl/tst-cancel27.c: Likewise.
13297 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13299         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13300         __ILP32__ isn't defined.
13301         (lrint): Likewise.
13302         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13303         (lrintf): Likewise.
13304         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13305         (lrintl): Likewise.
13306         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13307         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13308         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13310 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13312         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13313         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13315         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13316         file.
13317         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13318         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13320 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13322         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13323         configure test.
13324         * sysdeps/i386/configure: Regenerated.
13325         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13326         configure test.
13327         * sysdeps/x86_64/configure: Regenerated.
13328         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13329         Make code unconditional.
13331         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13332         test.
13333         * sysdeps/i386/configure: Regenerated.
13334         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13335         test.
13336         * sysdeps/x86_64/configure: Regenerated.
13337         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13338         Make code unconditional.
13339         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13340         Likewise.
13341         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13342         Likewise.
13343         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13344         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13345         code unconditional.
13346         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13347         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13348         code unconditional.
13349         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13350         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13351         code unconditional.
13352         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13353         code unconditional.
13354         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13355         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13356         code unconditional.
13357         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13358         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13359         code unconditional.
13360         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13361         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13362         code unconditional.
13363         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13364         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13365         code unconditional.
13366         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13367         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13369         [BZ #19095]
13370         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13371         mantissa to long int before shifting left.
13373 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13375         [BZ #19094]
13376         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13377         <limits.h>.
13378         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13379         when result overflows but exception would not result from cast.
13380         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13381         <limits.h>.
13382         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13383         when result overflows but exception would not result from cast.
13384         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13385         <limits.h>.
13386         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13387         when result overflows but exception would not result from cast.
13388         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13389         <limits.h>.
13390         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13391         when result overflows but exception would not result from cast.
13392         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13393         <limits.h>.
13394         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13395         when result overflows but exception would not result from cast.
13396         * math/libm-test.inc (lrint_test_data): Add more tests.
13397         (llrint_test_data): Likewise.
13399 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13401         [BZ #18872]
13402         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13403         Move out from under [$(run-built-tests) = yes] conditional.
13404         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13405         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13407 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13409         [BZ #18589]
13410         * string/Makefile (tests): Add bug-strcoll2.
13411         (LOCALES): Add cs_CZ.UTF-8.
13412         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13414         [BZ #18589]
13415         * string/bug-strcoll2.c: New file.
13416         * locale/categories.def: Revert commit
13417         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13418         * locale/langinfo.h: Likewise.
13419         * locale/localeinfo.h: Likewise.
13420         * locale/C-collate.c: Likewise.
13421         * locale/programs/ld-collate.c (collate_output): Likewise.
13422         * string/strcoll_l.c (STRDIFF): Likewise.
13423         (STRCOLL): Likewise.
13424         * wcsmbs/wcscoll_l.c: Likewise.
13426 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13428         * math/libm-test.inc (lround_test_data): Do not expect the absence
13429         of "inexact" for some tests with non-integer arguments.
13430         (llround_test_data): Likewise.
13432         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13433         test.
13434         (libc_cv_cc_sse2avx): Likewise.
13435         * sysdeps/i386/configure: Regenerated.
13436         * sysdeps/i386/i686/multiarch/Makefile
13437         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13438         [$(subdir) = math].
13439         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13440         code unconditional.
13441         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13442         Likewise.
13443         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13444         Likewise.
13445         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13446         Likewise.
13447         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13448         test.
13449         (libc_cv_cc_sse2avx): Likewise.
13450         * sysdeps/x86_64/configure: Regenerated.
13451         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13452         unconditional.
13453         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13454         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13455         unconditional.
13456         (_dl_runtime_profile)
13457         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13458         conditional code.
13459         * sysdeps/x86_64/fpu/multiarch/Makefile
13460         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13462         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13463         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13464         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13465         * sysdeps/x86_64/fpu/multiarch/e_log.c
13466         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13467         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13468         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13469         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13470         Likewise.
13471         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13472         Likewise.
13473         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13474         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13475         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13476         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13477         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13478         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13479         (HAVE_SSE2AVX_SUPPORT): Likewise.
13481 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13483         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13484         instead of #pragma optimize.
13486 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13488         [BZ #17195]
13489         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13490         as is similarly done in systrim and _int_free already.
13492 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13494         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13496 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13498         [BZ #19088]
13499         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13500         <limits.h>.
13501         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13502         overflows but exception would not result from cast.
13503         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13504         and <limits.h>.
13505         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13506         overflows but exception would not result from cast.
13507         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13508         <limits.h>.
13509         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13510         overflows but exception would not result from cast.
13511         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13512         <limits.h>.
13513         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13514         overflows but exception would not result from cast.
13515         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13516         <limits.h>.
13517         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13518         overflows but exception would not result from cast.
13519         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13520         <limits.h>.
13521         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13522         overflows but exception would not result from cast.
13523         * math/libm-test.inc (lround_test_data): Add more tests.
13524         (llround_test_data): Likewise.
13526 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13528         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13529         (CFLAGS-ialloc.c): Ditto.
13530         (CFLAGS-scheck.c): Ditto.
13532 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13534         [BZ #19086]
13535         * manual/filesys.texi (Storage Allocation): Fix argument order for
13536         posix_fallocate64.
13538 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13540         [BZ #19085]
13541         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13542         exponent below 48 inside case for non-overflowing exponent.
13543         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13545 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13547         * iconvdata/cp737.h (from_idx): Add const.
13548         * iconvdata/cp775.h (from_idx): Likewise.
13550 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13552         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13553         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13554         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13556         [BZ #19079]
13557         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13558         file, conditioned on [!_LP64].
13559         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13560         [!_LP64] (__lround): Do not define as function or alias.
13561         [!_LP64] (lround): Likewise.
13562         [!_LP64] (__lroundl): Likewise.
13563         [!_LP64] (lroundl): Likewise.
13564         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13565         macro.
13566         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13567         Likewise.
13569 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13571         * math/libm-test.inc (lrint_test_data): Add more tests.
13572         (llrint_test_data): Likewise.
13573         (lround_test_data): Likewise.
13574         (llround_test_data): Likewise.
13576         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13577         (llrint_test_data): Add tests used for lrint.
13579         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13580         test.
13581         * sysdeps/i386/configure: Regenerated.
13582         * sysdeps/i386/i686/multiarch/Makefile
13583         [$(config-cflags-sse4) = yes]: Make code unconditional.
13584         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13585         Likewise.
13586         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13587         Likewise.
13588         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13589         test.
13590         * sysdeps/x86_64/configure: Regenerated.
13591         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13592         Make code unconditional.
13593         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13594         Likewise.
13595         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13596         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13598         * scripts/rpm2dynsym.sh: Remove file.
13600 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13602         * configure.ac (libc_cv_cxx_thread_local): Define.
13603         * configure: Regenerate.
13604         * config.make.in (have-cxx-thread_local): Define.
13605         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13606         (LDLIBS-tst-thread_local1): Define.
13607         (tests): Add tst-thread_local1.
13608         [have-cxx-thread_local != yes] (tests-unsupported): Add
13609         tst-thread_local1.
13610         * nptl/tst-thread_local1.cc: New file.
13612 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13614         [BZ #19078]
13615         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13616         (u_thres): Likewise.
13617         (__expl): Determine whether to call __kernel_standard_l based on
13618         value of result, not argument.
13620         * math/libm-test.inc (scalb_test_data): Add more expectations for
13621         the "inexact" exception.
13623         [BZ #19077]
13624         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13625         0.0L for argument 1.0L.
13627         [BZ #19076]
13628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13629         constant 0.0L when computing infinite result.
13631 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13633         [BZ #10432]
13634         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13635         malloc_usable_size.
13637 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13639         [BZ #19018]
13640         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13641         Mangle function pointer before storing it.
13642         (__call_tls_dtors): Demangle function pointer before calling it.
13644 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13646         [BZ #19012]
13647         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13648         Clean up on failure.
13650 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13652         [BZ #19071]
13653         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13654         long int variable to store possibly incremented high part of
13655         mantissa.
13656         * math/libm-test.inc (lround_test_data): Add tests used for
13657         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13658         for tests requiring 64-bit long.  Do not condition tests on
13659         [TEST_FLOAT] unnecessarily.
13660         (llround_test_data): Add tests used for lround.  Add another
13661         expectation for the "inexact" exception.  Do not condition tests
13662         on [TEST_FLOAT] unnecessarily.
13664         [BZ #887]
13665         [BZ #19049]
13666         [BZ #19050]
13667         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13668         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13669         <fix-int-fp-convert-zero.h>.
13670         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13671         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13672         <fix-int-fp-convert-zero.h>.
13673         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13674         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13675         <fix-int-fp-convert-zero.h>.
13676         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13677         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13678         <fix-int-fp-convert-zero.h>.
13679         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13680         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13681         <fix-int-fp-convert-zero.h>.
13682         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13683         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13684         <fix-int-fp-convert-zero.h>.
13685         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13686         * sysdeps/ieee754/flt-32/s_erff.c: Include
13687         <fix-int-fp-convert-zero.h>.
13688         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13689         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13690         <fix-int-fp-convert-zero.h>.
13691         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13692         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13693         <fix-int-fp-convert-zero.h>.
13694         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13696         <fix-int-fp-convert-zero.h>.
13697         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13698         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13699         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13700         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13701         file.
13702         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13704 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13708 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13710         [BZ #19059]
13711         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13712         overflowing computation.
13713         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13714         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13715         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13716         Likewise.
13717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13718         Likewise.
13719         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13720         Likewise.
13721         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13722         Likewise.
13723         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13724         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13725         Likewise.
13726         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13727         Likewise.
13728         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13730         * nss/rewrite_field.c (__nss_rewrite_field): Use
13731         internal_function.
13732         * nss/valid_field.c (__nss_valid_field): Likewise.
13733         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13735 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13737         [BZ #18724]
13738         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13739         (__nss_invalid_field_characters, __nss_valid_field)
13740         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13741         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13742         tst-field.c: New file.
13743         * nss/Makefile (routines): Add valid_field, rewrite_field.
13744         (tests-static): Define unconditionally.
13745         (tests): Include tests-static.
13746         [build-static-nss] (tests-static): Use append.
13747         [build-static-nss] (tests): Remove modification.
13748         * nss/getent.c (print_group): Call putgrent.  Report error.
13749         (print_gshadow): Call putsgent.  Report error.
13750         (print_passwd): Call putpwent.  Report error.
13751         (print_shadow): Call putspent.  Report error.
13752         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13753         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13754         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13755         name, password, directory, shell fields for valid syntax.  Rewrite
13756         GECOS field to match syntax.
13757         * pwd/Makefile (tests): Add tst-putpwent.
13758         * pwd/tst-putpwent.c: New file.
13759         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13760         Check grName, grpasswd, gr_mem fields for valid syntax.
13761         Change loop variable i to size_t.
13762         * grp/Makefile (tests): Add tst-putgrent.
13763         * grp/tst-putgrent.c: New file.
13764         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13765         valid syntax.
13766         * shadow/Makefile (tests): Add tst-putspent.
13767         * shadow/tst-putspent.c: New file.
13768         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13769         sg_mem fields for valid syntax.
13770         * gshadow/Makefile (tests): Add tst-putsgent.
13771         * gshadow/tst-putsgent.c: New file.
13773 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13775         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13776         assembly instructions.
13778 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13780         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13781         prefix from operands.
13783 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13785         [BZ #16347]
13786         [BZ #19046]
13787         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13788         <libc-internal.h>.
13789         (MAXLGM): Do not use diagnostic control macros.
13790         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13791         threshold for ldbl-128ibm.
13792         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13793         instead of multiplying by log then subtracting.
13794         * math/auto-libm-test-in: Add more tests of lgamma.
13795         * math/auto-libm-test-out: Regenerated.
13797         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13798         (TYPE_HEX_DIG): Likewise.
13799         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13800         precisions when printing floating-point numbers.
13801         (check_float_internal): Likewise.
13803 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13805         [BZ #16620]
13806         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13807         of log (10) rounded downward to 48 bits.
13808         (log10_low): Use corresponding low part of log (10).
13810         [BZ #19032]
13811         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13812         compute result as (x - x) / (x - x) not as 0 / 0.
13813         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13814         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13816         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13817         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13818         and expm1.
13819         * math/auto-libm-test-out: Regenerated.
13820         * math/libm-test.inc (acos_test_data): Add more tests.
13821         (asin_test_data): Likewise.
13822         (asinh_test_data): Likewise.
13823         (atan_test_data): Likewise.
13824         (atanh_test_data): Likewise.
13825         (atan2_test_data): Likewise.
13826         (cbrt_test_data): Likewise.
13827         (ceil_test_data): Likewise.
13828         (copysign_test_data): Likewise.
13829         (cos_test_data): Likewise.
13830         (cosh_test_data): Likewise.
13831         (erf_test_data): Likewise.
13832         (erfc_test_data): Likewise.
13833         (exp_test_data): Likewise.
13834         (exp10_test_data): Likewise.
13835         (exp2_test_data): Likewise.
13836         (expm1_test_data): Likewise.
13837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13839 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13841         [BZ #19006]
13842         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13843         to ...
13844         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13845         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13846         to ...
13847         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13848         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13849         to ...
13850         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13851         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13852         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13853         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13854         to ...
13855         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13856         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13857         Moved to ...
13858         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13859         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13860         Moved to ...
13861         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13862         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13863         to ...
13864         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13866         Moved to ...
13867         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13868         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13869         to ...
13870         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13871         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13872         Removed.
13873         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13874         Likewise.
13875         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13876         Likewise.
13877         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13878         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13879         Likewise.
13880         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13881         Likewise.
13882         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13883         Likewise.
13884         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13885         Likewise.
13886         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13887         Likewise.
13888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13889         Likewise.
13890         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13891         Likewise.
13892         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13893         Likewise.
13894         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13895         Likewise.
13896         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13897         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13898         Likewise.
13899         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13900         Likewise.
13901         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13902         Likewise.
13903         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13904         Likewise.
13905         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13906         Likewise.
13907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13908         Replace ../i486/pthread_cond_timedwait.S with
13909         ../pthread_cond_timedwait.S.
13911 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13913         * math/libm-test.inc (acos_test_data): Refine expectations for
13914         errno and "inexact" exceptions.
13915         (acosh_test_data): Likewise.
13916         (asin_test_data): Likewise.
13917         (asinh_test_data): Likewise.
13918         (atan_test_data): Likewise.
13919         (atanh_test_data): Likewise.
13920         (atan2_test_data): Likewise.
13921         (cbrt_test_data): Likewise.
13922         (ceil_test_data): Likewise.
13923         (copysign_test_data): Likewise.
13924         (cosh_test_data): Likewise.
13925         (erf_test_data): Likewise.
13926         (erfc_test_data): Likewise.
13927         (exp_test_data): Likewise.
13928         (exp10_test_data): Likewise.
13929         (exp2_test_data): Likewise.
13930         (expm1_test_data): Likewise.
13931         (fabs_test_data): Likewise.
13932         (floor_test_data): Likewise.
13933         (fma_test_data): Likewise.
13934         (fmax_test_data): Likewise.
13935         (fmin_test_data): Likewise.
13936         (fmod_test_data): Likewise.
13937         (fpclassify_test_data): Likewise.
13938         (frexp_test_data): Likewise.
13939         (hypot_test_data): Likewise.
13940         (ilogb_test_data): Likewise.
13941         (isgreater_test_data): Likewise.
13942         (isgreaterequal_test_data): Likewise.
13943         (isinf_test_data): Likewise.
13944         (isless_test_data): Likewise.
13945         (islessequal_test_data): Likewise.
13946         (islessgreater_test_data): Likewise.
13947         (isnan_test_data): Likewise.
13948         (isnormal_test_data): Likewise.
13949         (issignaling_test_data): Likewise.
13950         (isunordered_test_data): Likewise.
13951         (j0_test_data): Likewise.
13952         (j1_test_data): Likewise.
13953         (jn_test_data): Likewise.
13954         (lgamma_test_data): Likewise.
13955         (lrint_test_data): Likewise.
13956         (llrint_test_data): Likewise.
13957         (log_test_data): Likewise.
13958         (log10_test_data): Likewise.
13959         (log1p_test_data): Likewise.
13960         (log2_test_data): Likewise.
13961         (logb_test_data): Likewise.
13962         (lround_test_data): Likewise.
13963         (llround_test_data): Likewise.
13964         (modf_test_data): Likewise.
13965         (nearbyint_test_data): Likewise.
13966         (nextafter_test_data): Likewise.
13967         (nexttoward_test_data): Likewise.
13968         (pow_test_data): Likewise.
13969         (remainder_test_data): Likewise.
13970         (remquo_test_data): Likewise.
13971         (rint_test_data): Likewise.
13972         (round_test_data): Likewise.
13973         (signbit_test_data): Likewise.
13974         (sinh_test_data): Likewise.
13975         (sqrt_test_data): Likewise.
13976         (tanh_test_data): Likewise.
13977         (tgamma_test_data): Likewise.
13978         (trunc_test_data): Likewise.
13979         (y0_test_data): Likewise.
13980         (y1_test_data): Likewise.
13981         (yn_test_data): Likewise.
13982         (significand_test_data): Likewise.
13984 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13986         * manual/filesys.texi (Storage Allocation): Document that
13987         posix_fallocate emulation fails when fd is open with O_WRONLY.
13989 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13991         [BZ #19016]
13992         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13993         allow more cases with X^2 + Y^2 >= 0.5.
13994         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13995         normal element in sum instead of special-casing based on values of
13996         arguments.
13997         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13998         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13999         -1 as normal element in sum instead of special-casing based on
14000         values of arguments.
14001         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14002         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14003         (__x2y2m1): Update comment.
14004         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14005         as normal element in sum instead of special-casing based on values
14006         of arguments.
14007         * math/s_clog.c (__clog): Handle more cases using log1p without
14008         hypot.
14009         * math/s_clog10.c (__clog10): Likewise.
14010         * math/s_clog10f.c (__clog10f): Likewise.
14011         * math/s_clog10l.c (__clog10l): Likewise.
14012         * math/s_clogf.c (__clogf): Likewise.
14013         * math/s_clogl.c (__clogl): Likewise.
14014         * math/auto-libm-test-in: Add more tests of clog and clog10.
14015         * math/auto-libm-test-out: Regenerated.
14016         * sysdeps/i386/fpu/libm-test-ulps: Update.
14017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14019 2015-09-28  Martin Sebor  <msebor@redhat.com>
14021         [BZ #18969]
14022         * string/Makefile (LOCALES): Define.
14023         (gen-locales.mk): Include.
14024         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14025         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14026         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14027         on setlocale failure.
14029 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14031         [BZ #18985]
14032         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14033         (__strftime_internal): Likewise.
14034         * time/tst-strftime.c (do_bz18985): New test.
14035         (do_test): Call it.
14037 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14039         [BZ #18956]
14040         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14041         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14042         extracting high part.
14043         * math/auto-libm-test-in: Add another test of pow.
14044         * math/auto-libm-test-out: Regenerated.
14045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14047 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14049         [BZ #18825]
14050         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14051         New macro.
14052         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14053         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14054         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14055         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14056         DBL_NARROW_EVAL, reloading the PIC register as needed.
14057         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14058         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14059         FLT_NARROW_EVAL.  Use separate return path for case when first
14060         argument is NaN.
14061         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14062         DEFINE_LDBL_MIN.
14063         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14064         PIC register.
14065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14066         math_check_force_underflow_nonneg.
14067         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14068         underflow for subnormal result.
14069         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14070         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14071         math_check_force_underflow_nonneg.
14072         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14073         math_check_force_underflow.
14074         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14075         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14076         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14077         DEFINE_LDBL_MIN.
14078         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14079         * math/auto-libm-test-in: Add more tests of pow.
14080         * math/auto-libm-test-out: Regenerated.
14082 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14084         * nss/bug17079.c (init_test_items): Add diagnostic for
14085         inconsistent entries.
14086         (test_buffer_size): Skip inconsistent entries.
14088 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14090         [BZ #13304]
14091         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14092         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14093         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14095         [BZ #13304]
14096         * sysdeps/microblaze/s_fma.c: New file.
14097         * sysdeps/microblaze/s_fmaf.c: Likewise.
14098         * sysdeps/microblaze/sfp-machine.h: Likewise.
14100 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14102         [BZ #17250]
14103         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14104         member.
14106 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14108         [BZ #18803]
14109         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14110         (MO): New macro.
14111         (__ieee754_hypot) [PIC]: Load PIC register.
14112         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14113         DBL_NARROW_EVAL.
14114         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14115         math_check_force_underflow_nonneg in case where result might be
14116         tiny.
14117         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14118         Likewise.
14119         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14120         Likewise.
14121         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14122         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14123         * math/auto-libm-test-in: Add more tests of hypot.
14124         * math/auto-libm-test-out: Regenerated.
14126 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14128         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14130 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14132         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14133         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14134         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14135         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14136         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14137         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14138         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14140         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14141         LOAD_PIC_REG.
14143         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14144         (FLT_CHECK_FORCE_UFLOW): Likewise.
14145         (DBL_CHECK_FORCE_UFLOW): Likewise.
14146         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14147         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14148         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14149         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14150         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14151         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14152         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14153         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14154         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14155         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14156         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14157         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14158         (flt_min): Replace with use of DEFINE_FLT_MIN.
14159         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14160         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14161         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14162         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14163         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14164         (flt_min): Replace with use of DEFINE_FLT_MIN.
14165         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14166         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14167         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14168         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14169         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14170         (flt_min): Replace with use of DEFINE_FLT_MIN.
14171         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14172         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14173         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14174         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14175         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14176         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14177         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14178         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14179         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14180         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14181         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14182         (flt_min): Replace with use of DEFINE_FLT_MIN.
14183         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14184         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14185         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14186         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14187         main computation.
14188         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14189         (flt_min): Replace with use of DEFINE_FLT_MIN.
14190         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14191         main computation.
14192         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14193         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14194         (MO): New macro.
14195         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14196         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14197         (flt_min): Replace with use of DEFINE_FLT_MIN.
14198         (MO): New macro.
14199         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14200         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14201         (__log1pl): Use MO.
14203         [BZ #19003]
14204         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14205         $(config-cflags-nofma).
14207 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14209         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14211 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14213         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14214         (TWO127): Likewise.
14216         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14217         (min_of_type): Likewise.
14218         (math_check_force_underflow): Likewise.
14219         (math_check_force_underflow_nonneg): Likewise.
14220         (math_check_force_underflow_complex): Likewise.
14221         * math/e_exp2l.c (__ieee754_exp2l): Use
14222         math_check_force_underflow_nonneg.
14223         * math/k_casinh.c (__kernel_casinh): Likewise.
14224         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14225         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14226         * math/s_catan.c (__catan): Use
14227         math_check_force_underflow_complex.
14228         * math/s_catanf.c (__catanf): Likewise.
14229         * math/s_catanh.c (__catanh): Likewise.
14230         * math/s_catanhf.c (__catanhf): Likewise.
14231         * math/s_catanhl.c (__catanhl): Likewise.
14232         * math/s_catanl.c (__catanl): Likewise.
14233         * math/s_ccosh.c (__ccosh): Likewise.
14234         * math/s_ccoshf.c (__ccoshf): Likewise.
14235         * math/s_ccoshl.c (__ccoshl): Likewise.
14236         * math/s_cexp.c (__cexp): Likewise.
14237         * math/s_cexpf.c (__cexpf): Likewise.
14238         * math/s_cexpl.c (__cexpl): Likewise.
14239         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14240         * math/s_clog10.c (__clog10): Likewise.
14241         * math/s_clog10f.c (__clog10f): Likewise.
14242         * math/s_clog10l.c (__clog10l): Likewise.
14243         * math/s_clogf.c (__clogf): Likewise.
14244         * math/s_clogl.c (__clogl): Likewise.
14245         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14246         * math/s_csinf.c (__csinf): Likewise.
14247         * math/s_csinh.c (__csinh): Likewise.
14248         * math/s_csinhf.c (__csinhf): Likewise.
14249         * math/s_csinhl.c (__csinhl): Likewise.
14250         * math/s_csinl.c (__csinl): Likewise.
14251         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14252         * math/s_csqrtf.c (__csqrtf): Likewise.
14253         * math/s_csqrtl.c (__csqrtl): Likewise.
14254         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14255         * math/s_ctanf.c (__ctanf): Likewise.
14256         * math/s_ctanh.c (__ctanh): Likewise.
14257         * math/s_ctanhf.c (__ctanhf): Likewise.
14258         * math/s_ctanhl.c (__ctanhl): Likewise.
14259         * math/s_ctanl.c (__ctanl): Likewise.
14260         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14261         instead of volatile.
14262         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14263         math_check_force_underflow.
14264         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14265         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14266         volatile when forcing underflow.
14267         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14268         math_check_force_underflow_nonneg.
14269         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14270         Likewise.
14271         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14272         math_check_force_underflow.
14273         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14274         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14275         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14276         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14277         math_check_force_underflow_nonneg.
14278         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14279         math_check_force_underflow.
14280         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14282         instead of volatile.
14283         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14284         math_check_force_underflow.
14285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14286         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14287         math_check_force_underflow_nonneg.
14288         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14289         math_check_force_underflow.
14290         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14291         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14292         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14293         math_check_force_underflow_nonneg.
14294         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14295         Likewise.
14296         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14297         math_check_force_underflow.
14298         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14299         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14300         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14301         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14302         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14303         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14304         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14305         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14306         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14307         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14308         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14309         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14310         Likewise.
14311         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14312         math_check_force_underflow_nonneg.
14313         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14314         Likewise.
14315         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14316         math_check_force_underflow.
14317         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14318         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14319         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14320         Likewise.
14321         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14322         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14323         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14324         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14325         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14326         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14328         instead of volatile.
14329         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14330         math_check_force_underflow.
14331         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14332         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14333         math_check_force_underflow.
14334         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14335         Likewise.
14336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14337         Use math_check_force_underflow_nonneg.
14338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14339         math_check_force_underflow.
14340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14341         Likewise.
14342         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14343         Likewise.
14344         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14346         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14347         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14349         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14350         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14351         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14352         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14353         math_check_force_underflow_nonneg.
14354         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14355         math_check_force_underflow.
14356         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14357         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14358         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14359         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14360         math_check_force_underflow_nonneg.
14361         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14362         math_check_force_underflow.
14363         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14365         instead of volatile.
14366         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14367         math_check_force_underflow.
14369         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14370         * stdlib/strtod_l.c: Include <math_private.h>.
14371         (overflow_value): Use math_narrow_eval.
14372         (underflow_value): Likewise.
14373         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14374         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14375         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14376         (__ieee754_gamma_r): Likewise.
14377         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14378         Likewise.
14379         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14380         Likewise.
14381         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14382         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14383         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14384         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14385         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14386         (__ieee754_gammaf_r): Likewise.
14387         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14388         Likewise.
14389         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14390         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14391         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14392         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14393         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14394         volatile.
14395         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14396         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14397         math_narrow_eval.
14398         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14399         Likewise.
14400         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14401         Likewise.
14402         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14403         Likewise.
14404         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14405         volatile.
14406         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14407         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14408         math_narrow_eval.
14409         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14410         Likewise.
14411         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14412         Likewise.
14414 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14416         * nptl/Versions: Remove ignored symbols.
14418 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14420         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14421         * nss/Makefile (tests): Update.
14423 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14425         * nss/bug18287.c: New file.
14426         * nss/Makefile (tests): Add bug18287.
14428 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14430         * mach/Versions (__mach_host_self_): Add symbol.
14432 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14434         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14435         vm_page_size.
14437 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14439         Really fix sysdeps/i386/fpu/s_scalbn.S build
14441         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14442         (libc: GLIBC_2_22): Remove unused version set.
14444 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14446         * config.make.in (enable-timezone-tools): New variable.
14447         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14448         (enable_timezone_tools): Export to generated files.
14449         * configure: Regenerate.
14450         * INSTALL: Regenerate.
14451         * manual/install.texi (--disable-timezone-tools): Document new flag.
14452         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14453         ifeq ($(enable-timezone-tools),yes) check.
14455 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14457         * timezone/Makefile: Revert previous change.
14459         [BZ #18980]
14460         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14461         (DEFINE_DBL_MIN): Likewise.
14462         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14463         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14464         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14465         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14466         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14467         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14468         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14469         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14470         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14471         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14472         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14473         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14474         (flt_min): Replace with use of DEFINE_FLT_MIN.
14475         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14476         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14477         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14478         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14479         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14480         (flt_min): Replace with use of DEFINE_FLT_MIN.
14481         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14482         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14483         (flt_min): Replace with use of DEFINE_FLT_MIN.
14484         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14485         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14486         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14487         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14488         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14489         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14490         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14491         (__ieee754_pow): Use DBL_NARROW_EVAL.
14492         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14493         (__ieee754_powf): Use FLT_NARROW_EVAL.
14494         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14495         (__ieee754_expf_sse2): Convert double-precision result to single
14496         precision.
14497         * sysdeps/i386/fpu/libm-test-ulps: Update.
14499 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14501         * timezone/Makefile: Ignore unused variable errors due to private.h
14502         (time_t_min) and (time_t_max).
14503         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14504         Likewise.
14506 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14508         [BZ #18981]
14509         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14510         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14511         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14512         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14513         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14514         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14515         (__scalbn): Use DBL_NARROW_EVAL.
14516         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14517         (__scalbnf): Use FLT_NARROW_EVAL.
14519 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14521         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14522         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14523         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14524         * stdio-common/printf_fp.c (___printf_fp):
14525         Use signbit to get the sign. Use isinf macro to allow inlining.
14526         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14527         * stdio-common/printf_size.c (__printf_size): Likewise.
14529 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14531         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14533 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14535         [BZ #18980]
14536         * sysdeps/generic/math_private.h: Include <float.h>.
14537         (math_narrow_eval): New macro.
14538         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14539         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14540         math_narrow_eval on overflowing return value.
14541         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14542         Likewise.
14543         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14544         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14545         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14546         Likewise.
14547         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14549 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14551         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14552         * math/Makefile: Remove isinf_ns.c.
14553         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14554         * math/multc3.c (__multc3): Likewise.
14555         * math/s_casin.c (__casin): Likewise.
14556         * math/s_casinf.c (__casinf): Likewise.
14557         * math/s_casinl.c (__casinl): Likewise.
14558         * math/s_cproj.c (__cproj): Likewise.
14559         * math/s_cprojf.c (__cprojf): Likewise.
14560         * math/s_cprojl.c (__cprofl): Likewise.
14561         * math/s_ctan.c (__ctan): Likewise.
14562         * math/s_ctanf.c (__ctanf): Likewise.
14563         * math/s_ctanh.c (__ctanh): Likewise.
14564         * math/s_ctanhf.c (__ctanhf): Likewise.
14565         * math/s_ctanhl.c (__ctanhl): Likewise.
14566         * math/s_ctanl.c (__ctanl): Likewise.
14567         * math/w_fmod.c (__fmod): Likewise.
14568         * math/w_fmodf.c (__fmodf): Likewise.
14569         * math/w_fmodl.c (_fmodl): Likewise.
14570         * math/w_remainder.c (__remainder): Likewise.
14571         * math/w_remainderf.c (__remainderf): Likewise.
14572         * math/w_remainderl.c (__remainderl): Likewise.
14573         * math/w_scalb.c (__scalb): Likewise.
14574         * math/w_scalbf.c (__scalbf): Likewise.
14575         * math/w_scalbl.c (__scalbl): Likewise.
14576         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14577         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14578         with isinf.
14579         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14581         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14582         __isinf_nsf with isinf.
14583         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14584         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14585         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14586         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14587         with isinf.
14588         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14589         __isinf_nsl with isinf.
14590         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14591         with isinf.
14592         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14593         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14594         __isinf_nsl with isinf.
14595         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14596         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14597         with isinf.
14599 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14601         * resolv/base64.c (rcsid): Remove unused static.
14602         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14603         static.  (tqpi1): Likewise.
14604         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14605         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14606         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14607         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14609         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14610         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14611         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14612         Likewise.
14614 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14616         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14617         <nptl/pthreadP.h>.
14618         (_longjmp_unwind): Use __libc_ptf_call.
14619         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14621 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14623         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14624         * sysdeps/arm/__longjmp.S: Likewise.
14626 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14628         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14629         Use __builtin_signbit.
14630         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14631         Use __builtin_signbitf.
14632         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14633         Use __builtin_signbitl.
14634         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14635         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14637 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14639         [BZ #15367]
14640         [BZ #17441]
14642         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14643         * math/math.h (fpclassify): Use __builtin_fpclassify when
14644         available.  (signbit): Use __builtin_signbit(f/l).
14645         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14646         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14647         (isinf): Use __builtin_isinf_sign.
14649 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14651         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14652         * benchtests/bench-math-inlines.c: New benchmark.
14653         * benchtests/bench-util.h: New file.
14654         * benchtests/bench-util.c: New file.
14655         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14657 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14659         * elf/tst-dlmopen1.c: Define TEST_SO.
14660         (do_test): Use TEST_SO.
14662         * elf/dl-load.c: Include libc-internal.h.
14663         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14665 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14667         [BZ #17887]
14668         * time/strptime_l.c (__strptime_internal): Make %z accept
14669         [+-]HH:MM time zones.
14671 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14673         [BZ #17886]
14674         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14675         valid time zone.
14677 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14679         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14680         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14681         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14682         (__ASSUME_FDATASYNC): Delete.
14684 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14686         * conform/linknamespace.pl: Require weak undefined symbols to be
14687         in the standard namespace.
14688         (%strong_syms): Rename to %seen_syms.
14689         (%strong_seen): Rename to %seen_where.
14691 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14693         [BZ #18970]
14694         * misc/error.c (error): Replace pthread_setcancelstate with
14695         __pthread_setcancelstate.
14696         (error_at_line): Likewise.
14697         * posix/wordexp.c (parse_comm): Likewise.
14698         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14699         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14700         (__pthread_setcancelstate): This.
14701         (pthread_setcancelstate): Add an alias.
14702         * nptl/nptl-init.c (pthread_functions): Replace
14703         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14704         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14705         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14706         hidden_proto.
14707         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14708         it with hidden_def.
14709         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14710         (pthread_setcancelstate): Renamed to ...
14711         (__pthread_setcancelstate): This.
14712         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14713         __libc_ptf_call with __pthread_setcancelstate.
14715 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14716             Andreas Schwab  <schwab@suse.de>
14718         [BZ #17118]
14719         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14720         result when imaginary part of argument is infinite using sine and
14721         cosine.
14722         * math/s_ctanf.c (__ctanf): Likewise.
14723         * math/s_ctanl.c (__ctanl): Likewise.
14724         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14725         of result when real part of argument is infinite using sine and
14726         cosine.
14727         * math/s_ctanhf.c (__ctanhf): Likewise.
14728         * math/s_ctanhl.c (__ctanhl): Likewise.
14729         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14730         (ctanh_test_data): Add more tests of ctanh.
14732 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14734         [BZ #15384]
14735         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14736         bit-mask as in subtraction.
14737         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14738         Likewise.
14739         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14740         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14741         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14743         [BZ #18951]
14744         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14745         underflow exception for small results.
14746         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14747         Likewise.
14748         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14749         Likewise.
14750         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14751         Likewise.
14752         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14753         Likewise.
14754         * math/auto-libm-test-in: Add more tests of tgamma.
14755         * math/auto-libm-test-out: Regenerated.
14757 2015-09-17  Andreas Schwab  <schwab@suse.de>
14759         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14761 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14763         [BZ #18977]
14764         * math/bits/mathcalls.h
14765         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14766         not declare.
14767         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14768         Likewise.
14769         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14770         Likewise.
14771         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14772         Likewise.
14773         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14774         Likewise.
14775         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14776         Likewise.
14777         * conform/data/math.h-data
14778         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14779         function.
14780         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14781         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14782         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14783         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14785         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14787         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14788         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14789         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14790         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14792         [BZ #6803]
14793         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14794         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14795         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14796         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14797         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14798         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14799         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14800         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14801         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14802         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14803         Likewise.
14804         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14805         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14806         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14807         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14808         long_double_symbol calls.
14809         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14810         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14811         strong alias of __ldexpl.
14812         (scalbnl): Define using long_double_symbol.
14813         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14814         Remove alias.
14815         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14816         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14817         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14818         (scalbln_test_data): Add more errno expectations.
14820 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14822         Cache the host port like we cache the task port.  This way we do not
14823         need to call the kernel just to get the port.  Furthermore, we no
14824         longer increase the reference count on every invocation of
14825         `mach_host_self'.
14827         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14828         Protect declarations against the macro expansion.
14829         * mach/mach_init.c (__mach_host_self_): New variable.
14830         (mach_init): Initialize `__mach_host_self_'.
14831         * mach/mach_init.h (__mach_host_self_): New declaration.
14832         (__mach_host_self, mach_host_self): New macros.
14833         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14834         Release reference.
14836 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14838         [BZ #4404]
14839         * po/de.po: Update from Translation Project.
14841         [BZ #16415]
14842         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14843         (__expm1l): Remove code to handle positive infinity and overflow.
14844         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14845         variable.
14846         (__expm1l): Remove code to handle positive infinity and overflow.
14848 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14849             Paul Pluzhnikov  <ppluzhnikov@google.com>
14851         [BZ #18872]
14852         * stdio-common/Makefile (tst-printf-bz18872): New test.
14853         (tst-printf-bz18872-mem.out): Likewise.
14854         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14855         * stdio-common/vfprintf.c: Fix memory leaks.
14857 2015-09-16  Andreas Schwab  <schwab@suse.de>
14859         [BZ #17244]
14860         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14861         Remove extra va_start/va_end calls.
14863         [BZ #17243]
14864         * posix/execl.c (execl): Add missing va_end.
14865         * posix/execle.c (execle): Likewise.
14866         * posix/execlp.c (execlp): Likewise.
14868 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14870         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14871         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14873 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14875         [BZ #18967]
14876         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14877         undefine around includes of <bits/mathcalls.h>.
14878         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14879         not declare function.
14880         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14881         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14882         (scalb): Likewise.
14883         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14884         not define macro.
14885         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14886         variable.
14887         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14888         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14889         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14891         [BZ #18857]
14892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14893         return non-finite argument without doing ordered comparisons on
14894         it.
14896         [BZ #16296]
14897         * math/fenv.h (fegetround): Use __attribute_pure__.
14898         * include/fenv.h (__fegetround): Likewise.
14900         [BZ #18595]
14901         * math/s_ctan.c (__ctan): Force underflow exception for results
14902         whose real or imaginary part has small absolute value.
14903         * math/s_ctanf.c (__ctanf): Likewise.
14904         * math/s_ctanh.c (__ctanh): Likewise.
14905         * math/s_ctanhf.c (__ctanhf): Likewise.
14906         * math/s_ctanhl.c (__ctanhl): Likewise.
14907         * math/s_ctanl.c (__ctanl): Likewise.
14908         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14909         and ctanh.  Add more tests of ctan and ctanh.
14911         [BZ #15918]
14912         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14913         handling of cases where one argument is an infinity.
14915         [BZ #18875]
14916         [BZ #18966]
14917         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14918         (MO): New macro.
14919         (__ieee754_exp10): For small results, force underflow exception
14920         and remove excess range and precision from return value.
14921         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14922         (MO): New macro.
14923         (__ieee754_exp10f): For small results, force underflow exception
14924         and remove excess range and precision from return value.
14925         * math/auto-libm-test-in: Add more tests of exp10.
14926         * math/auto-libm-test-out: Regenerated.
14928 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14930         [BZ #18875]
14931         [BZ #18961]
14932         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14933         (MO): New macro.
14934         (__ieee754_exp): For small results, force underflow exception and
14935         remove excess range and precision from return value.
14936         (__exp_finite): Likewise.
14937         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14938         (MO): New macro.
14939         (__ieee754_expf): For small results, force underflow exception and
14940         remove excess range and precision from return value.
14941         (__expf_finite): Likewise.
14942         * math/auto-libm-test-in: Add more tests of exp.
14943         * math/auto-libm-test-out: Regenerated.
14945         [BZ #16521]
14946         [BZ #18875]
14947         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14948         small results.
14949         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14950         (MO): New macro.
14951         (__ieee754_exp2): For small results, force underflow exception and
14952         remove excess range and precision from return value.
14953         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14954         (MO): New macro.
14955         (__ieee754_exp2f): For small results, force underflow exception
14956         and remove excess range and precision from return value.
14957         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14958         (MO): New macro.
14959         (__ieee754_exp2l): Force underflow exception for small results.
14960         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14961         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14962         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14963         (MO): New macro.
14964         (__ieee754_exp2l): Force underflow exception for small results.
14965         * math/auto-libm-test-in: Add more tests or exp2.
14966         * math/auto-libm-test-out: Regenerated.
14968 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14970         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14972         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14973         /dev/null.
14975 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14977         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14978         io fs process)): Drop spurious backslash.
14980 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14983         Use sysinfo system call instead of parsing /proc/meminfo.
14984         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14985         Likewise.
14987 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14989         [BZ #16985]
14990         * programs/localedef.c (main): Display argv[remaining] when
14991         output_path is NULL.
14993 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14995         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14996         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14997         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14998         tanh.
14999         * math/auto-libm-test-out: Regenerated.
15000         * sysdeps/i386/fpu/libm-test-ulps: Update.
15001         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15002         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15005 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15007         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15008         Use 'override' keyword to freeze the value here, preventing
15009         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15011 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15013         [BZ #14912]
15014         * sysdeps/aarch64/bits/atomic.h: Move to ...
15015         * sysdeps/aarch64/atomic-machine.h: ...here.
15016         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15017         _AARCH64_ATOMIC_MACHINE_H.
15018         * sysdeps/alpha/bits/atomic.h: Move to ...
15019         * sysdeps/alpha/atomic-machine.h: ...here.
15020         * sysdeps/arm/bits/atomic.h: Move to ...
15021         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15022         * bits/atomic.h: Move to ...
15023         * sysdeps/generic/atomic-machine.h: ...here.
15024         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15025         * sysdeps/i386/bits/atomic.h: Move to ...
15026         * sysdeps/i386/atomic-machine.h: ...here.
15027         * sysdeps/ia64/bits/atomic.h: Move to ...
15028         * sysdeps/ia64/atomic-machine.h: ...here.
15029         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15030         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15031         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15032         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15033         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15034         * sysdeps/microblaze/bits/atomic.h: Move to ...
15035         * sysdeps/microblaze/atomic-machine.h: ...here.
15036         * sysdeps/mips/bits/atomic.h: Move to ...
15037         * sysdeps/mips/atomic-machine.h: ...here.
15038         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15039         * sysdeps/powerpc/bits/atomic.h: Move to ...
15040         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15041         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15042         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15043         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15044         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15045         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15046         <atomic-machine.h> instead of <bits/atomic.h>.
15047         * sysdeps/s390/bits/atomic.h: Move to ...
15048         * sysdeps/s390/atomic-machine.h: ...here.
15049         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15050         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15051         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15052         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15053         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15054         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15055         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15056         * sysdeps/tile/bits/atomic.h: Move to ...
15057         * sysdeps/tile/atomic-machine.h: ...here.
15058         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15059         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15060         <sysdeps/tile/atomic-machine.h> instead of
15061         <sysdeps/tile/bits/atomic.h>.
15062         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15063         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15064         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15065         <sysdeps/tile/atomic-machine.h> instead of
15066         <sysdeps/tile/bits/atomic.h>.
15067         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15068         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15069         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15070         <sysdeps/arm/atomic-machine.h> instead of
15071         <sysdeps/arm/bits/atomic.h>.
15072         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15073         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15074         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15075         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15076         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15077         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15078         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15079         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15080         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15081         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15082         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15083         * sysdeps/x86_64/bits/atomic.h: Move to ...
15084         * sysdeps/x86_64/atomic-machine.h: ...here.
15085         * include/atomic.h: Include <atomic-machine.h> instead of
15086         <bits/atomic.h>.
15088         * sysdeps/mips/mips32/libm-test-ulps: Update.
15089         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15091         [BZ #18952]
15092         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15093         not convert non-integer negative arguments to int to determine the
15094         value of signgam.
15095         * math/auto-libm-test-in: Add more tests of lgamma.
15096         * math/auto-libm-test-out: Regenerated.
15098         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15099         cosh, csqrt, erfc, expm1 and lgamma.
15100         * math/auto-libm-test-out: Regenerated.
15101         * sysdeps/i386/fpu/libm-test-ulps: Update.
15102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15104 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15106         [BZ #2542]
15107         [BZ #2543]
15108         [BZ #2558]
15109         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15110         __lgamma_neg for arguments from -28.0 to -2.0.
15111         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15112         __lgamma_negf for arguments from -15.0 to -2.0.
15113         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15114         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15115         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15116         Call __lgamma_negl for arguments from -33.0 to -2.0.
15117         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15118         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15119         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15120         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15121         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15122         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15123         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15124         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15125         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15126         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15127         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15128         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15129         (__lgamma_neg): Likewise.
15130         (__lgamma_negl): Likewise.
15131         (__lgamma_product): Likewise.
15132         (__lgamma_productl): Likewise.
15133         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15134         * math/auto-libm-test-in: Add more tests of lgamma.
15135         * math/auto-libm-test-out: Regenerated.
15136         * sysdeps/i386/fpu/libm-test-ulps: Update.
15137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15139 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15141         [BZ #18675]
15142         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15144 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15146         [BZ #14912]
15147         * bits/libc-lock.h: Move to ...
15148         * sysdeps/generic/libc-lock.h: ...here.
15149         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15150         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15151         * sysdeps/mach/hurd/libc-lock.h: ...here.
15152         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15153         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15154         * sysdeps/mach/bits/libc-lock.h: Move to ...
15155         * sysdeps/mach/libc-lock.h: ...here.
15156         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15157         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15158         * sysdeps/nptl/libc-lock.h: ...here.
15159         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15160         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15161         * sysdeps/nptl/libc-lockP.h: ...here.
15162         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15163         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15164         <bits/libc-lock.h>.
15165         * dirent/scandir-tail.c: Likewise.
15166         * dlfcn/dlerror.c: Likewise.
15167         * elf/dl-close.c: Likewise.
15168         * elf/dl-iteratephdr.c: Likewise.
15169         * elf/dl-lookup.c: Likewise.
15170         * elf/dl-open.c: Likewise.
15171         * elf/dl-support.c: Likewise.
15172         * elf/dl-writev.h: Likewise.
15173         * elf/rtld.c: Likewise.
15174         * grp/fgetgrent.c: Likewise.
15175         * gshadow/fgetsgent.c: Likewise.
15176         * gshadow/sgetsgent.c: Likewise.
15177         * iconv/gconv_conf.c: Likewise.
15178         * iconv/gconv_db.c: Likewise.
15179         * iconv/gconv_dl.c: Likewise.
15180         * iconv/gconv_int.h: Likewise.
15181         * iconv/gconv_trans.c: Likewise.
15182         * include/link.h: Likewise.
15183         * inet/getnameinfo.c: Likewise.
15184         * inet/getnetgrent.c: Likewise.
15185         * inet/getnetgrent_r.c: Likewise.
15186         * intl/bindtextdom.c: Likewise.
15187         * intl/dcigettext.c: Likewise.
15188         * intl/finddomain.c: Likewise.
15189         * intl/gettextP.h: Likewise.
15190         * intl/loadmsgcat.c: Likewise.
15191         * intl/localealias.c: Likewise.
15192         * intl/textdomain.c: Likewise.
15193         * libidn/idn-stub.c: Likewise.
15194         * libio/libioP.h: Likewise.
15195         * locale/duplocale.c: Likewise.
15196         * locale/freelocale.c: Likewise.
15197         * locale/newlocale.c: Likewise.
15198         * locale/setlocale.c: Likewise.
15199         * login/getutent_r.c: Likewise.
15200         * login/getutid_r.c: Likewise.
15201         * login/getutline_r.c: Likewise.
15202         * login/utmp-private.h: Likewise.
15203         * login/utmpname.c: Likewise.
15204         * malloc/mtrace.c: Likewise.
15205         * misc/efgcvt.c: Likewise.
15206         * misc/error.c: Likewise.
15207         * misc/fstab.c: Likewise.
15208         * misc/getpass.c: Likewise.
15209         * misc/mntent.c: Likewise.
15210         * misc/syslog.c: Likewise.
15211         * nis/nis_call.c: Likewise.
15212         * nis/nis_callback.c: Likewise.
15213         * nis/nss-default.c: Likewise.
15214         * nis/nss_compat/compat-grp.c: Likewise.
15215         * nis/nss_compat/compat-initgroups.c: Likewise.
15216         * nis/nss_compat/compat-pwd.c: Likewise.
15217         * nis/nss_compat/compat-spwd.c: Likewise.
15218         * nis/nss_nis/nis-alias.c: Likewise.
15219         * nis/nss_nis/nis-ethers.c: Likewise.
15220         * nis/nss_nis/nis-grp.c: Likewise.
15221         * nis/nss_nis/nis-hosts.c: Likewise.
15222         * nis/nss_nis/nis-network.c: Likewise.
15223         * nis/nss_nis/nis-proto.c: Likewise.
15224         * nis/nss_nis/nis-pwd.c: Likewise.
15225         * nis/nss_nis/nis-rpc.c: Likewise.
15226         * nis/nss_nis/nis-service.c: Likewise.
15227         * nis/nss_nis/nis-spwd.c: Likewise.
15228         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15229         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15230         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15231         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15232         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15233         * nis/nss_nisplus/nisplus-network.c: Likewise.
15234         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15235         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15236         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15237         * nis/nss_nisplus/nisplus-service.c: Likewise.
15238         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15239         * nis/ypclnt.c: Likewise.
15240         * nptl/libc_pthread_init.c: Likewise.
15241         * nss/getXXbyYY.c: Likewise.
15242         * nss/getXXent.c: Likewise.
15243         * nss/getXXent_r.c: Likewise.
15244         * nss/nss_db/db-XXX.c: Likewise.
15245         * nss/nss_db/db-netgrp.c: Likewise.
15246         * nss/nss_db/nss_db.h: Likewise.
15247         * nss/nss_files/files-XXX.c: Likewise.
15248         * nss/nss_files/files-alias.c: Likewise.
15249         * nss/nsswitch.c: Likewise.
15250         * posix/regex_internal.h: Likewise.
15251         * posix/wordexp.c: Likewise.
15252         * pwd/fgetpwent.c: Likewise.
15253         * resolv/res_hconf.c: Likewise.
15254         * resolv/res_libc.c: Likewise.
15255         * shadow/fgetspent.c: Likewise.
15256         * shadow/lckpwdf.c: Likewise.
15257         * shadow/sgetspent.c: Likewise.
15258         * socket/opensock.c: Likewise.
15259         * stdio-common/reg-modifier.c: Likewise.
15260         * stdio-common/reg-printf.c: Likewise.
15261         * stdio-common/reg-type.c: Likewise.
15262         * stdio-common/vfprintf.c: Likewise.
15263         * stdio-common/vfscanf.c: Likewise.
15264         * stdlib/abort.c: Likewise.
15265         * stdlib/cxa_atexit.c: Likewise.
15266         * stdlib/fmtmsg.c: Likewise.
15267         * stdlib/random.c: Likewise.
15268         * stdlib/setenv.c: Likewise.
15269         * string/strsignal.c: Likewise.
15270         * sunrpc/auth_none.c: Likewise.
15271         * sunrpc/bindrsvprt.c: Likewise.
15272         * sunrpc/create_xid.c: Likewise.
15273         * sunrpc/key_call.c: Likewise.
15274         * sunrpc/rpc_thread.c: Likewise.
15275         * sysdeps/arm/backtrace.c: Likewise.
15276         * sysdeps/generic/ldsodefs.h: Likewise.
15277         * sysdeps/generic/stdio-lock.h: Likewise.
15278         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15279         * sysdeps/i386/backtrace.c: Likewise.
15280         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15281         * sysdeps/m68k/backtrace.c: Likewise.
15282         * sysdeps/mach/hurd/cthreads.c: Likewise.
15283         * sysdeps/mach/hurd/dirstream.h: Likewise.
15284         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15285         * sysdeps/nptl/malloc-machine.h: Likewise.
15286         * sysdeps/nptl/stdio-lock.h: Likewise.
15287         * sysdeps/posix/dirstream.h: Likewise.
15288         * sysdeps/posix/getaddrinfo.c: Likewise.
15289         * sysdeps/posix/system.c: Likewise.
15290         * sysdeps/pthread/aio_suspend.c: Likewise.
15291         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15292         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15293         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15294         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15295         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15296         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15297         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15298         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15299         * sysdeps/unix/sysv/linux/system.c: Likewise.
15300         * sysdeps/x86_64/backtrace.c: Likewise.
15301         * time/alt_digit.c: Likewise.
15302         * time/era.c: Likewise.
15303         * time/tzset.c: Likewise.
15304         * wcsmbs/wcsmbsload.c: Likewise.
15305         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15306         instead of <bits/libc-lock.h> in comment.
15308 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15310         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15311         Only use .set mips2 if the current ISA is below mips2.
15312         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15313         Likewise.
15314         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15315         mips32r2 if the current ISA is below mips32r2.
15316         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15317         (TLS_IE): Updated to use the TLD_RDHWR macro.
15318         (TLS_LE): Likewise.
15319         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15320         __ASSEMBLER__ condition.
15322 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15324         Fix parallel build of before-compile targets.
15326         * sysdeps/mach/Makefile ($(patsubst
15327         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15328         mach-before-compile target.
15329         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15330         io fs process)): Move rule to dedicated hurd-before-compile target.
15332 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15334         Fix rules generating headers in hurd/ and mach/ when initial make call
15335         has subdir= explicitly set.
15337         * sysdeps/mach/Makefile ($(patsubst
15338         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15339         calling $(MAKE).
15340         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15341         io fs process)): Force subdir to hurd when calling $(MAKE).
15342         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15343         subdir to mach when calling $(MAKE).
15345 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15347         Check sysheaders when looking for Mach and Hurd headers
15349         * sysdeps/mach/configure.ac: Add sysheaders check.
15350         * sysdeps/mach/configure: Regenerate.
15351         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15352         * sysdeps/mach/hurd/configure: Regenerate.
15354 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15356         [BZ #18921]
15357         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15358         Fix inverted sense of test of 'o_directory_works' value.
15359         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15360         Bernhard Voelker <mail@bernhard-voelker.de>.
15362 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15364         [BZ #14912]
15365         * bits/linkmap.h: Move to ...
15366         * sysdeps/generic/linkmap.h: ...here.
15367         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15368         * sysdeps/aarch64/linkmap.h: ...here.
15369         * sysdeps/arm/bits/linkmap.h: Move to ...
15370         * sysdeps/arm/linkmap.h: ...here.
15371         * sysdeps/hppa/bits/linkmap.h: Move to ...
15372         * sysdeps/hppa/linkmap.h: ...here.
15373         * sysdeps/ia64/bits/linkmap.h: Move to ...
15374         * sysdeps/ia64/linkmap.h: ...here.
15375         * sysdeps/mips/bits/linkmap.h: Move to ...
15376         * sysdeps/mips/linkmap.h: ...here.
15377         * sysdeps/s390/bits/linkmap.h: Move to ...
15378         * sysdeps/s390/linkmap.h: ...here.
15379         * sysdeps/sh/bits/linkmap.h: Move to ...
15380         * sysdeps/sh/linkmap.h: ...here.
15381         * sysdeps/x86/bits/linkmap.h: Move to ...
15382         * sysdeps/x86/linkmap.h: ...here.
15383         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15385 2015-09-04  Andreas Schwab  <schwab@suse.de>
15387         [BZ #18635]
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15389         (__makecontext): Terminate FDE before return label.
15390         (__novec_makecontext): Likewise.
15392 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15394         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15395         first member of struct sv in syscall macro.
15397 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15399         [BZ #14912]
15400         * bits/stdio-lock.h: Move to ...
15401         * sysdeps/generic/stdio-lock.h: ...here.
15402         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15403         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15404         * sysdeps/nptl/stdio-lock.h: ...here.
15405         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15406         * include/libio.h: Include <stdio-lock.h> instead of
15407         <bits/stdio-lock.h>.
15408         * sysdeps/nptl/fork.c: Likewise.
15409         * sysdeps/pthread/flockfile.c: Likewise.
15410         * sysdeps/pthread/ftrylockfile.c: Likewise.
15411         * sysdeps/pthread/funlockfile.c: Likewise.
15413         [BZ #14912]
15414         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15415         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15416         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15417         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15418         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15419         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15420         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15422 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15424         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15425         (test-xfail-tst-protected1b): New variable.
15427 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15429         [BZ #14912]
15430         * bits/libc-tsd.h: Move to ...
15431         * sysdeps/generic/libc-tsd.h: ...here.
15432         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15433         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15434         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15435         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15436         * include/ctype.h: Include <libc-tsd.h> instead of
15437         <bits/libc-tsd.h>.
15438         * include/rpc/rpc.h: Likewise.
15439         * locale/localeinfo.h: Likewise.
15440         * sunrpc/rpc_thread.c: Likewise.
15441         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15442         * sysdeps/nptl/malloc-machine.h: Likewise.
15444         * Makefile (headers): Remove bits/libc-lock.h.
15445         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15447         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15448         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15449         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15450         <bits/stdio-lock.h>.
15451         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15452         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15454 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15456         [BZ #18757]
15457         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15458         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15459         BZ #18757.
15461 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15463         * malloc/mtrace.pl: Filter out NULL entries.
15465 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15467         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15468         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15469         macro.
15471         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15472         (TCP_CC_INFO): Likewise.
15473         (TCP_SAVE_SYN): Likewise.
15474         (TCP_SAVED_SYN): Likewise.
15476 2015-08-31  Brett Neumeier <brett@neumeier.us>
15478         [BZ #18870]
15479         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15481 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15483         [BZ #18873]
15484         Fix broken overflow check in posix_fallocate
15485         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15486         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15487         Fix parenthesization typo.
15489 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15491         [BZ #18887]
15492         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15493         tst-mntent-blank-passno.
15494         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15495         * misc/tst-mntent-blank-corrupt.c: New test.
15496         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15497         * misc/tst-mntent.c (do_test): ... here.
15499 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15501         [BZ #4404]
15502         * po/de.po: Fix SIGALRM typo.
15504 2015-08-28  James Perkins  <james@loowit.net>
15506         * time/tst-strptime2.c (tests): Replace short list of test
15507         strings for strptime %z specifier with code which exhaustively
15508         tests every combination of sign and 0 to 5 digits. Tests for
15509         rejection of invalid strings.
15511 2015-08-28  James Perkins  <james@loowit.net>
15513         [BZ #16141]
15514         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15515         calculation, removing incorrect decimal time rounding, so that
15516         all minute values result in a valid seconds value.
15517         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15518         offset range limits to UTC-99:59 through UTC+99:59 to parse
15519         current and historical use cases.
15520         * time/tst-strptime2.c (tests): Modify and add tests for the
15521         strptime %z input field descriptor, specifically conversion of
15522         minutes to seconds and validating an offset range of -9959 to
15523         +9959.
15525 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15526             Dmitry V. Levin  <ldv@altlinux.org>
15528         [BZ #18877]
15529         * posix/Makefile (tests): Add tst-mmap-offset.
15530         * posix/tst-mmap.c: New file.
15531         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15532         offset calculation for negative values.
15534 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15536         * sysdeps/i386/init-arch.h: New file.
15537         * sysdeps/i386/i586/init-arch.h: Likewise.
15538         * sysdeps/i386/i686/init-arch.h: Likewise.
15539         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15540         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15541         * sysdeps/x86/cpu-features.h (bit_I586): New.
15542         (bit_I686): Likewise.
15543         (bit_CX8): Likewise.
15544         (bit_CMOV): Likewise.
15545         (index_CX8): Likewise.
15546         (index_CMOV): Likewise.
15547         (index_I586): Likewise.
15548         (index_I686): Likewise.
15549         (reg_CX8): Likewise.
15550         (reg_CMOV): Likewise.
15551         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15552         available at compile-time.
15553         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15554         available at compile-time.
15555         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15556         (USE_I686): Likewise.
15558 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15560         * sysdeps/i386/bcopy.S: New file.
15561         * sysdeps/i386/bzero.S: Likewise.
15562         * sysdeps/i386/memcpy.S: Likewise.
15563         * sysdeps/i386/memmove.S: Likewise.
15564         * sysdeps/i386/mempcpy.S: Likewise.
15565         * sysdeps/i386/memset.S: Likewise.
15566         * sysdeps/i386/bzero.c: Removed.
15567         * sysdeps/i386/memset.c: Likewise.
15568         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15569         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15570         * sysdeps/i386/i586/memset_chk.S: Likewise.
15571         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15572         * sysdeps/i386/memcpy_chk.S: Here.
15573         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15574         * sysdeps/i386/memmove_chk.S: Here.
15575         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15576         * sysdeps/i386/mempcpy_chk.S: Likewise.
15577         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15578         * sysdeps/i386/memset_chk.S: Likewise.
15580 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15582         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15583         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15584         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15585         * soft-fp/fmadf4.c: Ditto.
15586         * soft-fp/fmatf4.c: Ditto.
15588 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15590         * sysdeps/i386/i586/Implies: Removed.
15591         * sysdeps/i386/i686/Implies: Likewise.
15593 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15595         * sysdeps/i386/i486/strlen.S: Moved to ...
15596         * sysdeps/i386/strlen.S: Here.
15598 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15600         * sysdeps/i386/i486/strcat.S: Moved to ...
15601         * sysdeps/i386/strcat.S: Here.
15603 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15605         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15606         * sysdeps/i386/pthread_spin_trylock.S: Here.
15607         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15608         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15610 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15612         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15613         * sysdeps/i386/string-inlines.c: Here.
15615 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15617         * sysdeps/i386/i486/htonl.S: Moved ...
15618         * sysdeps/i386/htonl.S: here.
15620 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15622         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15623         * sysdeps/i386/bits/atomic.h: Here.
15625 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15627         * sysdeps/i386/i486/Versions: Removed.
15629 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15631         [BZ #2898]
15632         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15633         Based on patch by Aurelien Jarno.
15635 2015-08-26  Stan Shebs  <stanshebs@google.com>
15637         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15638         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15640 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15642         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15643         * sysdeps/powerpc/dl-procinfo.c:
15644         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15645         feature so it shows when LD_SHOW_AUXV=1.
15647 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15649         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15650         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15651         definition.  ISA 2.07B no longer requires full sync.
15653 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15655         [BZ #18863]
15656         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15657         (si_call_addr): Define.
15658         (si_syscall): Define.
15659         (si_arch): Define.
15661 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15663         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15664         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15665         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15666         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15667         (__memset_zero_constant_len_parameter): New.
15668         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15669         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15670         (__memset_zero_constant_len_parameter): Don't define if
15671         __memset_chk or USE_AS_BZERO are defined.
15673         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15674         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15675         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15677         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15678         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15679         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15680         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15681         comments.
15682         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15683         -mno-mmx for $(all-rtld-routines).
15684         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15685         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15686         i386.
15688 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15690         * sysdeps/generic/unwind.h
15691         (_Unwind_Word): Use __mode__(__unwind_word__)
15692         instead of __mode__(__word__).
15693         (_Unwind_Sword): Likewise.
15695         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15696         (MAX_NEEDED_INPUT): New define.
15697         (MAX_NEEDED_OUTPUT): New define.
15699         * NEWS: New item for IBM z13 string optimizations.
15701         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15702         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15703         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15704         * sysdeps/s390/multiarch/Makefile
15705         (sysdep_routines): Add memrchr functions.
15706         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15707         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15709         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15710         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15711         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15712         * sysdeps/s390/multiarch/Makefile
15713         (sysdep_routines): Add wmemcmp functions.
15714         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15715         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15716         * benchtests/bench-wmemcmp.c: New File.
15717         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15719         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15720         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15721         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15722         * sysdeps/s390/multiarch/Makefile
15723         (sysdep_routines): Add wmemset functions.
15724         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15725         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15726         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15727         * string/test-memset.c: Add wmemset support.
15728         * wcsmbs/test-wmemset.c: New File.
15729         * wcsmbs/Makefile (strop-tests): Add wmemset.
15730         * benchtests/bench-memset.c: Add wmemset support.
15731         * benchtests/bench-wmemset.c: New File.
15732         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15734         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15735         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15736         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15737         * sysdeps/s390/multiarch/Makefile
15738         (sysdep_routines): Add memccpy functions.
15739         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15740         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15741         * string/memccpy.c: Use MEMCCPY if defined.
15743         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15744         * sysdeps/s390/multiarch/memchr.c: Likewise.
15745         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15746         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15747         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15748         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15749         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15750         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15751         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15752         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15753         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15754         and rawmemchr functions.
15755         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15756         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15757         and wmemchr.
15758         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15759         * string/test-memchr.c: Add wmemchr support.
15760         * wcsmbs/test-wmemchr.c: New File.
15761         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15762         * benchtests/bench-memchr.c: Add wmemchr support.
15763         * benchtests/bench-wmemchr.c: New File.
15764         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15766         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15767         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15768         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15769         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15770         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15771         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15773         wcscspn functions.
15774         * sysdeps/s390/multiarch/ifunc-impl-list.c
15775         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15776         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15777         * string/test-strcspn.c: Add wcscspn support.
15778         * wcsmbs/test-wcscspn.c: New File.
15779         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15780         * benchtests/bench-strcspn.c: Add wcscspn support.
15781         * benchtests/bench-wcscspn.c: New File.
15782         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15784         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15785         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15786         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15787         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15788         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15789         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15790         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15791         wcspbrk functions.
15792         * sysdeps/s390/multiarch/ifunc-impl-list.c
15793         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15794         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15795         * string/test-strpbrk.c: Add wcspbrk support.
15796         * wcsmbs/test-wcspbrk.c: New File.
15797         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15798         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15799         * benchtests/bench-wcspbrk.c: New File.
15800         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15802         * sysdeps/s390/multiarch/strspn-c.c: New File.
15803         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15804         * sysdeps/s390/multiarch/strspn.c: Likewise.
15805         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15806         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15807         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15808         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15809         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15810         wcsspn functions.
15811         * sysdeps/s390/multiarch/ifunc-impl-list.c
15812         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15813         * string/test-strspn.c: Add wcsspn support.
15814         * wcsmbs/test-wcsspn.c: New File.
15815         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15816         * benchtests/bench-strspn.c: Add wcsspn support.
15817         * benchtests/bench-wcsspn.c: New File.
15818         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15820         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15821         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15822         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15823         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15824         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15825         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15826         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15827         wcsrchr functions.
15828         * sysdeps/s390/multiarch/ifunc-impl-list.c
15829         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15830         * benchtests/bench-wcsrchr.c: New File.
15831         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15833         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15834         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15835         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15836         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15837         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15838         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15840         wcschrnul functions.
15841         * sysdeps/s390/multiarch/ifunc-impl-list.c
15842         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15843         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15844         * string/test-strchr.c: Add wcschrnul support.
15845         * wcsmbs/test-wcschrnul.c: New File.
15846         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15847         * benchtests/bench-strchr.c: Add wcschrnul support.
15848         * benchtests/bench-wcschrnul.c: New File.
15849         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15851         * sysdeps/s390/multiarch/strchr-c.c: New File.
15852         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15853         * sysdeps/s390/multiarch/strchr.c: Likewise.
15854         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15855         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15856         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15857         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15858         wcschr functions.
15859         * sysdeps/s390/multiarch/ifunc-impl-list.c
15860         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15861         * string/strchr.c (STRCHR): Define and use macro.
15862         * benchtests/bench-wcschr.c: New File.
15863         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15865         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15866         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15867         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15868         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15869         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15870         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15871         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15872         wcsncmp functions.
15873         * sysdeps/s390/multiarch/ifunc-impl-list.c
15874         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15875         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15876         * benchtests/bench-strncmp.c: Add wcsncmp support.
15877         * benchtests/bench-wcsncmp.c: New File.
15878         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15880         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15881         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15882         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15883         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15884         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15885         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15886         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15887         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15888         wcscmp functions.
15889         * sysdeps/s390/multiarch/ifunc-impl-list.c
15890         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15891         * string/strcmp.c (STRCMP): Define and use macro.
15892         * benchtests/bench-wcscmp.c: New File.
15893         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15894         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15895         instead of _HAVE_STRING_ARCH_memchr.
15897         * sysdeps/s390/multiarch/strncat-c.c: New File.
15898         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15899         * sysdeps/s390/multiarch/strncat.c: Likewise.
15900         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15901         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15902         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15903         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15904         wcsncat functions.
15905         * sysdeps/s390/multiarch/ifunc-impl-list.c
15906         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15907         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15908         * string/test-strncat.c: Add wcsncat support.
15909         * wcsmbs/test-wcsncat.c: New File.
15910         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15911         * benchtests/bench-strncat.c: Add wcsncat support.
15912         * benchtests/bench-wcsncat.c: New File.
15913         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15915         * sysdeps/s390/multiarch/strcat-c.c: New File.
15916         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15917         * sysdeps/s390/multiarch/strcat.c: Likewise.
15918         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15919         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15920         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15921         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15922         wcscat functions.
15923         * sysdeps/s390/multiarch/ifunc-impl-list.c
15924         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15925         * string/strcat.c (STRCAT): Define and use macro.
15926         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15927         * string/test-strcat.c: Add wcscat support.
15928         * wcsmbs/test-wcscat.c: New File.
15929         * wcsmbs/Makefile (strop-tests): Add wcscat.
15930         * benchtests/bench-strcat.c: Add wcscat support.
15931         * benchtests/bench-wcscat.c: New File.
15932         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15934         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15935         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15936         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15937         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15938         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15939         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15941         wcpncpy functions.
15942         * sysdeps/s390/multiarch/ifunc-impl-list.c
15943         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15944         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15945         * string/test-stpncpy.c: Add wcpncpy support.
15946         * wcsmbs/test-wcpncpy.c: New File.
15947         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15948         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15949         * benchtests/bench-wcpncpy.c: New File.
15950         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15952         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15953         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15954         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15955         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15956         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15957         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15958         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15959         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15960         wcsncpy functions.
15961         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15962         * sysdeps/s390/multiarch/ifunc-impl-list.c
15963         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15964         * string/test-strncpy.c: Add wcsncpy support.
15965         * wcsmbs/test-wcsncpy.c: New File.
15966         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15967         * benchtests/bench-strncpy.c: Add wcsncpy support.
15968         * benchtests/bench-wcsncpy.c: New File.
15969         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15971         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15972         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15973         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15974         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15975         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15976         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15977         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15978         wcpcpy functions.
15979         * string/stpcpy.c: Use STPCPY if defined.
15980         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15981         * sysdeps/s390/multiarch/ifunc-impl-list.c
15982         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15983         * string/test-stpcpy.c: Add wcpcpy support.
15984         * wcsmbs/test-wcpcpy.c: New File.
15985         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15986         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15987         * benchtests/bench-wcpcpy.c: New File.
15988         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15990         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15991         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15992         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15993         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15994         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15995         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15996         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15997         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15998         wcscpy functions.
15999         * sysdeps/s390/multiarch/ifunc-impl-list.c
16000         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16001         * benchtests/bench-wcscpy.c: New File.
16002         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16004         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16005         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16006         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16007         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16008         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16009         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16010         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16011         wcsnlen functions.
16012         * sysdeps/s390/multiarch/ifunc-impl-list.c
16013         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16014         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16015         * string/test-strnlen.c: Add wcsnlen support.
16016         * wcsmbs/test-wcsnlen.c: New File.
16017         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16018         * benchtests/bench-strnlen.c: Add wcsnlen support.
16019         * benchtests/bench-wcsnlen.c: New File.
16020         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16022         * sysdeps/s390/multiarch/Makefile: New File.
16023         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16024         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16025         * sysdeps/s390/multiarch/strlen.c: Likewise.
16026         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16027         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16028         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16029         * string/strlen.c (STRLEN): Define and use macro.
16030         * sysdeps/s390/multiarch/ifunc-impl-list.c
16031         (IFUNC_VX_IMPL): New macro function.
16032         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16033         * benchtests/Makefile (wcsmbs-bench): New variable.
16034         (string-bench-all): Added wcsmbs-bench.
16035         * benchtests/bench-wcslen.c: New File.
16037         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16038         s390_vx_libc_ifunc2): New macro function.
16040         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16041         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16042         assembler support.
16043         * sysdeps/s390/configure: Regenerated.
16045         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16046         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16048         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16049         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16050         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16052         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16053         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16055         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16056         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16057         (memcmp, bcmp): Use __memcmp_default as alias source.
16058         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16059         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16060         Rename to __memcmp_default.
16061         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16062         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16063         (memcpy): Use __memcpy_default as alias source.
16064         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16065         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16066         Rename to __memcpy_default.
16067         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16068         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16069         (memset): Use __memset_default as alias source.
16070         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16071         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16072         Rename to __memset_default.
16073         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16074         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16075         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16076         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16077         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16078         (memcmp, bcmp): Use __memcmp_default as alias source.
16079         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16080         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16081         Rename to __memcmp_default.
16082         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16083         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16084         (memcpy): Use __memcpy_default as alias source.
16085         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16086         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16087         Rename to __memcpy_default.
16088         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16089         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16090         (memset): Use __memset_default as alias source.
16091         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16092         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16093         Rename to __memset_default.
16094         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16095         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16097         [BZ #18610]
16098         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16099         __ieee_instruction_pointer to __unused.
16100         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16101         __ieee_instruction_pointer.
16102         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16103         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16104         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16105         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16106         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16107         Mark dxc-field as reserved.
16109 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16111         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16112         if the weak reference is not null.
16114 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16116         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16118         [BZ #11214]
16119         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16121 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16123         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16124         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16125         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16126         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16127         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16128         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16129         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16130         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16131         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16132         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16133         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16134         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16135         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16136         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16137         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16138         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16139         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16140         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16142 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16144         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16145         register other than r0 for tabort, it has special meaning.
16146         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16147         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16148         transaction before starting syscall.
16150 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16152         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16154 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16156         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16158         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16159         * sysdeps/x86_64/rtld-memset.S: Likewise.
16160         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16161         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16162         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16163         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16165         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16167 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16169         * debug/strcpy_chk.c: Improve performance.
16170         * debug/stpcpy_chk.c: Likewise.
16171         * sysdeps/x86_64/strcpy_chk.S: Remove.
16172         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16174         [BZ #18240]
16175         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16177 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16179         [BZ #15128]
16180         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16181         ifuncmain8.
16182         (modules-names): Add ifuncmod8.
16183         ($(objpfx)ifuncmain8): New rule.
16184         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16185         <cpuid.h>.
16186         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16187         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16188         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16189         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16190         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16191         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16192         * sysdeps/x86_64/ifuncmain8.c: New file.
16193         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16194         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16195         Removed.
16196         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16197         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16198         Change rtld_savespace_sse to __glibc_unused2.
16199         (RTLD_CHECK_FOREIGN_CALL): Removed.
16200         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16201         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16202         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16204 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16206         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16208 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16210         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16211         Unconditionally set __fpcr to avoid uninialized warning.
16212         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16214 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16216         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16217         is corrupt.
16219         * malloc/arena.c (arena_get2): Drop unused argument.
16220         (arena_lock): Adjust.
16221         (arena_get_retry): Likewise.
16223 2015-08-24  Andreas Schwab  <schwab@suse.de>
16225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16226         Don't define.
16227         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16228         (__ASSUME_IPC64): Don't undef.
16229         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16230         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16231         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16232         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16233         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16234         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16235         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16236         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16237         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16238         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16239         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16240         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16241         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16242         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16243         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16244         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16245         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16246         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16247         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16248         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16249         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16251 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16253         * manual/Makefile (install): Only build manual when perl is available.
16255 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16258         '#undef memcpy' by '#undef memchr'.
16260 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16262         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16263         memchr not point to the internal __GI_memchr implementation.
16265 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16267         * timezone/Makefile (CFLAGS-zdump.c): Remove
16268         -Wno-strict-prototypes.
16269         (CFLAGS-zic.c): Likewise.
16270         (CFLAGS-ialloc.c): Likewise.
16271         (CFLAGS-scheck.c): Likewise.
16273         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16274         -Wno-error=undef.
16276 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16278         * i386/i686/multiarch/strcasestr-c.c: Removed.
16279         * x86_64/multiarch/strcasestr.c: Likewise.
16280         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16281         Remove strcasestr.
16283 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16285         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16287         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16288         variables for high and low parts before possibly modifying them.
16290 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16292         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16293         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16294         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16295         of "multiarch/init-arch.h".
16296         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16297         * sysdeps/x86/init-arch.h: This.
16299 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16301         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16302         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16304 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16306         [BZ #17787]
16307         * manual/macros.texi: Add twoexp macro.
16308         * manual/filesys.texi: Fix exponents.
16309         * manual/llio.texi: Likewise.
16310         * manual/stdio.texi: Likewise.
16312 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16314         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16315         incorrect use.
16317 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16319         [BZ #18370]
16320         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16321         whose real or imaginary part has small absolute value.
16322         * math/s_csqrtf.c (__csqrtf): Likewise.
16323         * math/s_csqrtl.c (__csqrtl): Likewise.
16324         * math/auto-libm-test-in: Add more tests of csqrt.
16325         * math/auto-libm-test-out: Regenerated.
16326         * sysdeps/i386/fpu/libm-test-ulps: Update.
16328 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16330         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16331         __ppc_set_ppr_very_low): New functions.
16332         * manual/platform.texi: Add documentation about
16333         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16335 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16337         * string/stpncpy.c (stpncpy): Improve performance using
16338         __strnlen/memcpy/memset.
16340 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16342         [BZ #18796]
16343         * scripts/test-installation.pl: Don't add -lmvec to build options if
16344         libmvec wasn't built.
16346 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16348         [BZ #14341]
16349         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16350         case when there is a gap between DT_REL and DT_JMPREL sections.
16351         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16352         (LDFLAGS-tst-split-dynreloc): New.
16353         (tst-split-dynreloc-ENV): Likewise.
16354         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16355         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16357 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16359         [BZ #18822]
16360         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16361         attribute_hidden.
16362         (__xstat64_conv): Likewise.
16363         (__xstat32_conv): Likewise.
16365 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16367         [BZ #18822]
16368         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16369         Don't load %ebx when calling __setcontext.  Call __setcontext
16370         with HIDDEN_JUMPTARGET.
16371         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16372         libc_hidden_def.
16374 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16376         * sysdeps/i386/i686/Makefile
16377         [$(subdir) == string] (sysdep_routines): Moved to ...
16378         * sysdeps/i386/Makefile: Here.
16379         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16380         * sysdeps/i386/cacheinfo.c: Here.
16381         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16382         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16383         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16384         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16386 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16388         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16389         __i586__ is defined.
16390         (HAS_I686): Defined to 1 if __i686__ is defined.
16392 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16394         * elf/Makefile [$(have-z-execstack) = yes]
16395         (CPPFLAGS-tst-execstack.c): New variable.
16397         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16398         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16399         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16400         UTMPX || _HAVE_UT_TV].
16401         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16402         UTMPX || _HAVE_UT_TV - 0].
16404 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16406         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16407         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16408         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16410 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16412         * sysdeps/powerpc/dl-procinfo.c:
16413         (_dl_powerpc_cap_flags): Added missing strings for some
16414         hwcap features.
16415         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16417 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16419         Port the 0x7efe...feff pattern to GCC 6.
16420         See Steve Ellcey's bug report in:
16421         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16422         * string/memrchr.c (MEMRCHR):
16423         * string/rawmemchr.c (RAWMEMCHR):
16424         * string/strchr.c (strchr):
16425         * string/strchrnul.c (STRCHRNUL):
16426         Rewrite code to avoid issues with signed shift overflow.
16428 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16430         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16431         whether cpuid is available only if HAS_CPUID is 0.
16432         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16433         (HAS_I586): Likewise.
16434         (HAS_I686): Likewise.
16436 2015-08-18  Zack Weinberg  <zackw@panix.com>
16438         * misc/Versions (libc): Add GLIBC_2.23.
16440 2015-08-18  Alan Modra  <amodra@gmail.com>
16442         [BZ #18421]
16443         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16444         .Lp__global.
16445         (_start): Load %dp via .Lp__global.
16446         [!SHARED]: Use .section .rodata.
16448 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16450         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16451         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16453 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16455         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16456         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16458 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16460         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16461         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16463 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16465         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16466         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16468 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16470         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16471         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16473 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16475         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16476         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16478 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16480         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16482 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16484         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16485         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16486         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16487         (__ASSUME_LWS_CAS): Delete.
16489 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16491         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16492         * sysdeps/hppa/configure: Regenerated.
16493         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16494         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16495         * sysdeps/hppa/nptl/tls.h: Likewise.
16497 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16499         [BZ #18823]
16500         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16501         for scaling up small arguments.
16502         * math/s_csqrtf.c (__csqrtf): Likewise.
16503         * math/s_csqrtl.c (__csqrtl): Likewise.
16504         * math/auto-libm-test-in: Add more tests of csqrt.
16505         * math/auto-libm-test-out: Regenerated.
16507 2015-08-17  Andreas Schwab  <schwab@suse.de>
16509         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16510         version set GLIBC_2.19.
16512 2015-08-16  Zack Weinberg  <zackw@panix.com>
16514         [BZ #18681]
16515         * misc/regexp.h: This interface is no longer supported.
16516         Remove all contents, leaving only an #error directive.
16517         * misc/regexp.c (loc1, loc2, locs, step, advance):
16518         Demote to compatibility symbols.
16520 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16522         [BZ #18084]
16523         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16524         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16525         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16526         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16527         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16528         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16529         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16530         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16531         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16533 2015-08-15  Zack Weinberg  <zackw@panix.com>
16535         [BZ #18795]
16536         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16537         buffer length is known to be too large, not if it's known to be
16538         small enough.
16539         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16540         overflow at runtime, involving a length parameter, twice: once
16541         with a compile-time constant length parameter, once without.
16543 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16545         [BZ #18824]
16546         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16547         scaling x * y up instead of down.
16548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16550         * math/auto-libm-test-in: Add more tests of fma.
16551         * math/auto-libm-test-out: Regenerated.
16553 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16555         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16557 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16559         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16560         unnecessary movq.
16561         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16562         Likewise.
16564 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16566         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16567         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16568         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16569         and tgamma.
16570         * math/auto-libm-test-out: Regenerated.
16571         * sysdeps/i386/fpu/libm-test-ulps: Update.
16572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16574         [BZ #16520]
16575         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16576         (__tanh): Force underflow exception for arguments with small
16577         absolute value.
16578         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16579         (__tanhf): Force underflow exception for arguments with small
16580         absolute value.
16581         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16582         (__tanhl): Force underflow exception for arguments with small
16583         absolute value.
16584         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16585         (__tanhl): Force underflow exception for arguments with small
16586         absolute value.
16587         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16588         (__tanhl): Force underflow exception for arguments with small
16589         absolute value.
16590         * math/auto-libm-test-in: Add more tests of tanh.
16591         * math/auto-libm-test-out: Regenerated.
16592         * sysdeps/i386/fpu/libm-test-ulps: Update.
16594 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16596         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16597         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16599 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16601         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16602         <cpuid.h>.
16604 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16606         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16607         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16609 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16611         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16612         Remove $(objpfx)init-arch.o.
16613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16614         init-arch.
16615         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16616         (INIT_ARCH_EXT): Defined as empty.
16617         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16618         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16619         __init_cpu_features call.  Replace HAS_XXX with
16620         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16621         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16622         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16623         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16624         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16625         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16626         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16627         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16628         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16630         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16636         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16639         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16640         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16644         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16646         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16651         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16652         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16655         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16657 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16659         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16660         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16661         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16662         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16663         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16664         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16665         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16666         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16667         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16668         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16669         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16670         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16671         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16672         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16673         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16674         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16675         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16676         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16677         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16678         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16679         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16680         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16681         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16682         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16683         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16684         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16685         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16686         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16687         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16688         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16689         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16690         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16691         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16692         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16693         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16694         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16695         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16696         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16697         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16698         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16699         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16700         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16701         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16703 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16705         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16706         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16707         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16708         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16709         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16710         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16711         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16712         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16713         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16714         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16715         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16716         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16717         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16718         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16719         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16720         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16722         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16723         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16724         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16726         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16727         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16728         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16729         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16730         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16731         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16732         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16733         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16734         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16735         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16736         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16737         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16740         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16741         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16742         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16743         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16744         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16745         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16746         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16747         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16749 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16751         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16752         (dl_platform_init): Call init_cpu_features.
16753         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16754         * sysdeps/i386/i686/cacheinfo.c
16755         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16756         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16757         * sysdeps/i386/i686/multiarch/Versions: Removed.
16758         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16759         Removed.
16760         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16761         * sysdeps/unix/sysv/linux/x86/Makefile
16762         (libpthread-sysdep_routines): Remove init-arch.
16763         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16764         <sysdeps/x86_64/dl-procinfo.c> instead of
16765         sysdeps/generic/dl-procinfo.c>.
16766         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16767         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16768         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16769         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16770         [$(subdir) == elf] (tests-static): Add
16771         tst-get-cpu-features-static.
16772         * sysdeps/x86/Versions: New file.
16773         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16774         * sysdeps/x86/cpu-features.c: Likewise.
16775         * sysdeps/x86/cpu-features.h: Likewise.
16776         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16777         * sysdeps/x86/libc-start.c: Likewise.
16778         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16779         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16780         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16781         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16782         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16783         Assume USE_MULTIARCH is defined and don't check it.
16784         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16785         (is_amd): Likewise.
16786         (max_cpuid): Likewise.
16787         (intel_check_word): Likewise.
16788         (__cache_sysconf): Don't call __init_cpu_features.
16789         (__x86_preferred_memory_instruction): Removed.
16790         (init_cacheinfo): Don't call __init_cpu_features. Replace
16791         __cpu_features with GLRO(dl_x86_cpu_features).
16792         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16793         (dl_platform_init): Call init_cpu_features.
16794         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16795         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16796         * sysdeps/x86_64/multiarch/Versions: Removed.
16797         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16798         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16799         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16800         Removed.
16801         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16803 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16805         [BZ #18820]
16806         * libio/Makefile (test-fmemopen-mem): New test.
16807         * libio/test-fmemopen.c (do_bz18820): New test.
16808         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16809         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16811 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16813         [BZ #16734]
16814         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16815         (FREE_BUF): Delete.
16816         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16817         * libio/genops.c (_IO_setb): Use malloc and free directly.
16818         (_IO_default_doallocate, _IO_default_finish): Likewise.
16819         ( _IO_unbuffer_all): Likewise.
16820         ( libc_freeres_fn): Likewise.
16821         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16822         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16823         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16824         (_IO_wdefault_doallocate): Likewise.
16826 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16828         [BZ #18086]
16829         * sysdeps/posix/nice.c (nice): Restore old errno.
16830         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16832 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16836 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16838         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16839         __bcopy and add a weak_alias to bcopy.
16840         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16841         for static build.
16843         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16844         cleanup macro usage.
16845         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16846         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16848         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16849         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16850         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16851         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16852         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16853         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16854         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16856         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16858         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16861         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16862         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16863         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16865         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16866         libc_hidden_def.
16867         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16869         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16870         (sysdep_routines): Add strstr-ppc64.
16871         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16873 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16875         [BZ #18778]
16876         * elf/Makefile (tests): Add Add tst-nodelete2.
16877         (modules-names): Add tst-nodelete2mod.
16878         (tst-nodelete2mod.so-no-z-defs): New.
16879         ($(objpfx)tst-nodelete2): Likewise.
16880         ($(objpfx)tst-nodelete2.out): Likewise.
16881         (LDFLAGS-tst-nodelete2): Likewise.
16882         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16883         out of loop through all loaded libraries.
16884         * elf/tst-nodelete2.c: New file.
16885         * elf/tst-nodelete2mod.c: Likewise.
16886         * elf/tst-znodelete-zlib.cc: Delete.
16888 2015-08-11  Andreas Schwab  <schwab@suse.de>
16890         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16891         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16892         (__openat64_nocancel): Likewise.
16894 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16896         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16897         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16898         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16899         * math/auto-libm-test-out: Regenerated.
16900         * sysdeps/i386/fpu/libm-test-ulps: Update.
16901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16903 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16905         [BZ #18790]
16906         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16907         threshold for returning +/- 1.
16908         * math/auto-libm-test-in: Add more tests of tanh.
16909         * math/auto-libm-test-out: Regenerated.
16910         * sysdeps/i386/fpu/libm-test-ulps: Update.
16912 2015-08-10  Andreas Schwab  <schwab@suse.de>
16914         [BZ #18781]
16915         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16916         MORE_OFLAGS to oflag.
16917         * io/test-lfs.c (do_test): Test openat64.
16919 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16921         [BZ #18789]
16922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16923         smaller threshold for returning the argument.
16924         * math/auto-libm-test-in: Add more tests of sinh.
16925         * math/auto-libm-test-out: Regenerated.
16926         * sysdeps/i386/fpu/libm-test-ulps: Update.
16928 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16930         [BZ #18674]
16931         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16932         break.
16934 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16936         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16937         (generated): Don't add $(addprefix z.,$(tzfiles)).
16939 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16941         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16942         * scripts/sysd-rules.awk: Likewise.
16944 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16946         * iconvdata/tst-tables.sh: Change echo -n to printf.
16947         * nss/db-Makefile: Likewise.
16948         * posix/tst-getconf.sh: Likewise.
16949         * stdio-common/tst-unbputc.sh: Likewise.
16951 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16953         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16954         MADV_*_PAGES defines behind this feature check.
16956 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16958         [BZ #18480]
16959         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16960         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16961         Define.
16962         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16963         LOAD_REGS_5, LOAD_REGS_6): Update.
16964         (INTERNAL_SYSCALL): Update using new LOAD defines.
16965         (INTERNAL_SYSCALL_NCS): Likewise.
16966         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16968 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16970         [BZ #16734]
16971         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16973 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16975         [BZ #17905]
16976         * catgets/Makefile (tst-catgets-mem): New test.
16977         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16978         * catgets/open_catalog.c (__open_catalog): Likewise.
16979         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16981 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16983         [BZ #18787]
16984         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16985         clobber registers.
16986         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16987         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16988         Cast return to __typeof (oldval).
16990 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16992         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16993         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16994         and delete sys/syscall.h include.
16996 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16998         [BZ #16517]
16999         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17000         (tan): Force underflow exception for arguments with small absolute
17001         value.
17002         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17003         (__kernel_tanf): Force underflow exception for arguments with
17004         small absolute value.
17005         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17006         (__kernel_tanl): Force underflow exception for arguments with
17007         small absolute value.
17008         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17009         (__kernel_tanl): Force underflow exception for arguments with
17010         small absolute value.
17011         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17012         (__kernel_tanl): Force underflow exception for arguments with
17013         small absolute value.
17014         * math/auto-libm-test-in: Add more tests of tan.
17015         * math/auto-libm-test-out: Regenerated.
17017 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17019         Fix sysdeps/i386/fpu/s_scalbn.S build
17021         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17023 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17025         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17027 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17029         Fix gcrt0.o compilation
17031         When static-start-installed-name is different from
17032         start-installed-name, we must not use the shared objects.
17034         * csu/Makefile
17035         (extra-objs): Add gmon-start.o when building shared library and
17036         $(static-start-installed-name) is different from
17037         $(start-installed-name).
17038         $(objpfx)g$(static-start-installed-name): When building shared
17039         library and $(static-start-installed-name) is different from
17040         $(static-start-installed-name), revert to non-shared rule,
17041         i.e. using $(objpfx)% and gmon-start.o.
17043 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17045         [BZ #16519]
17046         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17047         (__ieee754_sinh): Force underflow exception for arguments with
17048         small absolute value.
17049         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17050         (__ieee754_sinhf): Force underflow exception for arguments with
17051         small absolute value.
17052         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17053         (__ieee754_sinhl): Force underflow exception for arguments with
17054         small absolute value.
17055         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17056         (__ieee754_sinhl): Force underflow exception for arguments with
17057         small absolute value.
17058         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17059         (__ieee754_sinhl): Force underflow exception for arguments with
17060         small absolute value.
17061         * math/auto-libm-test-in: Add more tests of sinh.
17062         * math/auto-libm-test-out: Regenerated.
17063         * sysdeps/i386/fpu/libm-test-ulps: Update.
17065 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17067         * libio/oldfileops.c: Include unistd.h.
17069 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17071         * stdlib/isomac.c: Include ctype.h.
17073 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17075         * dirent/tst-seekdir.c (main): Converted to ...
17076         (do_test): ... this.
17077         (TEST_FUNCTION): New macro.
17078         Include test-skeleton.c.
17079         * elf/tst-dlmodcount.c (main): Converted to ...
17080         (do_test): ... this.
17081         (TEST_FUNCTION): New macro.
17082         Include test-skeleton.c.
17083         * elf/tst-order-main.c (main): Converted to ...
17084         (do_test): ... this.
17085         (TEST_FUNCTION): New macro.
17086         Include test-skeleton.c.
17087         * elf/tst-pie2.c (main): Converted to ...
17088         (do_test): ... this.
17089         (TEST_FUNCTION): New macro.
17090         Include test-skeleton.c.
17091         * inet/tst-ether_aton.c (main): Converted to ...
17092         (do_test): ... this.
17093         (TEST_FUNCTION): New macro.
17094         Include test-skeleton.c.
17095         * misc/tst-mntent.c (main): Converted to ...
17096         (do_test): ... this.
17097         (TEST_FUNCTION): New macro.
17098         Include test-skeleton.c.
17099         * misc/tst-tsearch.c (main): Converted to ...
17100         (do_test): ... this.
17101         (TEST_FUNCTION): New macro.
17102         Include test-skeleton.c.
17103         * posix/tst-regexloc.c (main): Converted to ...
17104         (do_test): ... this.
17105         (TEST_FUNCTION): New macro.
17106         Include test-skeleton.c.
17107         * resolv/tst-aton.c (main): Converted to ...
17108         (do_test): ... this.
17109         (TEST_FUNCTION): New macro.
17110         Include test-skeleton.c.
17111         * stdio-common/test-fwrite.c (main): Converted to ...
17112         (do_test): ... this.
17113         (TEST_FUNCTION): New macro.
17114         Include test-skeleton.c.
17115         * stdio-common/tst-ferror.c (main): Converted to ...
17116         (do_test): ... this.
17117         (TEST_FUNCTION): New macro.
17118         Include test-skeleton.c.
17119         * stdio-common/tst-printf.c (main): Converted to ...
17120         (do_test): ... this.
17121         (TEST_FUNCTION): New macro.
17122         Include test-skeleton.c.
17123         * stdio-common/tst-printfsz.c (main): Converted to ...
17124         (do_test): ... this.
17125         (TEST_FUNCTION): New macro.
17126         Include test-skeleton.c.
17127         * stdlib/tst-strtod.c (main): Converted to ...
17128         (do_test): ... this.
17129         (TEST_FUNCTION): New macro.
17130         Include test-skeleton.c.
17131         * string/tst-strlen.c (main): Converted to ...
17132         (do_test): ... this.
17133         (TEST_FUNCTION): New macro.
17134         Include test-skeleton.c.
17135         * string/tst-svc.c (main): Converted to ...
17136         (do_test): ... this.
17137         (TEST_FUNCTION): New macro.
17138         Include test-skeleton.c.
17139         * time/tst-strptime.c (main): Converted to ...
17140         (do_test): ... this.
17141         (TEST_FUNCTION): New macro.
17142         Include test-skeleton.c.
17143         * timezone/tst-timezone.c (main): Converted to ...
17144         (do_test): ... this.
17145         (TEST_FUNCTION): New macro.
17146         Include test-skeleton.c.
17148 2015-08-05  Zack Weinberg  <zackw@panix.com>
17150         * misc/regexp.h: Update comments.
17152 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17154         [BZ #18635]
17155         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17156         before return label.
17158 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17160         [BZ #18661]
17161         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17162         when calling __errno_location.
17163         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17164         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17166 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17168         [BZ #18661]
17169         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17170         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17171         __gettimeofday.
17173 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17175         [BZ #18661]
17176         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17177         (__start_context): Don't use pop to restore %rdi so that stack
17178         is aligned to 16 bytes when calling __setcontext.
17180 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17182         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17183         only for libc.
17184         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17186 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17188         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17189         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17190         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17192 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17194         * string/memccpy.c (memccpy):
17195         Improve performance by using memchr/memcpy/__mempcpy.
17197 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17199         * string/strncpy.c (strncpy):
17200         Improve performance by using __strnlen/memcpy.
17202 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17204         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17205         Optimize to avoid an unnecessary FPCR read.
17207 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17209         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17210         Optimize to reduce FPCR/FPSR accesses.
17212 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17214         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17215         dead->data[category] != NULL.
17217 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17219         [BZ #18647]
17220         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17221         and |x| close to 1, use absolute value of x when computing log.
17222         * math/auto-libm-test-in: Add more tests of pow.
17223         * math/auto-libm-test-out: Regenerated.
17225 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17227         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17228         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17229         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17231 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17233         [BZ #18525]
17234         * locales/km_KH: Remove timezone definition.
17235         * locales/lo_LA: Likewise.
17236         * locales/my_MM: Likewise.
17237         * locales/nan_TW@latin: Likewise.
17238         * locales/th_TH: Likewise.
17239         * locales/uk_UA: Likewise.
17241 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17243         [BZ #18265]
17244         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17245         (wcsncat): Likewise.
17246         (wcscmp): Likewise.
17247         (wcsncmp): Likewise.
17249 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17251         * test-skeleton.c (usage): New function.
17252         (main): Call usage when opt is '?'.
17254 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17256         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17257         before first use.
17259 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17261         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17262         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17263         in there too.
17265 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17267         * version.h (RELEASE): Set to "development".
17268         (VERSION): Set to "2.22.90"
17270         * version.h (RELEASE): Set to "stable".
17271         (VERSION): Set to "2.22"
17272         * include/features.h (__GLIBC_MINOR__): Set to 22.
17274 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17276         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17277         Restructure macro to avoid "value computed is not used" warning.
17278         (atomic_compare_and_exchange_val_acq): Likewise.
17280 2015-08-04  Andreas Schwab  <schwab@suse.de>
17282         [BZ #18635]
17283         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17284         ret.
17285         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17287 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17289         * po/pl.po: Updated translation.
17290         * po/uk.po: Likewise.
17291         * po/fi.po: Likewise.
17292         * po/ko.po: Likewise.
17293         * po/ru.po: Likewise.
17294         * po/vi.po: Likewise.
17296 2015-07-31  Zack Weinberg  <zackw@panix.com>
17298         [BZ #18681]
17299         * regexp.h: Add unconditional #warning stating that this header
17300         will be removed soon.  Revise banner comment to match.
17301         (compile): Consistently use ERROR instead of RETURN to report
17302         errors (partial fix for bz#18681).
17303         * regexp.c: Don't include regexp.h. Remove some unnecessary
17304         declarations.
17306 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17308         * po/libc.pot: Regenerated.
17310 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17312         [BZ #18740]
17313         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17314         float-vlen4-arch-ext-cflags): Removed.
17315         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17316         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17318 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17320         [BZ #14113]
17321         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17322         aligned to __aligned__.
17323         (pthread_cond_t, pthread_rwlock_t): Likewise.
17325 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17327         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17329 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17331         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17332         (struct sigaction): Change sa_flags from a long to an int, and add
17333         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17335 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17337         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17338         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17339         sysdeps/generic/sysdep.h include.
17340         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17341         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17342         sysdeps/hppa/sysdep.h.
17343         (ENTRY, PSEUDO): Undefine before defining.
17345 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17347         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17348         from scratch to use INTERNAL_SYSCALL.
17350 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17352         [BZ #18078]
17353         * scripts/check-localplt.awk: Support alternate relocations.
17354         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17355         sections.
17356         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17357         malloc entries with + REL R_386_GLOB_DAT.
17358         * sysdeps/x86_64/localplt.data: New file.
17360 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17362         [BZ #18731]
17363         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17364         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17365         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17367 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17369         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17371 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17373         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17374         directly in terms of __sync_fetch_and_add and delete (int) cast.
17376 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17378         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17379         the -D_ASM_IA64_CURRENT_H flag.
17381 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17383         [BZ #18641]
17384         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17386 2015-07-27  Andreas Schwab  <schwab@suse.de>
17388         * conform/conformtest.pl (checknamespace): Filter out string
17389         literals while tokenizing.
17391 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17393         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17394         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17395         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17397 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17399         * nptl/tst-join7mod.c: Add #include <string.h>.
17401 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17403         * sysdeps/nios2/libm-test-ulps: Update.
17405 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17407         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17408         Fix order of arguments to the rt_sigprocmask syscall.
17409         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17410         Likewise.
17412 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17414         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17416 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17418         [BZ #18457]
17419         * nptl/Makefile (tests): New test case tst-join7.
17420         (modules-names): New test case module tst-join7mod.
17421         * nptl/tst-join7.c: New file.
17422         * nptl/tst-join7mod.c: New file.
17423         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17424         all translation units in libc.so, libpthread.so and rtld.
17426 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17430 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17432         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17433         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17434         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17435         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17440         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17441         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17444         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17445         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17446         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17447         implementation.
17449 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17451         [BZ #17711]
17452         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17453         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17454         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17455         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17456         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17457         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17459 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17461         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17462         instead of just saying load lock in the comments.
17464 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17466         * sysdeps/unix/Subdirs: Moved ...
17467         * sysdeps/posix/Subdirs: ... here.
17468         * login/pty.h (struct termios, struct winsize): Add forward decls.
17469         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17470         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17471         * sysdeps/arm/nacl/libc.abilist: Updated.
17472         * sysdeps/nacl/libutil.abilist: New file.
17474         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17475         (SIGWINCH): New macro.
17477         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17478         * sysdeps/arm/nacl/libc.abilist: Add it.
17480 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17482         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17484 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17486         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17487         Swap __glibc_reserved0 and sa_flags order.
17489 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17491         [BZ #18657]
17492         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17493         are pending TLS destructor calls.
17494         * include/link.h (struct link_map): Add concurrency note for
17495         L_TLS_DTOR_COUNT.
17496         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17497         Don't touch the link map flag.  Atomically increment
17498         l_tls_dtor_count.
17499         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17500         Avoid taking the load lock and don't touch the link map flag.
17501         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17502         * stdlib/Makefile (tests): Use it.
17503         * stdlib/tst-tls-atexit.c (do_test): dlopen
17504         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17505         to allow tst-tls-atexit-nodelete test case to use it.
17507 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17509         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17510         to bits/types.h.
17511         (msgqnum_t): New typedef.
17512         (msglen_t): Likewise.
17513         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17514         and msg_qbytes type to msglen_t.
17516 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17518         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17519         pad0 to __glibc_reserved0.
17520         (struct stat64): Likewise.
17522 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17524         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17525         Change sa_flags from a long to an int and add __glibc_reserved0 before
17526         it for padding.
17528 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17530         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17531         anonymous by deleting "siginfo" name.
17533 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17535         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17536         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17537         rather than __nacl_irt_filename.
17538         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17540         * NEWS: New item for arm-nacl port.
17541         * sysdeps/arm/nacl/libc.abilist: New file.
17542         * sysdeps/nacl/ld.abilist: New file.
17543         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17544         * sysdeps/nacl/libanl.abilist: New file.
17545         * sysdeps/nacl/libcrypt.abilist: New file.
17546         * sysdeps/nacl/libdl.abilist: New file.
17547         * sysdeps/nacl/libm.abilist: New file.
17548         * sysdeps/nacl/libpthread.abilist: New file.
17549         * sysdeps/nacl/libresolv.abilist: New file.
17550         * sysdeps/nacl/librt.abilist: New file.
17552 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17554         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17555         __startcontext to initialize the new context.
17556         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17557         up CFI directive to forbid further backtracing.
17559 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17561         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17562         reference.
17563         * charmaps/ANSI_X3.4-1968: Likewise.
17564         * charmaps/BS_4730: Likewise.
17565         * charmaps/BS_VIEWDATA: Likewise.
17566         * charmaps/CP1250: Likewise.
17567         * charmaps/CP1251: Likewise.
17568         * charmaps/CP1252: Likewise.
17569         * charmaps/CP1253: Likewise.
17570         * charmaps/CP1254: Likewise.
17571         * charmaps/CP1255: Likewise.
17572         * charmaps/CP1256: Likewise.
17573         * charmaps/CSN_369103: Likewise.
17574         * charmaps/EBCDIC-DK-NO: Likewise.
17575         * charmaps/GB_1988-80: Likewise.
17576         * charmaps/GREEK-CCITT: Likewise.
17577         * charmaps/GREEK7: Likewise.
17578         * charmaps/INIS-8: Likewise.
17579         * charmaps/ISIRI-3342: Likewise.
17580         * charmaps/ISO_2033-1983: Likewise.
17581         * charmaps/ISO_5427-EXT: Likewise.
17582         * locales/POSIX: Likewise.
17583         * locales/ar_SA: Likewise.
17584         * locales/be_BY: Likewise.
17585         * locales/be_BY@latin: Likewise.
17586         * locales/ca_ES: Likewise.
17587         * locales/cs_CZ: Likewise.
17588         * locales/da_DK: Likewise.
17589         * locales/de_BE: Likewise.
17590         * locales/de_CH: Likewise.
17591         * locales/de_LU: Likewise.
17592         * locales/en_AU: Likewise.
17593         * locales/en_BW: Likewise.
17594         * locales/en_CA: Likewise.
17595         * locales/en_DK: Likewise.
17596         * locales/en_GB: Likewise.
17597         * locales/en_IE: Likewise.
17598         * locales/en_NZ: Likewise.
17599         * locales/en_ZA: Likewise.
17600         * locales/en_ZW: Likewise.
17601         * locales/es_AR: Likewise.
17602         * locales/es_BO: Likewise.
17603         * locales/es_CL: Likewise.
17604         * locales/es_CO: Likewise.
17605         * locales/es_DO: Likewise.
17606         * locales/es_EC: Likewise.
17607         * locales/es_ES: Likewise.
17608         * locales/es_HN: Likewise.
17609         * locales/es_MX: Likewise.
17610         * locales/es_PA: Likewise.
17611         * locales/es_PE: Likewise.
17612         * locales/es_PY: Likewise.
17613         * locales/es_SV: Likewise.
17614         * locales/es_US: Likewise.
17615         * locales/es_UY: Likewise.
17616         * locales/es_VE: Likewise.
17617         * locales/et_EE: Likewise.
17618         * locales/fa_IR: Likewise.
17619         * locales/fo_FO: Likewise.
17620         * locales/fr_CA: Likewise.
17621         * locales/fr_CH: Likewise.
17622         * locales/gv_GB: Likewise.
17623         * locales/he_IL: Likewise.
17624         * locales/hr_HR: Likewise.
17625         * locales/id_ID: Likewise.
17626         * locales/is_IS: Likewise.
17627         * locales/it_CH: Likewise.
17628         * locales/iw_IL: Likewise.
17629         * locales/kl_GL: Likewise.
17630         * locales/ko_KR: Likewise.
17631         * locales/kw_GB: Likewise.
17632         * locales/lg_UG: Likewise.
17633         * locales/lt_LT: Likewise.
17634         * locales/lv_LV: Likewise.
17635         * locales/mi_NZ: Likewise.
17636         * locales/nhn_MX: Likewise.
17637         * locales/nl_BE: Likewise.
17638         * locales/pl_PL: Likewise.
17639         * locales/sk_SK: Likewise.
17640         * locales/sl_SI: Likewise.
17641         * locales/sv_FI: Likewise.
17642         * locales/tl_PH: Likewise.
17643         * locales/tr_TR: Likewise.
17644         * locales/vi_VN: Likewise.
17646 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17648         [BZ #17475]
17649         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17650         of tu_IN and bh_IN.
17652 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17654         [BZ #18694]
17655         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17656         bits/wordsize.h.
17657         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17659 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17661         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17662         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17663         (spawn_thread): New function.
17664         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17665         (do_test): ... here.  Use IS_LOADED to test for its
17666         availability.
17668 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17670         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17672 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17674         [BZ #18696]
17675         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17676         si_addr_bnd.
17677         (si_lower): New.
17678         (si_upper): Likewise.
17680 2015-07-16  David S. Miller  <davem@davemloft.net>
17682         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17684 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17686         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17687         buffer.
17688         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17689         fail output information.
17691 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17694         and strstr-ppc64..
17695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17696         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17697         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17698         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17699         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17701 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17703         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17704         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17705         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17706         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17708 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17710         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17711         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17712         rtld_hidden_proto.
17713         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17715 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17717         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17718         the test can fail.
17720         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17722         [BZ #18676]
17723         * elf/tst-nodelete-opened.c: New test case.
17724         * elf/tst-nodelete-opened-lib.c: New test case module.
17725         * elf/Makefile (tests, modules-names): Use them.
17726         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17727         early.
17729 2015-07-15  David S. Miller  <davem@davemloft.net>
17731         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17732         futex-intenal.h
17733         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17734         * sysdeps/sparc/sparc64/Makefile: Likewise.
17735         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17736         Remove space from macro define.
17737         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17739 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17741         [BZ #17475]
17742         * locale/iso-639.def: Update Bhili and Tulu language codes as
17743         per iso639-3.
17745 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17747         * elf/tst-leaks1.c (main): Converted to ...
17748         (do_test): ... this.
17749         (TEST_FUNCTION): New macro.
17750         Include test-skeleton.c.
17751         * localedata/tst-langinfo.c (main): Converted to ...
17752         (do_test): ... this.
17753         (TEST_FUNCTION): New macro.
17754         Include test-skeleton.c.
17755         * math/test-fpucw.c (main): Converted to ...
17756         (do_test): ... this.
17757         (TEST_FUNCTION): New macro.
17758         Include test-skeleton.c.
17759         * math/test-tgmath.c (main): Converted to ...
17760         (do_test): ... this.
17761         (TEST_FUNCTION): New macro.
17762         Include test-skeleton.c.
17763         * math/test-tgmath2.c (main): Converted to ...
17764         (do_test): ... this.
17765         (TEST_FUNCTION): New macro.
17766         Include test-skeleton.c.
17767         * setjmp/tst-setjmp.c (main): Converted to ...
17768         (do_test): ... this.
17769         (TEST_FUNCTION): New macro.
17770         Include test-skeleton.c.
17771         * stdio-common/tst-sscanf.c (main): Converted to ...
17772         (do_test): ... this.
17773         (TEST_FUNCTION): New macro.
17774         Include test-skeleton.c.
17775         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17776         (do_test): ... this.
17777         (TEST_FUNCTION): New macro.
17778         Include test-skeleton.c.
17780         * elf/tst-audit9.c (main): Converted to ...
17781         (do_test): ... this.
17782         (TEST_FUNCTION): New macro.
17783         Include test-skeleton.c.
17785 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17787         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17789 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17791         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17792         New variable.
17794 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17796         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17798 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17800         * sysdeps/generic/dl-fileid.h: New file.
17801         * sysdeps/posix/dl-fileid.h: New file.
17802         * sysdeps/nacl/dl-fileid.h: New file.
17803         * include/link.h: Include <dl-fileid.h>.
17804         (struct link_map): Replace l_dev and l_ino with l_file_id.
17805         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17806         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17807         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17809 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17811         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17813 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17815         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17816         Add iff $CXX is set.
17817         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17818         Likewise.
17819         (tst-nodelete-zmodiff): Likewise.
17820         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17822 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17824         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17826 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17828         * sysdeps/aarch64/fpu/math_private.h
17829         (define math_opt_barrier): Add AArch64 version.
17830         (math_force_eval): Likewise.
17832 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17834         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17836 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17838         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17839         %ld with %jd and cast to intmax_t.
17840         (do_test_length_zero): Likewise.
17842 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17844         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17846 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17848         * sysdeps/tile/libm-test-ulps: Regenerated.
17850         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17851         Comment out the whole function, not just its body.
17853 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17855         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17856         locks.
17858         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17860 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17862         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17863         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17865 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17867         * sysdeps/nptl/futex-internal.h: New file.
17868         * sysdeps/nacl/futex-internal.h: New file.
17869         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17870         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17871         error checking.
17872         (setxid_unmark_thread): Likewise.
17873         (__nptl_setxid): Likewise.
17874         (__wait_lookup_done): Likewise.
17875         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17876         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17877         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17878         * nptl/pthread_once.c (clear_once_control): Likewise.
17879         (__pthread_once_slow): Likewise.
17880         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17881         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17882         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17883         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17884         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17885         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17886         Likewise.
17887         (__pthread_rwlock_rdlock): Likewise.
17888         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17889         Likewise.
17890         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17891         Likewise.
17892         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17893         Likewise.
17894         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17895         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17896         Likewise.
17897         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17898         __ASSUME_PRIVATE_FUTEX check.
17899         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17900         Check that shared futexes are supported.
17901         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17902         wrappers with error checking.
17903         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17904         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17905         * nptl/pthread_barrierattr_setpshared.c
17906         (pthread_barrierattr_setpshared): Check that shared futexes are
17907         supported.
17908         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17909         Likewise.
17910         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17911         Likewise.
17912         * nptl/sem_init.c (futex_private_if_supported): Remove.
17913         (__new_sem_init): Adapt and check that shared futexes are supported.
17914         * nptl/sem_open.c (sem_open): Likewise.
17915         * nptl/sem_post.c (futex_wake): Remove.
17916         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17917         (do_futex_wait): Use futex wrappers with error checking.
17918         * nptl/sem_wait.c: Include lowlevellock.h.
17919         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17920         Use futex_supports_pshared.
17921         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17922         Use futex wrappers with error checking.
17923         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17924         Likewise.
17925         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17926         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17927         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17928         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17929         (futex_wake): Likewise.
17930         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17931         (do_futex_wait): Use futex wrappers with error checking.
17932         (__new_sem_wait_slow): Update EINTR handling.
17933         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17935 2015-07-09  Martin Sebor  <msebor@redhat.com>
17937         [BZ #18435]
17938         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17939         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17940         * nptl/Makefile (test-xfail-tst-once5): Define.
17942 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17944         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17945         * elf/dl-minimal.c: For readability, reorder some definitions and
17946         introduce more page breaks.  Include <stdio.h>.
17947         (__libc_fatal): New function.
17949         * include/unistd.h: Add rtld_hidden_proto for _exit.
17950         * posix/_exit.c: Add rtld_hidden_def.
17951         * sysdeps/mach/hurd/_exit.c: Likewise.
17952         * sysdeps/nacl/_exit.c: Likewise.
17953         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17954         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17956 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17958         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17959         bndmov encoding with zero displacement.
17961 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17962             H.J. Lu  <hongjiu.lu@intel.com>
17964         [BZ #18134]
17965         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17966         * sysdeps/i386/configure: Regenerated.
17967         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17968         (_dl_runtime_profile): Save and restore Intel MPX return bound
17969         registers when calling _dl_call_pltexit.  Add
17970         PRESERVE_BND_REGS_PREFIX before return.
17971         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17972         (LRV_BND1_OFFSET): Likewise.
17973         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17974         lrv_bnd1.
17975         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17976         typo in bndmov encoding.
17977         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17978         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17979         branch instructions to preserve bounds.
17981 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17984         [GLIBC_2.22]: Add fmemopen.
17986 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17988         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17989         returns an error, also try to use host port from __mach_host_self for
17990         the __vm_wire call.
17991         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17993 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17995         [BZ #18400]
17996         [BZ #18648]
17997         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17998         Fix pr_uid and pr_gid members.
17999         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18000         definition to elf_greg_t.
18002 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18004         [BZ #18383]
18005         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18006         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18007         * sysdeps/arm/configure: Regenerated.
18008         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18009         (test-xfail-tst-tlsalign-static): Variable removed.
18011         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18012         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18013         rather than explicit 'ln -s'.
18015         * resolv/rpc/netdb.h: New file.
18016         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18018 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18020         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18021         length buffers.
18022         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18023         test-skeleton.c.
18025         [BZ #6544]
18026         [BZ #11216]
18027         [BZ #12836]
18028         [BZ #13151]
18029         [BZ #13152]
18030         [BZ #14292]
18031         * include/stdio.h (fmemopen): Remove hidden prototype.
18032         (__fmemopen): Add new hidden prototype.
18033         * libio/Makefile: Add oldfmemopen object.
18034         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18035         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18036         compliance.
18037         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18038         symbol compatibility.
18039         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18040         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18041         fmemopen.
18042         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18043         on append and read mode.
18044         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18045         fmemopen.
18046         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18047         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18048         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18049         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18050         Likewise.
18051         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18052         [GLIBC_2.22]: Likewise.
18053         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18054         Likewise.
18055         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18056         Likewise.
18057         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18058         [GLIBC_2.22]: Likewise.
18059         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18060         [GLIBC_2.22]: Likewise.
18061         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18062         [GLIBC_2.22]: Likewise.
18063         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18064         [GLIBC_2.22]: Likewise.
18065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18066         [GLIBC_2.22]: Likewise.
18067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18068         [GLIBC_2.22]: Likewise.
18069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18070         [GLIBC_2.22]: Likewise.
18071         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18072         Likewise.
18073         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18074         Likewise.
18075         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18076         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18077         [GLIBC_2.22]: Likewise.
18078         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18079         [GLIBC_2.22]: Likewise.
18080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18081         [GLIBC_2.22]: Likewise.
18082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18083         [GLIBC_2.22]: Likewise.
18084         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18085         Likewise.
18086         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18087         Likewise.
18088         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18089         Likewise.
18090         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18091         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18093 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18095         [BZ #18643]
18096         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18097         IPV6_PATHMTU, and IPV6_DONTFRAG.
18099 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18101         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18102         and _IO_UNBUFFERED.
18103         * libio/oldfileops.c: Likewise.
18104         * libio/wfileops.c: Likewise.
18106 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18108         * nscd/selinux.c: Delete selinux/flask.h include.
18110 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18112         [BZ #18641]
18113         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18114         (putpwent): Likewise.
18115         (getpwnam): Likewise.
18116         (getpwent_r): Likewise.
18117         (getpwuid_r): Likewise.
18118         (getpwnam_r): Likewise.
18119         (fgetpwent_r): Likewise.
18121 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18123         [BZ #18557]
18124         * inet/rcmd.c (__validuser2_sa): Check user first to
18125         short-circuit host check.
18127 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18128             Mikhail Ilin  <m.ilin@samsung.com>
18130         [BZ #17833]
18131         * elf/Makefile (tests): Add tst-nodelete.
18132         (modules-names): Add tst-nodelete-uniquemod.
18133         (tst-nodelete-uniquemod.so-no-z-defs): New.
18134         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18135         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18136         ($(objpfx)tst-nodelete): Likewise.
18137         ($(objpfx)tst-nodelete.out): Likewise.
18138         (LDFLAGS-tst-nodelete): Likewise.
18139         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18140         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18141         implement forced object deletion.
18142         (_dl_close): Pass false to _dl_close_worker.
18143         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18144         * elf/tst-nodelete.cc: New file.
18145         * elf/tst-nodeletelib.cc: Likewise.
18146         * elf/tst-znodeletelib.cc: Likewise.
18147         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18149 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18151         [BZ #18508]
18152         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18153         Depend on $(libdl).
18154         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18155         is not called infinitely times.
18156         (backtrace_helper): New function.
18157         (trace_arg): New struct.
18158         (st1): Enlarge stack size.
18159         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18160         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18161         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18162         Likewise.
18164 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18166         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18168 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18170         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18171         Include sys/types.h instead of bits/types.h.
18172         Remove inclusion of bits/wordsize.h.
18174 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18176         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18177         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18178         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18179         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18180         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18181         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18183 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18185         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18186         link-defines.sym.
18187         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18188         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18189         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18190         and LR_SIZE.
18191         * sysdeps/i386/link-defines.sym: New file.
18193 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18195         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18196         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18197         ($(objpfx)tst-audit3): New rule.
18198         ($(objpfx)tst-audit3.out): Likewise.
18199         * sysdeps/i386/tst-audit3.c: New file.
18200         * sysdeps/i386/tst-audit3.h: Likewise.
18201         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18202         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18204 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18206         [BZ #18633]
18207         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18208         pointer in C code.
18209         (__strcat_c): Likewise.
18210         (__strcat_g): Likewise.
18212 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18214         [BZ #18592]
18215         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18217 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18219         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18220         New function.  (__ieee754_sqrtf): New function.
18221         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18222         New function.
18223         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18224         New function.
18226 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18228         * sysdeps/ieee754/support.c: Remove unused file.
18230 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18232         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18233         registers instead of d ones so the layout is kernel abi compatible.
18234         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18235         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18236         Likewise.
18238 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18240         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18242 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18244         [BZ #18619]
18245         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18246         and return argument in case of subnormal argument.
18248 2015-07-01  Martin Sebor  <msebor@redhat.com>
18250         [BZ #18435]
18251         * nptl/Makefile: Add tst-once5.cc.
18252         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18253         Remove macro redefinitions.
18254         * nptl/tst-once5.cc: New test.
18256 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18258         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18260         * sysdeps/arm/libm-test-ulps: Regenerated.
18262         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18263         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18265 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18267         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18268         lll_lock_wait_private and lll_futex_wake probes.
18270         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18271         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18272         Likewise.
18273         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18274         atomic_spin_nop.
18275         * sysdeps/x86_64/bits/atomic.h: Likewise.
18276         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18277         to atomic_spin_nop and move ...
18278         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18279         ... here and ...
18280         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18281         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18282         atomic_spin_nop instead of BUSY_WAIT_NOP.
18283         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18284         Likewise.
18285         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18286         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18287         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18288         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18289         instead of atomic_delay.
18291 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18293         [BZ #18613]
18294         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18295         X_ADJ not X when adjusting exponent.
18296         (__ieee754_gamma_r): Do intermediate computations in
18297         round-to-nearest then adjust overflowing and underflowing results
18298         as needed.
18299         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18300         of X_ADJ not X when adjusting exponent.
18301         (__ieee754_gammaf_r): Do intermediate computations in
18302         round-to-nearest then adjust overflowing and underflowing results
18303         as needed.
18304         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18305         log of X_ADJ not X when adjusting exponent.
18306         (__ieee754_gammal_r): Do intermediate computations in
18307         round-to-nearest then adjust overflowing and underflowing results
18308         as needed.  Use 1.0L not 1.0f as numerator of division.
18309         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18310         log of X_ADJ not X when adjusting exponent.
18311         (__ieee754_gammal_r): Do intermediate computations in
18312         round-to-nearest then adjust overflowing and underflowing results
18313         as needed.  Use 1.0L not 1.0f as numerator of division.
18314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18315         of X_ADJ not X when adjusting exponent.
18316         (__ieee754_gammal_r): Do intermediate computations in
18317         round-to-nearest then adjust overflowing and underflowing results
18318         as needed.  Use 1.0L not 1.0f as numerator of division.
18319         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18320         to auto-libm-test-in.
18321         (tgamma_test): Use ALL_RM_TEST.
18322         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18323         tests of tgamma with spurious-overflow.
18324         * math/auto-libm-test-out: Regenerated.
18325         * math/gen-libm-have-vector-test.sh: Do not check for START.
18326         * sysdeps/i386/fpu/libm-test-ulps: Update.
18327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18329         [BZ #18612]
18330         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18331         arguments, just return 0.5 times the argument, with underflow
18332         forced as needed.
18333         * math/auto-libm-test-in: Add more tests of j1.
18334         * math/auto-libm-test-out: Regenerated.
18336         [BZ #16559]
18337         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18338         (__ieee754_j1): Force underflow exception for small results.
18339         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18340         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18341         (__ieee754_j1f): Force underflow exception for small results.
18342         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18343         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18345         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18346         (__ieee754_j1l): Force underflow exception for small results.
18347         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18348         * math/auto-libm-test-in: Add more tests of j1 and jn.
18349         * math/auto-libm-test-out: Regenerated.
18351         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18352         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18353         (PF_MPLS): Likewise.
18354         (AF_IB): Likewise.
18355         (AF_MPLS): Likewise.
18356         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18357         value and macro.
18358         (MS_RMT_MASK): Include MS_LAZYTIME.
18360 2015-06-26  Mel Gorman  <mgorman@suse.de>
18362         [BZ #18502]
18363         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18364         already minimal.
18366 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18368         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18369         (DT_MIPS_NUM): Update.
18370         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18371         DT_MIPS_RLD_MAP_REL.
18373 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18375         [BZ #16559]
18376         [BZ #18602]
18377         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18378         round-to-nearest internally then recompute results that
18379         underflowed to zero in the original rounding mode.
18380         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18381         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18383         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18384         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18385         * sysdeps/i386/fpu/libm-test-ulps: Update.
18386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18388 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18390         * NEWS: Fixed description of link with vector math library.
18392 2015-06-25  Andreas Schwab  <schwab@suse.de>
18394         [BZ #18549]
18395         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18396         * libio/test-fmemopen.c (do_test): Add test for it.
18398 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18400         [BZ #17841]
18401         * Makeconfig (no-pie-ldflag): New.
18402         (+link): Set to $(+link-pie) if default to PIE.
18403         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18404         * config.make.in (build-pie-default): New.
18405         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18406         is default.  AC_SUBST.
18407         * configure: Regenerated.
18408         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18410 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18412         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18413         to 'unsigned int'.
18415         * resolv/gai_misc.h (struct waitlist): Change type of field
18416         counterp to 'volatile unsigned int *'.
18417         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18418         FUTEXADDR and OLDVAL.
18419         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18420         Give local variable TOTAL type 'volatile unsigned int'.
18421         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18422         * resolv/gai_suspend.c (gai_suspend):
18423         Give local variable CNTR type 'unsigned int'.
18425         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18426         counterp to 'volatile unsigned int *'.
18427         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18428         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18429         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18430         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18431         Give local variable TOTAL type 'volatile unsigned int'.
18432         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18434 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18436         [BZ #18383]
18437         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18438         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18439         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18440         comment for i386/x86-64.
18441         (test-xfail-tst-tlsalign-extern-static): Removed.
18443 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18445         * math/test-double.h: New file.
18446         * math/test-float.h: Likewise.
18447         * math/test-ldouble.h: Likewise.
18448         * math/test-math-inline.h: Likewise.
18449         * math/test-math-no-inline.h: Likewise.
18450         * math/test-math-scalar.h: Likewise.
18451         * math/test-math-vector.h: Likewise.
18452         * math/test-vec-loop.h: Remove file.  Contents moved into
18453         test-math-vector.h.
18454         * math/libm-test.inc (MATHCONST): Do not document macro.
18455         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18456         and test-math-scalar.h.
18457         (FUNC): Remove macro.
18458         (FUNC_TEST): Likewise.
18459         (FLOAT): Likewise.
18460         (MATHCONST): Likewise.
18461         (PRINTF_EXPR): Likewise.
18462         (PRINTF_XEXPR): Likewise.
18463         (PRINTF_NEXPR): Likewise.
18464         (TEST_DOUBLE): Likewise.
18465         (TEST_MATHVEC): Likewise.
18466         (__NO_MATH_INLINES): Likewise.
18467         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18468         and test-math-scalar.h.
18469         (FUNC): Remove macro.
18470         (FUNC_TEST): Likewise.
18471         (FLOAT): Likewise.
18472         (MATHCONST): Likewise.
18473         (PRINTF_EXPR): Likewise.
18474         (PRINTF_XEXPR): Likewise.
18475         (PRINTF_NEXPR): Likewise.
18476         (TEST_FLOAT): Likewise.
18477         (TEST_MATHVEC): Likewise.
18478         (__NO_MATH_INLINES): Likewise.
18479         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18480         and test-math-scalar.h.
18481         (FUNC): Remove macro.
18482         (FUNC_TEST): Likewise.
18483         (FLOAT): Likewise.
18484         (MATHCONST): Likewise.
18485         (PRINTF_EXPR): Likewise.
18486         (PRINTF_XEXPR): Likewise.
18487         (PRINTF_NEXPR): Likewise.
18488         (TEST_DOUBLE): Likewise.
18489         (TEST_MATHVEC): Likewise.
18490         (TEST_INLINE): Likewise.
18491         (__NO_MATH_INLINES): Likewise.
18492         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18493         test-math-scalar.h.
18494         (FUNC): Remove macro.
18495         (FUNC_TEST): Likewise.
18496         (FLOAT): Likewise.
18497         (MATHCONST): Likewise.
18498         (PRINTF_EXPR): Likewise.
18499         (PRINTF_XEXPR): Likewise.
18500         (PRINTF_NEXPR): Likewise.
18501         (TEST_FLOAT): Likewise.
18502         (TEST_MATHVEC): Likewise.
18503         (TEST_INLINE): Likewise.
18504         (__NO_MATH_INLINES): Likewise.
18505         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18506         and test-math-scalar.h.
18507         (FUNC): Remove macro.
18508         (FUNC_TEST): Likewise.
18509         (FLOAT): Likewise.
18510         (MATHCONST): Likewise.
18511         (PRINTF_EXPR): Likewise.
18512         (PRINTF_XEXPR): Likewise.
18513         (PRINTF_NEXPR): Likewise.
18514         (TEST_LDOUBLE): Likewise.
18515         (TEST_MATHVEC): Likewise.
18516         (TEST_INLINE): Likewise.
18517         (__NO_MATH_INLINES): Likewise.
18518         * math/test-ldouble.c: Include test-ldouble.h,
18519         test-math-no-inline.h and test-math-scalar.h.
18520         (FUNC): Remove macro.
18521         (FUNC_TEST): Likewise.
18522         (FLOAT): Likewise.
18523         (MATHCONST): Likewise.
18524         (PRINTF_EXPR): Likewise.
18525         (PRINTF_XEXPR): Likewise.
18526         (PRINTF_NEXPR): Likewise.
18527         (TEST_LDOUBLE): Likewise.
18528         (TEST_MATHVEC): Likewise.
18529         (__NO_MATH_INLINES): Likewise.
18530         * math/test-double-vlen2.h: Include test-double.h,
18531         test-math-no-inline.h and test-math-vector.h.
18532         (FLOAT): Remove macro.
18533         (FUNC): Likewise.
18534         (MATHCONST): Likewise.
18535         (PRINTF_EXPR): Likewise.
18536         (PRINTF_XEXPR): Likewise.
18537         (PRINTF_NEXPR): Likewise.
18538         (TEST_DOUBLE): Likewise.
18539         (TEST_MATHVEC): Likewise.
18540         (__NO_MATH_INLINES): Likewise.
18541         (CNCT): Likewise.
18542         (CONCAT): Likewise.
18543         (WRAPPER_NAME): Likewise.
18544         (WRAPPER_DECL): Likewise.
18545         (WRAPPER_DECL_ff): Likewise.
18546         (WRAPPER_DECL_fFF): Likewise.
18547         (VECTOR_WRAPPER): Likewise.
18548         (VECTOR_WRAPPER_ff): Likewise.
18549         (VECTOR_WRAPPER_fFF): Likewise.
18550         (VEC_LEN): New macro.
18551         * math/test-double-vlen4.h: Include test-double.h,
18552         test-math-no-inline.h and test-math-vector.h.
18553         (FLOAT): Remove macro.
18554         (FUNC): Likewise.
18555         (MATHCONST): Likewise.
18556         (PRINTF_EXPR): Likewise.
18557         (PRINTF_XEXPR): Likewise.
18558         (PRINTF_NEXPR): Likewise.
18559         (TEST_DOUBLE): Likewise.
18560         (TEST_MATHVEC): Likewise.
18561         (__NO_MATH_INLINES): Likewise.
18562         (CNCT): Likewise.
18563         (CONCAT): Likewise.
18564         (WRAPPER_NAME): Likewise.
18565         (WRAPPER_DECL): Likewise.
18566         (WRAPPER_DECL_ff): Likewise.
18567         (WRAPPER_DECL_fFF): Likewise.
18568         (VECTOR_WRAPPER): Likewise.
18569         (VECTOR_WRAPPER_ff): Likewise.
18570         (VECTOR_WRAPPER_fFF): Likewise.
18571         (VEC_LEN): New macro.
18572         * math/test-double-vlen8.h: Include test-double.h,
18573         test-math-no-inline.h and test-math-vector.h.
18574         (FLOAT): Remove macro.
18575         (FUNC): Likewise.
18576         (MATHCONST): Likewise.
18577         (PRINTF_EXPR): Likewise.
18578         (PRINTF_XEXPR): Likewise.
18579         (PRINTF_NEXPR): Likewise.
18580         (TEST_DOUBLE): Likewise.
18581         (TEST_MATHVEC): Likewise.
18582         (__NO_MATH_INLINES): Likewise.
18583         (CNCT): Likewise.
18584         (CONCAT): Likewise.
18585         (WRAPPER_NAME): Likewise.
18586         (WRAPPER_DECL): Likewise.
18587         (WRAPPER_DECL_ff): Likewise.
18588         (WRAPPER_DECL_fFF): Likewise.
18589         (VECTOR_WRAPPER): Likewise.
18590         (VECTOR_WRAPPER_ff): Likewise.
18591         (VECTOR_WRAPPER_fFF): Likewise.
18592         (VEC_LEN): New macro.
18593         * math/test-float-vlen4.h: Include test-float.h,
18594         test-math-no-inline.h and test-math-vector.h.
18595         (FLOAT): Remove macro.
18596         (FUNC): Likewise.
18597         (MATHCONST): Likewise.
18598         (PRINTF_EXPR): Likewise.
18599         (PRINTF_XEXPR): Likewise.
18600         (PRINTF_NEXPR): Likewise.
18601         (TEST_FLOAT): Likewise.
18602         (TEST_MATHVEC): Likewise.
18603         (__NO_MATH_INLINES): Likewise.
18604         (CNCT): Likewise.
18605         (CONCAT): Likewise.
18606         (WRAPPER_NAME): Likewise.
18607         (WRAPPER_DECL): Likewise.
18608         (WRAPPER_DECL_ff): Likewise.
18609         (WRAPPER_DECL_fFF): Likewise.
18610         (VECTOR_WRAPPER): Likewise.
18611         (VECTOR_WRAPPER_ff): Likewise.
18612         (VECTOR_WRAPPER_fFF): Likewise.
18613         (VEC_LEN): New macro.
18614         * math/test-float-vlen8.h: Include test-float.h,
18615         test-math-no-inline.h and test-math-vector.h.
18616         (FLOAT): Remove macro.
18617         (FUNC): Likewise.
18618         (MATHCONST): Likewise.
18619         (PRINTF_EXPR): Likewise.
18620         (PRINTF_XEXPR): Likewise.
18621         (PRINTF_NEXPR): Likewise.
18622         (TEST_FLOAT): Likewise.
18623         (TEST_MATHVEC): Likewise.
18624         (__NO_MATH_INLINES): Likewise.
18625         (CNCT): Likewise.
18626         (CONCAT): Likewise.
18627         (WRAPPER_NAME): Likewise.
18628         (WRAPPER_DECL): Likewise.
18629         (WRAPPER_DECL_ff): Likewise.
18630         (WRAPPER_DECL_fFF): Likewise.
18631         (VECTOR_WRAPPER): Likewise.
18632         (VECTOR_WRAPPER_ff): Likewise.
18633         (VECTOR_WRAPPER_fFF): Likewise.
18634         (VEC_LEN): New macro.
18635         * math/test-float-vlen16.h: Include test-float.h,
18636         test-math-no-inline.h and test-math-vector.h.
18637         (FLOAT): Remove macro.
18638         (FUNC): Likewise.
18639         (MATHCONST): Likewise.
18640         (PRINTF_EXPR): Likewise.
18641         (PRINTF_XEXPR): Likewise.
18642         (PRINTF_NEXPR): Likewise.
18643         (TEST_FLOAT): Likewise.
18644         (TEST_MATHVEC): Likewise.
18645         (__NO_MATH_INLINES): Likewise.
18646         (CNCT): Likewise.
18647         (CONCAT): Likewise.
18648         (WRAPPER_NAME): Likewise.
18649         (WRAPPER_DECL): Likewise.
18650         (WRAPPER_DECL_ff): Likewise.
18651         (WRAPPER_DECL_fFF): Likewise.
18652         (VECTOR_WRAPPER): Likewise.
18653         (VECTOR_WRAPPER_ff): Likewise.
18654         (VECTOR_WRAPPER_fFF): Likewise.
18655         (VEC_LEN): New macro.
18656         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18657         test-vec-loop.h.
18658         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18660         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18661         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18662         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18664         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18666 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18668         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18669         (__getlogin_r): ... this.
18671 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18673         [BZ #18594]
18674         * math/s_ccosh.c (__ccosh): Compare with least normal value
18675         instead of comparing class with FP_SUBNORMAL.
18676         * math/s_ccoshf.c (__ccoshf): Likewise.
18677         * math/s_ccoshl.c (__ccoshl): Likewise.
18678         * math/s_cexp.c (__cexp): Likewise.
18679         * math/s_cexpf.c (__cexpf): Likewise.
18680         * math/s_cexpl.c (__cexpl): Likewise.
18681         * math/s_csin.c (__csin): Likewise.
18682         * math/s_csinf.c (__csinf): Likewise.
18683         * math/s_csinh.c (__csinh): Likewise.
18684         * math/s_csinhf.c (__csinhf): Likewise.
18685         * math/s_csinhl.c (__csinhl): Likewise.
18686         * math/s_csinl.c (__csinl): Likewise.
18687         * math/s_ctan.c (__ctan): Likewise.
18688         * math/s_ctanf.c (__ctanf): Likewise.
18689         * math/s_ctanh.c (__ctanh): Likewise.
18690         * math/s_ctanhf.c (__ctanhf): Likewise.
18691         * math/s_ctanhl.c (__ctanhl): Likewise.
18692         * math/s_ctanl.c (__ctanl): Likewise.
18693         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18694         csin, csinh, ctan and ctanh.
18695         * math/auto-libm-test-out: Regenerated.
18696         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18697         * sysdeps/i386/fpu/libm-test-ulps: Update.
18698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18700 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18702         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18703         return value is wrong, print the expected value too.
18705 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18707         [BZ #18585]
18708         * elf/readlib.c (is_gdb_python_file): New.
18709         (process_file): Don't issue errors on filenames with -gdb.py
18710         suffix.
18712 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18714         * math/auto-libm-test-in: Add more tests of csin and csinh.
18715         * math/auto-libm-test-out: Regenerated.
18716         * math/libm-test.inc (csin_test_data): Remove tests moved to
18717         auto-libm-test-in.
18718         (csinh_test_data): Likewise.
18720         [BZ #18593]
18721         * math/s_csin.c (__csin): Negate before rather than after possibly
18722         overflowing multiplication.
18723         * math/s_csinf.c (__csinf): Likewise.
18724         * math/s_csinh.c (__csinh): Likewise.
18725         * math/s_csinhf.c (__csinhf): Likewise.
18726         * math/s_csinhl.c (__csinhl): Likewise.
18727         * math/s_csinl.c (__csinl): Likewise.
18728         * math/auto-libm-test-in: Add some tests of csin and csinh.
18729         * math/auto-libm-test-out: Regenerated.
18730         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18731         (csinh_test_data): Likewise.
18732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18734         [BZ #18586]
18735         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18736         underflow exception for small results.
18738 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18740         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18741         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18742         variable and included header.
18743         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18744         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18745         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18746         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18747         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18749         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18750         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18751         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18752         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18753         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18754         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18755         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18756         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18757         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18758         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18760 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18762         [BZ #16526]
18763         [BZ #16538]
18764         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18765         (__sin): Force underflow exception for arguments with small
18766         absolute value.
18767         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18768         (__kernel_sinf): Force underflow exception for arguments with
18769         small absolute value.
18770         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18771         (__kernel_sincosl): Force underflow exception for arguments with
18772         small absolute value.
18773         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18774         (__kernel_sinl): Force underflow exception for arguments with
18775         small absolute value.
18776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18777         (__kernel_sincosl): Force underflow exception for arguments with
18778         small absolute value.
18779         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18780         (__kernel_sinl): Force underflow exception for arguments with
18781         small absolute value.
18782         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18783         (__kernel_sinl): Force underflow exception for arguments with
18784         small absolute value.
18785         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18786         (__kernel_sinf): Force underflow exception for arguments with
18787         small absolute value.
18788         * math/auto-libm-test-in: Add more tests of sin and sincos.
18789         * math/auto-libm-test-out: Regenerated.
18791         [BZ #18245]
18792         [BZ #18583]
18793         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18794         (__kernel_standard_l): Use feholdexcept and fesetenv around
18795         conversion to double instead of special-casing overflow and
18796         underflow.
18797         * math/libm-test.inc (fmod_test_data): Add more tests.
18798         (remainder_test_data): Likewise.
18799         (sqrt_test_data): Likewise.
18801 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18803         [BZ #17403]
18804         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18805         atomic_read_barrier, atomic_write_barrier): Define.
18806         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18807         atomic_read_barrier, atomic_write_barrier): Define.
18809 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18811         * math/Makefile [$(PERL) != no]
18812         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18813         dependency on libm-test.stmp below the inclusion of Rules.
18815 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18817         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18818         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18819         and included header.
18820         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18821         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18823         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18824         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18827         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18828         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18829         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18830         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18831         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18832         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18833         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18834         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18835         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18836         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18837         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18838         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18840 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18842         [BZ #18371]
18843         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18844         intermediate but not final result might underflow.
18845         * math/s_csqrtf.c (__csqrtf): Likewise.
18846         * math/s_csqrtl.c (__csqrtl): Likewise.
18847         * math/auto-libm-test-in: Add more tests of csqrt.
18848         * math/auto-libm-test-out: Regenerated.
18849         * sysdeps/i386/fpu/libm-test-ulps: Update.
18851         [BZ #18219]
18852         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18853         threshold on absolute value of exponent for which scaling is used.
18854         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18855         * math/auto-libm-test-in: Add more tests of exp2.
18856         * math/auto-libm-test-out: Regenerated.
18858 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18860         [BZ #17977]
18861         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18862         when initializing interface list, based on the bug analysis
18863         and the patch proposed by Eric Newton.
18864         * resolv/tst-res_hconf_reorder.c: New test.
18865         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18866         tst-res_hconf_reorder.
18867         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18868         and $(shared-thread-library).
18869         (tst-res_hconf_reorder-ENV): New variable.
18871         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18872         in comment.
18874 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18876         [BZ #16353]
18877         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18878         (__expm1): Force underflow exception for arguments with small
18879         absolute value.
18880         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18881         (__expm1f): Force underflow exception for arguments with small
18882         absolute value.
18883         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18884         (__expm1): Force underflow exception for arguments with small
18885         absolute value.
18886         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18887         (__expm1f): Force underflow exception for arguments with small
18888         absolute value.
18889         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18890         Check for small arguments before calling __expm1.
18891         * math/auto-libm-test-in: Do not mark underflow exceptions as
18892         possibly missing for bug 16353.
18893         * math/auto-libm-test-out: Regenerated.
18895 2015-06-22  Andreas Schwab  <schwab@suse.de>
18897         [BZ #18513]
18898         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18899         PTR queries.
18901 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18903         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18905         * string/strcoll_l.c: Remove unused struct element idxnow.
18907 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18909         [BZ #18569]
18910         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18911         underflow and return argument in case of subnormal argument.
18912         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18913         Likewise.
18914         * math/auto-libm-test-in: Add more tests of expm1.
18915         * math/auto-libm-test-out: Regenerated.
18917         [BZ #16361]
18918         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18919         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18920         tiny results.
18921         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18922         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18923         tiny results.
18924         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18925         mark underflow exceptions as possibly missing for bug 16361.
18926         * math/auto-libm-test-out: Regenerated.
18928 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18930         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18931         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18932         Remove variable.
18933         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18934         (test-xfail-XOPEN2K8/utmpx.h/conform).
18936         * conform/conformtest.pl ($xerrors): New variable.
18937         (note_error): New function.
18938         (compiletest): New argument $xfail.  Use not_error.
18939         (runtest): Likewise.
18940         (top level): Handle xfail- lines.  Update calls to compiletest and
18941         runtest.  Handle xfail- and optional- in headers listed with
18942         allow-header.
18943         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18944         (O_EXEC): Likewise.
18945         (O_SEARCH): Likewise.
18946         * conform/data/stropts.h-data (ioctl): Likewise.
18947         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18948         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18949         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18950         (msghdr.msg_controllen): Likewise.
18951         (cmsghdr.cmsg_len): Likewise.
18952         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18953         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18954         variable.
18955         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18956         (test-xfail-XPG4/stropts.h/conform): Likewise.
18957         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18958         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18959         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18960         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18961         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18962         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18963         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18964         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18965         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18966         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18967         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18968         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18969         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18970         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18971         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18972         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18973         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18974         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18975         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18977 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18979         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18980         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18981         definitions for proper unfolding of __MATHDECL_VEC.
18983 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18985         * benchtests/bench-strcoll.c:
18986         Include string.h.
18987         (main): Remove unused variable res.
18989 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18991         * timezone/Makefile (%/UTC %/Universal):
18992         Generate test-result files for UTC and Universal.
18994 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18996         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18998 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19000         [BZ #16350]
19001         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19002         for arguments with small absolute value.
19003         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19004         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19005         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19006         (__asinh): Force underflow exception for arguments with small
19007         absolute value.
19008         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19009         (__asinhf): Force underflow exception for arguments with small
19010         absolute value.
19011         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19012         (__asinhl): Force underflow exception for arguments with small
19013         absolute value.
19014         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19015         (__asinhl): Force underflow exception for arguments with small
19016         absolute value.
19017         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19018         (__asinhl): Force underflow exception for arguments with small
19019         absolute value.
19020         * math/auto-libm-test-in: Do not mark underflow exceptions as
19021         possibly missing for bug 16350.
19022         * math/auto-libm-test-out: Regenerated.
19024         * include/bits/ipc.h: Remove file.
19025         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19026         variable.
19027         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19028         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19029         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19030         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19031         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19032         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19033         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19034         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19035         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19037         * math/auto-libm-test-in: Remove spurious underflow allowance for
19038         tests of cexp.
19039         * math/auto-libm-test-out: Regenerated.
19041         [BZ #18558]
19042         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19043         unconditional definition.
19044         (MCAST_BLOCK_SOURCE): Likewise.
19045         (MCAST_UNBLOCK_SOURCE): Likewise.
19046         (MCAST_LEAVE_GROUP): Likewise.
19047         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19048         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19049         (MCAST_MSFILTER): Likewise.
19050         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19051         Remove variable.
19052         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19053         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19054         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19055         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19056         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19058 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19060         * NEWS: Mention addition of x86_64 vector sincosf.
19061         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19062         * math/test-float-vlen4.h: Likewise.
19063         * math/test-float-vlen8.h: Likewise.
19064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19065         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19067         * sysdeps/x86_64/fpu/Versions: New versions added.
19068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19070         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19074         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19075         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19076         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19077         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19078         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19079         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19080         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19081         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19082         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19083         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19084         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19085         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19086         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19087         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19089         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19090         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19091         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19093         * NEWS: Mention addition of x86_64 vector sincos.
19094         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19095         * math/math.h (__MATHDECL_VEC): New macro.
19096         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19097         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19098         declaration under condition.
19099         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19100         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19101         TEST_VEC_LOOP change.
19102         * math/test-double-vlen4.h: Likewise.
19103         * math/test-double-vlen8.h: Likewise.
19104         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19105         * math/test-float-vlen4.h: Likewise.
19106         * math/test-float-vlen8.h: Likewise.
19107         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19108         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19110         * sysdeps/x86_64/fpu/Versions: New versions added.
19111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19112         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19113         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19117         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19118         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19119         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19120         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19121         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19122         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19123         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19124         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19125         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19126         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19127         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19128         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19130         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19131         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19132         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19133         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19134         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19136         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19137         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19138         redirections for powf.
19139         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19140         * sysdeps/x86_64/fpu/Versions: New versions added.
19141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19142         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19143         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19144         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19145         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19148         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19150         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19151         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19152         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19153         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19154         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19155         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19156         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19157         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19158         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19159         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19160         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19162         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19163         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19164         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19165         * math/test-float-vlen16.h: Fixed 2 argument macro.
19166         * math/test-float-vlen4.h: Likewise.
19167         * math/test-float-vlen8.h: Likewise.
19168         * NEWS: Mention addition of x86_64 vector powf.
19170 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19172         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19173         and redefine.
19174         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19175         and redefine.
19176         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19177         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19178         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19180         [BZ #18553]
19181         * resource/getpriority.c (getpriority): Rename to __getpriority
19182         and define as weak alias of __getpriority.
19183         * resource/setpriority.c (setpriority): Rename to __setpriority
19184         and define as weak alias of __setpriority.
19185         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19186         __getpriority and define as weak alias of __getpriority.
19187         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19188         __setpriority and define as weak alias of __setpriority.
19189         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19190         strong name.
19191         (setpriority): Use __setpriority as strong name.
19192         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19193         __getpriority and define as weak alias of __getpriority.
19194         * include/sys/resource.h (__getpriority): Declare.  Use
19195         libc_hidden_proto.
19196         (__setpriority): Likewise.
19197         (getpriority): Don't use libc_hidden_proto.
19198         (setpriority): Likewise.
19199         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19200         getpriority.  Call __setpriority instead of setpriority.
19201         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19202         Remove variable.
19204         [BZ #18547]
19205         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19206         as weak alias of __getttynam.  Use prototype function definition.
19207         Call __setttyent, __getttyent and __endttyent instead of
19208         setttyent, getttyent and endttyent.
19209         (getttyent): Rename to __getttyent and define as weak alias of
19210         __getttyent.  Call __setttyent instead of setttyent.  Call
19211         __fgets_unlocked instead of fgets_unlocked.
19212         (setttyent): Rename to __setttyent and define as weak alias of
19213         __setttyent.
19214         (endttyent): Rename to __endttyent and define as weak alias of
19215         __endttyent.
19216         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19217         (__setttyent): Likewise.
19218         (__endttyent): Likewise.
19219         (getttyent): Don't use libc_hidden_proto.
19220         (setttyent): Likewise.
19221         (endttyent): Likewise.
19222         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19223         __endttyent instead of setttyent, getttyent and endttyent.
19224         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19225         Remove variable.
19227         [BZ #18546]
19228         * socket/recv.c (__recv): Use libc_hidden_def.
19229         * socket/socket.c (__socket): Likewise.
19230         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19231         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19232         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19233         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19234         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19235         libc_hidden_def.
19236         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19237         libc_hidden_weak.
19238         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19239         Use libc_hidden_proto.
19240         (__recv): Likewise.
19241         * socket/Versions (libc): Export __recv and __socket at version
19242         GLIBC_PRIVATE.
19243         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19244         instead of recv.
19245         (init_mq_netlink): Call __socket instead of socket.
19246         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19247         Remove variable.
19249         [BZ #18545]
19250         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19251         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19252         hidden_weak.
19253         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19254         define as alias of __mq_timedsend.  Use hidden_weak.
19255         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19256         __mq_timedsend as strong name.
19257         (mq_timedreceive): Use __mq_timedreceive as strong name.
19258         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19259         (__mq_timedreceive): Likewise.
19260         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19261         __mq_timedreceive instead of mq_timedreceive.
19262         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19263         instead of mq_timedsend.
19264         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19265         Remove variable.
19267         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19268         hidden_def and hidden_weak instead of libc_hidden_def and
19269         libc_hidden_weak.
19270         (top level): Refer to hidden_def in comment.
19271         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19272         macro.  Use it instead of libc_hidden_def.
19273         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19274         specify __GI_* name explicitly.
19275         (mq_timedreceive): Likewise.
19276         (mq_setattr): Likewise.
19278         [BZ #18544]
19279         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19280         __pthread_barrier_init and define as weak alias of
19281         __pthread_barrier_init.
19282         * sysdeps/sparc/nptl/pthread_barrier_init.c
19283         (pthread_barrier_init): Likewise.
19284         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19285         __pthread_barrier_wait and define as weak alias of
19286         __pthread_barrier_wait.
19287         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19288         (pthread_barrier_wait): Likewise.
19289         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19290         (pthread_barrier_wait): Likewise.
19291         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19292         (pthread_barrier_wait): Likewise.
19293         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19294         (pthread_barrier_wait): Likewise.
19295         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19296         __pthread_barrier_wait at version GLIBC_PRIVATE.
19297         * include/pthread.h (__pthread_barrier_init): Declare.
19298         (__pthread_barrier_wait): Likewise.
19299         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19300         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19301         (helper_thread): Likewise.
19302         (init_mq_netlink): Call __pthread_barrier_init instead of
19303         pthread_barrier_init.
19305         [BZ #18542]
19306         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19307         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19308         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19309         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19310         vswscanf.
19311         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19312         Remove variable.
19314         [BZ #18540]
19315         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19316         strong alias of _IO_fflush.  Use libc_hidden_def.
19317         * libio/iofflush_u.c (fflush_unlocked): Rename to
19318         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19319         Use libc_hidden_weak.
19320         * include/stdio.h (__fflush_unlocked): Declare.  Use
19321         libc_hidden_proto.
19322         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19323         fflush_unlocked.
19324         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19325         Remove variable.
19327         [BZ #18539]
19328         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19329         define as weak alias of __addseverity.
19330         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19331         Remove variable.
19332         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19333         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19334         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19336         [BZ #18536]
19337         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19338         (__tfind): Likewise.
19339         (__tdelete): Likewise.
19340         (__twalk): Likewise.
19341         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19342         __twalk to GLIBC_PRIVATE.
19343         * include/search.h (__tsearch): Use libc_hidden_proto.
19344         (__tfind): Likewise.
19345         (__tdelete): Likewise.
19346         (__twalk): Likewise.
19347         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19348         Call __tdelete instead of tdelete.
19349         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19350         tfind.  Call __tsearch instead of tsearch.
19351         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19352         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19353         Remove variable.
19354         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19356         [BZ #18534]
19357         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19358         (dprintf): Define as a weak alias of __dprintf, not a strong
19359         alias.
19360         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19361         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19362         dprintf.
19363         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19364         Remove variable.
19365         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19366         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19368         [BZ #18533]
19369         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19370         not a strong alias.
19371         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19372         Remove variable.
19374         [BZ #18532]
19375         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19376         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19377         (in6addr_loopback): Rename to __in6addr_loopback and define as
19378         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19379         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19380         libc_hidden_proto.
19381         (__in6addr_any): Likewise.
19382         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19383         in6addr_any.
19384         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19385         variable.
19386         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19388 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19390         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19391         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19392         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19393         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19394         redirections for pow.
19395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19396         * sysdeps/x86_64/fpu/Versions: New versions added.
19397         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19398         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19399         build of SSE, AVX2 and AVX512 IFUNC versions.
19400         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19403         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19404         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19405         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19406         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19407         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19408         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19409         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19410         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19411         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19412         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19413         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19414         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19416         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19417         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19418         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19419         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19420         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19421         * NEWS: Mention addition of x86_64 vector pow.
19423         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19424         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19425         redirections for expf.
19426         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19427         * sysdeps/x86_64/fpu/Versions: New versions added.
19428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19429         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19430         build of SSE, AVX2 and AVX512 IFUNC versions.
19431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19432         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19435         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19436         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19437         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19438         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19439         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19440         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19441         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19442         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19443         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19444         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19445         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19446         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19448         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19449         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19450         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19451         * NEWS: Mention addition of x86_64 vector expf.
19453         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19454         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19455         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19456         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19457         redirections for exp.
19458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19459         * sysdeps/x86_64/fpu/Versions: New versions added.
19460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19461         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19462         build of SSE, AVX2 and AVX512 IFUNC versions.
19463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19464         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19466         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19467         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19468         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19469         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19470         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19471         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19472         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19473         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19474         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19475         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19476         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19477         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19478         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19479         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19480         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19481         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19482         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19483         * NEWS: Mention addition of x86_64 vector exp.
19485         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19486         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19487         redirections for logf.
19488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19489         * sysdeps/x86_64/fpu/Versions: New versions added.
19490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19492         build of SSE, AVX2 and AVX512 IFUNC versions.
19493         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19494         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19495         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19497         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19498         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19499         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19500         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19501         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19502         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19503         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19504         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19505         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19506         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19507         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19508         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19510         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19511         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19512         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19513         * NEWS: Mention addition of x86_64 vector logf.
19515         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19516         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19517         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19518         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19519         redirections for log.
19520         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19521         * sysdeps/x86_64/fpu/Versions: New versions added.
19522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19523         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19524         build of SSE, AVX2 and AVX512 IFUNC versions.
19525         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19526         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19527         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19528         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19529         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19530         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19531         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19532         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19533         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19534         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19535         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19536         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19537         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19538         test.
19539         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19542         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19543         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19544         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19545         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19546         * NEWS: Mention addition of x86_64 vector log.
19548 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19550         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19551         cfi_adjust_cfa_offset argument.
19552         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19553         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19555         [BZ #18034]
19556         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19557         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19558         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19559         ordering using ldar.
19560         (_dl_tlsdesc_dynamic): Likewise.
19561         (_dl_tlsdesc_return_lazy): Likewise.
19562         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19563         relaxed atomics instead of volatile and synchronize with release store.
19564         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19565         volatile.
19566         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19568 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19571         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19572         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19573         * sysdeps/x86_64/fpu/Versions: New versions added.
19574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19575         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19576         build of SSE, AVX2 and AVX512 IFUNC versions.
19577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19580         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19581         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19582         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19583         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19584         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19585         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19586         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19587         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19588         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19589         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19590         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19591         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19592         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19593         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19594         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19595         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19596         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19597         * NEWS: Mention addition of x86_64 vector sinf.
19599 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19601         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19602         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19603         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19604         Remove variable.
19605         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19606         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19608 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19610         [BZ #18530]
19611         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19612         strong alias of _IO_fputs.  Use libc_hidden_def.
19613         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19614         and define as weak alias of __fputs_unlocked.  Use
19615         libc_hidden_weak.
19616         * include/stdio.h (__fputs_unlocked): Declare.  Use
19617         libc_hidden_proto.
19618         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19619         fputs_unlocked.
19621         [BZ #18529]
19622         * resolv/netdb.h [__USE_POSIX]: Change condition to
19623         [__USE_XOPEN2K].
19624         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19625         not expect.
19626         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19627         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19628         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19629         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19630         [XPG4 || UNIX98] (AI_ALL): Likewise.
19631         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19632         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19633         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19634         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19635         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19636         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19637         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19638         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19639         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19640         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19641         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19642         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19643         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19644         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19645         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19646         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19647         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19648         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19649         [XPG4 || UNIX98] (gai_strerror): Likewise.
19650         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19651         [XPG4 || UNIX98] (getnameinfo): Likewise.
19653         [BZ #18528]
19654         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19655         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19656         __USE_XOPEN2K8].
19657         (getgrent): Likewise.
19658         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19659         expect.
19660         [XPG3 || POSIX2008] (endgrent): Likewise.
19661         [XPG3] (setgrent): Likewise.
19662         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19663         variable.
19664         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19666         [BZ #18527]
19667         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19668         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19669         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19670         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19671         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19672         * include/unistd.h (__getlogin_r): Declare.  Use
19673         libc_hidden_proto.
19674         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19675         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19676         variable.
19677         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19678         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19679         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19681 2015-06-12  Martin Sebor  <msebor@redhat.com>
19683         [BZ #18512]
19684         * Makerules (check-install-supported): New target.
19685         (install): Add check-install-supported as a dependency.
19686         * manual/install.texi (Installing the C Library): Document
19687         that overriding prefix and exec_prefix is not supported.
19688         Mention DESTDIR.
19689         * INSTALL: Regenerate from the above.
19691 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19693         [BZ #18519]
19694         * posix/Versions (libc): Export __libc_pread at version
19695         GLIBC_PRIVATE.
19696         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19697         instead of pread.
19698         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19699         variable.
19701         [BZ #18522]
19702         * misc/efgcvt_r.c
19703         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19704         (cvt_symbol): Use weak_alias instead of strong_alias.
19705         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19706         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19707         Remove variable.
19708         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19709         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19711         [BZ #18520]
19712         * inet/herrno.c (h_errno): Rename to __h_errno.
19713         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19714         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19715         to __h_errno instead of h_errno.
19716         * nptl/herrno.c (h_errno): Rename to __h_errno.
19717         (__h_errno_location): Refer to __h_errno not h_errno.
19718         * resolv/Versions (h_errno): Rename to __h_errno.
19719         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19720         Remove variable.
19721         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19723 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19725         * configure.ac: More strict check for AVX512 assembler support.
19726         * configure: Regenerated.
19728         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19729         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19730         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19731         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19733         * sysdeps/x86_64/fpu/Versions: New versions added.
19734         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19735         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19736         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19737         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19738         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19739         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19740         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19741         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19742         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19743         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19744         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19745         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19746         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19747         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19748         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19749         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19750         test.
19751         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19753         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19754         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19755         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19756         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19757         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19758         * NEWS: Mention addition of x86_64 vector sin.
19760 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19762         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19763         comment.
19765 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19767         [BZ #18479]
19768         * nptl/pt-interp.c: New file.
19769         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19770         Add pt-interp.
19771         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19772         $(common-objpfx)runtime-linker.h.
19774 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19776         * Makeconfig (+interp): Remove unused variable.
19777         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19778         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19779         $(elf-objpfx)runtime-linker.h.
19780         ($(elf-objpfx)runtime-linker.h): Rename to
19781         $(common-objpfx)runtime-linker.h and move ...
19782         * Makerules [$(build-shared) = yes]: ... here.
19783         * elf/interp.c: Include <runtime-linker.h> instead of
19784         <elf/runtime-linker.h>.
19786 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19788         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19789         (__gettimeofday_syscall): Remove vsyscall fallback.
19790         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19791         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19792         Add syscall fallback function.
19793         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19794         if vDSO is not present.
19795         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19796         fallback function.
19797         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19798         present.
19799         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19800         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19802 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19804         [BZ #18497]
19805         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19806         of wcscmp.
19807         (wcscmp): Define as weak alias of WCSCMP.
19808         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19809         wcscoll.
19810         (USE_HIDDEN_DEF): Define.
19811         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19812         __wcscoll.  Don't use libc_hidden_weak.
19813         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19814         wcscmp.
19815         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19816         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19817         __GI_wcscmp.
19818         (weak_alias): Undefine and redefine.
19819         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19820         __wcscmp and define as weak alias of __wcscmp.
19821         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19822         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19823         (__wcscoll): Likewise.
19824         (wcscmp): Don't use libc_hidden_proto.
19825         (wcscoll): Likewise.
19826         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19827         wcscoll.
19828         * posix/regexec.c (check_node_accept_bytes): Likewise.
19829         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19830         variable.
19831         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19832         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19834         [BZ #18507]
19835         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19836         __fstatvfs and define as weak alias of __fstatvfs.  Use
19837         libc_hidden_weak.
19838         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19839         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19840         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19841         Define as alias of __fstatvfs, not fstatvfs.
19842         (fstatvfs64): Likewise.
19843         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19844         Define as alias of __statvfs, not statvfs.
19845         (statvfs64): Likewise.
19846         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19847         Remove variable.
19849 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19852         (HAVE_GETCPU_VSYSCALL): Define.
19853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19854         (HAVE_GETCPU_VSYSCALL): Likewise.
19855         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19856         * sysdeps/unix/sysv/linux/sched_getcpu.c
19857         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19858         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19859         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19860         prototype.
19861         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19862         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19863         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19865         Define.
19866         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19867         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19868         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19869         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19871 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19873         * sysdeps/x86_64/fpu/Makefile: New file.
19874         * sysdeps/x86_64/fpu/Versions: New file.
19875         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19876         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19877         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19878         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19879         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19880         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19881         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19884         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19885         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19886         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19887         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19888         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19889         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19890         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19891         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19892         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19893         * sysdeps/x86_64/configure: Regenerated.
19894         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19896         * manual/install.texi (Configuring and compiling): Document
19897         --disable-mathvec.
19898         * INSTALL: Regenerated.
19899         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19901         * math/Makefile: Added rules for vector tests.
19902         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19903         declaration under condition.
19904         * math/test-double-vlen2.h: New file.
19905         * math/test-double-vlen4.h: New file.
19906         * math/test-double-vlen8.h: New file.
19907         * math/test-vec-loop.h: Added initialization macro.
19908         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19910         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19911         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19912         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19913         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19914         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19915         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19916         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19917         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19918         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19920         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19921         * sysdeps/x86_64/fpu/Versions: New versions added.
19922         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19925         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19926         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19929         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19931         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19932         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19933         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19934         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19935         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19936         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19937         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19938         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19939         * NEWS: Mention addition of x86_64 vector cosf.
19941         * math/Makefile: Added CFLAGS for new tests.
19942         * math/test-float-vlen16.h: New file.
19943         * math/test-float-vlen4.h: New file.
19944         * math/test-float-vlen8.h: New file.
19945         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19946         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19947         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19948         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19949         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19950         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19951         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19952         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19953         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19954         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19955         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19957 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19959         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19960         * locale/programs/ld-ctype.c: Likewise.
19962 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19964         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19965         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19966         bit_ZMM16_31_state): New macro.
19967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19968         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19970 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19972         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19974 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19976         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19978 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19980         [BZ #18498]
19981         * libio/memstream.c (open_memstream): Rename to __open_memstream
19982         and define as weak alias of __open_memstream.
19983         * include/stdio.h (__open_memstream): Declare.  Use
19984         libc_hidden_proto.
19985         (open_memstream): Don't use libc_hidden_proto.
19986         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19987         open_memstream.
19988         * posix/getopt.c (_getopt_internal_r): Likewise.
19989         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19990         variable.
19991         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19992         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19993         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19995         [BZ #18496]
19996         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19997         instead of wcrtomb.
19999         [BZ #18483]
20000         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20001         [__USE_XOPEN2K8].  Remove redundant #endif.
20002         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20003         Remove redundant #if.
20004         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20005         Remove variable.
20006         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20007         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20009         [BZ #18495]
20010         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20011         (__iswlower): Likewise.
20012         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20013         (__iswlower): Likewise.
20014         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20015         instead of towlower.
20016         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20017         instead of iswlower.  Call __towupper instead of towupper.
20018         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20019         instead of iswalnum.
20021 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20023         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20024         errors to stderr.
20026 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20028         [BZ #15661]
20029         [BZ #17322]
20030         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20031         Check for overflow properly.  Check for O_APPEND.  Ignore large
20032         file system block sizes.  Add comments about problems.
20033         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20034         * manual/filesys.texi (Storage Allocation): New node.
20036 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20038         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20039         cancellable syscalls.
20040         (SYS_ify): Add guard to no redefine it.
20041         (INLINE_SYSCALL): Likewise.
20042         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20043         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20044         SYSCALL_CANCEL instead.
20045         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20046         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20047         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20048         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20049         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20050         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20051         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20052         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20053         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20054         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20055         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20056         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20057         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20058         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20059         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20061         Likewise.
20062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20063         (__libc_pread64): Likewise.
20064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20065         (__libc_preadv): Likewise.
20066         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20067         (__libc_readv64): Likewise.
20068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20069         (__libc_pwrite): Likewise.
20070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20071         (__libc_pwrite64): Likewise.
20072         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20073         (__libc_pwritev): Likewise.
20074         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20075         (__libc_pwritev64): Likewise.
20076         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20077         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20078         (sync_file_range): Likewise.
20079         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20080         Likewise.
20081         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20082         Likewise.
20083         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20084         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20085         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20086         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20087         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20088         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20089         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20090         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20092         Likewise.
20093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20094         (__libc_read64): Likewise.
20095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20096         Likewise.
20097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20098         Likewise.
20099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20100         Likewise.
20101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20102         Likewise.
20103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20104         (__libc_pread64): Likewise.
20105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20106         Likewise.
20107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20108         (__libc_pwrite64): Likewise.
20109         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20110         (sync_file_range): Likewise.
20111         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20112         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20113         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20114         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20115         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20116         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20117         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20118         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20119         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20120         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20121         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20122         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20123         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20124         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20125         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20126         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20127         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20128         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20129         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20130         Likewise.
20131         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20132         Likewise.
20133         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20134         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20135         Likewise.
20136         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20137         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20138         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20139         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20140         Likewise.
20141         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20142         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20143         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20144         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20145         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20147 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20149         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20150         Include dl-vdso.
20151         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20152         Use VDSO routines for gettimeofday, clock_gettime if
20153         available.
20154         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20155         Declare VDSO symbols.
20156         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20157         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20158         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20159         * sysdeps/unix/sysv/linux/arm/Versions: Add
20160         __vdso_clock_gettime.
20162 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20164         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20165         be an inline implementation regardless of library is built within.
20166         (open_not_cancel_2): Likewise.
20167         (__read_nocancel): Likewise.
20168         (__write_nocancel): Likewise.
20169         (openat_not_cancel): Likewise.
20170         (openat_not_cancel_3): Likewise.
20171         (openat64_not_cancel): Likewise.
20172         (openat64_not_cancel_3): Likewise.
20173         (__close_nocancel): Likewise.
20174         (pause_not_cancel): Likewise.
20175         (nanosleep_not_cancel): Likewise.
20176         (sigsuspend_not_cancel): Likewise.
20178 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20180         [BZ #14958]
20181         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20182         wake-up.
20183         (__pthread_rwlock_rdlock_slow): Likewise.
20184         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20185         Likewise.
20186         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20187         Likewise.
20188         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20189         * nptl/tst-rwlock16.c: New file.
20190         * nptl/Makefile (tests): Add new test.
20192 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20194         [BZ #18324]
20195         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20196         missing wake-up of readers.
20197         * nptl/tst-rwlock15.c: New file.
20198         * nptl/Makefile (tests): Add new test.
20200 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20202         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20203         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20204         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20205         and __nacl_supply_interface_rtld.
20206         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20207         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20208         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20209         Add __nacl_supply_interface_rtld.
20210         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20212 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20214         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20215         isfinite.
20216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20217         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20219 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20221         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20222         __signbit* with standard C99 macros.
20223         * math/e_exp10l.c: Likewise.
20224         * math/e_exp2l.c: Likewise.
20225         * math/e_scalb.c: Likewise.
20226         * math/e_scalbf.c: Likewise.
20227         * math/e_scalbl.c: Likewise.
20228         * math/s_ldexp.c: Likewise.
20229         * math/s_ldexpf.c: Likewise.
20230         * math/s_ldexpl.c: Likewise.
20231         * math/w_atan2.c: Likewise.
20232         * math/w_atan2f.c: Likewise.
20233         * math/w_atan2l.c: Likewise.
20234         * math/w_cosh.c: Likewise.
20235         * math/w_coshf.c: Likewise.
20236         * math/w_coshl.c: Likewise.
20237         * math/w_exp10.c: Likewise.
20238         * math/w_exp10f.c: Likewise.
20239         * math/w_exp10l.c: Likewise.
20240         * math/w_exp2.c: Likewise.
20241         * math/w_exp2f.c: Likewise.
20242         * math/w_exp2l.c: Likewise.
20243         * math/w_fmod.c: Likewise.
20244         * math/w_fmodf.c: Likewise.
20245         * math/w_fmodl.c: Likewise.
20246         * math/w_hypot.c: Likewise.
20247         * math/w_hypotf.c: Likewise.
20248         * math/w_hypotl.c: Likewise.
20249         * math/w_jnl.c: Likewise.
20250         * math/w_lgamma.c: Likewise.
20251         * math/w_lgamma_r.c: Likewise.
20252         * math/w_lgammaf.c: Likewise.
20253         * math/w_lgammaf_r.c: Likewise.
20254         * math/w_lgammal.c: Likewise.
20255         * math/w_lgammal_r.c: Likewise.
20256         * math/w_pow.c: Likewise.
20257         * math/w_powf.c: Likewise.
20258         * math/w_powl.c: Likewise.
20259         * math/w_remainder.c: Likewise.
20260         * math/w_remainderf.c: Likewise.
20261         * math/w_remainderl.c: Likewise.
20262         * math/w_scalb.c: Likewise.
20263         * math/w_scalbf.c: Likewise.
20264         * math/w_scalbl.c: Likewise.
20265         * math/w_scalbln.c: Likewise.
20266         * math/w_scalblnf.c: Likewise.
20267         * math/w_scalblnl.c: Likewise.
20268         * math/w_sinh.c: Likewise.
20269         * math/w_sinhf.c: Likewise.
20270         * math/w_sinhl.c: Likewise.
20271         * math/w_tgamma.c: Likewise.
20272         * math/w_tgammaf.c: Likewise.
20273         * math/w_tgammal.c: Likewise.
20274         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20275         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20276         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20277         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20278         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20280         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20281         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20282         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20283         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20284         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20285         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20286         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20287         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20288         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20289         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20290         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20291         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20292         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20294         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20295         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20297         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20298         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20299         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20300         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20301         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20302         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20303         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20304         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20305         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20306         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20307         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20308         * stdio-common/printf_fp.c: Likewise.
20309         * stdio-common/printf_fphex.c: Likewise.
20310         * stdio-common/printf_size.c: Likewise.
20312 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20314         [BZ #18470]
20315         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20316         strnlen.
20317         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20318         Remove variable.
20319         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20320         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20321         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20322         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20323         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20324         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20325         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20326         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20327         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20328         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20330         [BZ #18468]
20331         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20332         weak alias of __wmemchr.  Use libc_hidden_weak.
20333         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20334         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20335         instead of wmemchr.
20337 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20339         [BZ #18383]
20340         * elf/tst-tlsalign-extern.c: New file.
20341         * elf/tst-tlsalign-extern-static.c: New file.
20342         * elf/tst-tlsalign-vars.c: New file.
20343         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20344         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20345         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20346         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20347         (test-xfail-tst-tlsalign-extern-static): New variable.
20349 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20351         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20352         Use variable name _sc_err instead of err.
20353         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20354         instead of ret.
20355         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20356         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20357         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20358         (INLINE_SYSCALL): Likewise.
20360         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20361         * include/string.h (__strnlen): Use libc_hidden_proto.
20362         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20363         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20364         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20365         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20366         (libc_hidden_def): Undefine and redefine.
20367         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20368         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20369         __GI_strnlen.
20370         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20371         libc_hidden_def.
20372         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20374         [BZ #18469]
20375         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20376         weak alias of __towlower.  Use libc_hidden_weak.
20377         (towupper): Rename to __towupper and define as weak alias of
20378         __towupper.  Use libc_hidden_weak.
20379         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20380         (__towupper): Likewise.
20381         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20382         __towlower instead of towlower.
20384 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20386         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20387         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20389 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20391         * sysdeps/aarch64/libm-test-ulps: Update.
20393 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20395         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20396         Define.
20397         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20399         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20400         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20401         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20402         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20403         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20405 2015-06-01  Martin Sebor  <msebor@redhat.com>
20407         [BZ #18116]
20408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20409         (__setcontext): Use extended four-operand version of mtsf whenever
20410         possible.
20411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20412         (__novec_swapcontext): Likewise.
20414 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20416         * benchtests/scripts/compare_bench.py: New file.
20417         * benchtests/scripts/import_bench.py (mean): New function.
20418         (split_list): Likewise.
20419         (do_for_all_timings): Likewise.
20420         (compress_timings): Likewise.
20422         * benchtests/scripts/import_bench.py: New file.
20423         * benchtests/scripts/validate_benchout.py: Import import_bench
20424         instead of jsonschema.
20425         (validate_bench): Remove function.
20426         (main): Use import_bench.
20428 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20430         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20431         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20433 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20437 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20439         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20440         set THREAD_SELF->tid to a magic value and futex-wake it.
20441         Pass its address to the thread_exit system call.
20442         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20443         bit is clear.
20444         * sysdeps/nacl/lowlevellock.h: New file.
20445         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20447         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20448         Add TIMEOUT to current time, don't subtract it.
20450 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20452         [BZ #2981]
20453         [BZ #18422]
20454         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20455         ($(objpfx)tst-audit2.out): Also depend on
20456         $(objpfx)tst-auditmod9b.so.
20457         * elf/tst-audit2.c: Include <dlfcn.h>.
20458         (calloc_called): New.
20459         (calloc): Allow to be called more than once.
20460         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20462 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20464         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20465         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20467 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20469         * stdlib/monetary.h: Fix comment.
20471 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20473         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20474         Avoid using variables in #defines that might cause shadowing.
20475         (INTERNAL_VSYSCALL_CALL): Likewise.
20477 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20479         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20481         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20482         * nptl/lll_timedlock_wait.c: ... to this new file.
20483         * nptl/Makefile (libpthread-routines): Add it.
20484         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20485         * nptl/lll_timedwait_tid.c: ... to this new file.
20486         * nptl/Makefile (libpthread-routines): Add it.
20487         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20488         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20489         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20490         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20491         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20492         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20493         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20494         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20495         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20496         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20498 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20500         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20501         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20502         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20504         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20505         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20506         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20507         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20508         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20509         * sysdeps/unix/sysv/linux/tile/sysdep.h
20510         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20511         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20512         using vDSO syscall macro.
20514 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20516         [BZ #17293]
20517         * uk_UA: Fix sorting order for Ukrainian locale
20519 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20521         * stdlib/monetary.h: Fix comment.
20523 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20525         [BZ #18234]
20526         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20527         st_mtim and st_ctim members.
20528         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20529         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20530         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20531         (struct stat64): Likewise.
20532         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20533         (struct stat64): Likewise.
20534         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20535         (struct stat64): Likewise.
20537 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20539         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20540         Define and include sysdep-vdso.h.
20541         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20542         Likewise.
20543         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20544         Likewise.
20545         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20546         Define with VDSO_SYMBOL and use PTR_MANGLE.
20547         (__vdso_clock_gettime): Likewise.
20548         (__vdso_clock_getres): Likewise.
20549         (_libc_vdso_platform_setup): Likewise.
20550         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20551         Likewise.
20552         (_libc_vdso_platform_setup): Likewise.
20553         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20554         Likewise.
20555         (__vdso_clock_gettime): Likewise.
20556         (__vdso_clock_getres): Likewise.
20557         (__vdso_get_tbfreq): Likewise.
20558         (__vdso_getcpu): Likewise.
20559         (__vdso_time): Likewise.
20560         (__vdso_sigtramp_rt64): Likewise.
20561         (__vdso_signtramp32): Likewise.
20562         (__vdso_sigtramp_rt32): Likewise.
20563         (_libc_vdso_platform_setup): Likewise.
20564         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20565         Likewise.
20566         (__vdso_clock_gettime): Likewise.
20567         (__vdso_clock_getres): Likewise.
20568         (_libc_vdso_platform_setup): Likewise.
20569         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20570         Likewise.
20571         (__vdso_clock_gettime): Likewise.
20572         (_libc_vdso_platform_setup): Likewise.
20573         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20574         Likewise.
20575         (__vdso_getcpu): Likewise.
20576         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20577         Use VDSO_SYMBOL macro to define.
20578         (__vdso_clock_gettime): Likewise.
20579         (__vdso_clock_getres): Likewise.
20580         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20581         Likewise.
20582         (__vdso_clock_gettime): Likewise.
20583         (__vdso_clock_getres): Likewise.
20584         (__vdso_get_tbfreq): Likewise.
20585         (__vdso_getcpu): Likewise.
20586         (__vdso_time): Likewise.
20587         (__vdso_sigtramp_rt64): Likewise.
20588         (__vdso_signtramp32): Likewise.
20589         (__vdso_sigtramp_rt32): Likewise.
20590         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20591         Likewise.
20592         (__vdso_clock_gettime): Likewise.
20593         (__vdso_clock_getres): Likewise.
20594         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20595         Likewise.
20596         (__vdso_clock_gettime): Likewise.
20597         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20598         Likewise.
20599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20600         macro.
20601         (INTERNAL_VSYSCALL): Likewise.
20602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20603         Remove macro.
20604         (INTERNAL_VSYSCALL): Likewise.
20605         (INTERNAL_VSYSCALL_NCS): Likewise.
20606         (INTERNAL_VSYSCALL_CALL): New macro.
20607         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20608         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20609         Likewise.
20610         (INTERNAL_VSYSCALL): Likewise.
20611         (INTERNAL_VSYSCALL_NCS): Likewise.
20612         (INTERNAL_VSYSCALL_CALL): New macro.
20613         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20615         (INLINE_VSYSCALL): Remove macro.
20616         (INTERNAL_VSYSCALL): Remove macro.
20617         (INTERNAL_VSYSCALL_NCS): Remove macro.
20618         (INTERNAL_VSYSCALL_CALL): New macro.
20619         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20620         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20621         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20622         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20623         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20625         (INLINE_VSYSCALL): Remove macro.
20626         (INTERNAL_VSYSCALL): Likewise.
20627         (INTERNAL_VSYSCALL_NCS): Likewise.
20628         (INTERNAL_VSYSCALL_CALL): New macro.
20629         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20630         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20631         PTR_DEMANGLE on vDSO pointer.
20632         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20633         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20634         macro.
20635         (INTERNAL_SYSCALL): Likewise.
20636         (INTERNAL_VSYSCALL_NCS): Remove macro.
20637         (INTERNAL_VSYSCALL_CALL): New macro.
20638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20639         Remove macro.
20640         (INTERNAL_VSYSCALL): Likewise.
20641         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20642         sysdep-vdso.h instead of libc-vdso.h.
20643         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20644         definition.
20645         (INLINE_VSYSCALL): Likewise.
20646         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20647         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20648         definition.
20649         (INLINE_VSYSCALL): Likewise.
20650         (INTERNAL_VSYSCALL): Likewise.
20651         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20652         * sysdeps/unix/sysv/linux/timespec_get.c
20653         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20654         (timespec_get): Use ANSI prototype.
20655         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20656         and definition for Linux.
20658 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20660         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20661         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20663 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20665         [BZ #2981]
20666         [BZ #18410]
20667         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20668         for missing DT_PLTRELSZ.
20670 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20672         Remove obsolete aliases that broke 'locale -a'
20673         [BZ #18412]
20674         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20675         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20676         breaking some applications that use 'locale -a' output.
20677         Change the encoding of this file from Latin-1 to ASCII to avoid
20678         other potential problems with people grepping this file.
20680 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20682         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20683         -fasynchronous-unwind-tables.
20684         (CFLAGS-sendto.c): Likewise.
20685         (CFLAGS-sendmsg.c): Likewise.
20686         (CFLAGS-connect.c): Likewise.
20687         (CFLAGS-recvmsg.c): Likewise.
20688         (CFLAGS-recvfrom.c): Likewise.
20689         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20690         (SOCKETCALL): New macro: non-cancellable socketcall.
20691         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20692         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20693         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20694         * sysdeps/unix/sysv/linux/accept.c: New file.
20695         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20696         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20697         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20698         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20699         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20700         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20701         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20702         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20703         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20704         * sysdeps/unix/sysv/linux/send.c: Likewise.
20705         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20706         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20707         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20708         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20709         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20710         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20711         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20712         prototype.
20713         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20714         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20715         instead of __internal_xxx function.
20716         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20717         prototype.
20718         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20719         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20720         instead of __internal_xxx function.
20721         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20722         prototype.
20723         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20724         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20725         instead of __internal_xxx function.
20726         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20727         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20728         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20729         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20730         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20731         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20732         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20733         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20734         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20735         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20736         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20737         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20738         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20739         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20740         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20741         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20742         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20743         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20744         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20745         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20748         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20749         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20750         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20751         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20752         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20753         * sysdeps/unix/sysv/linux/send.S: Likewise.
20754         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20755         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20756         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20757         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20758         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20759         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20760         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20761         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20762         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20763         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20764         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20765         socketcall is implemented in GLIBC.
20767 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20769         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20770         (__fma): Ignore uninitialized warnings around packing.
20771         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20772         (__fmaf): Ignore uninitialized warnings around packing.
20773         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20774         (__fmal): Ignore uninitialized warnings around packing.
20776         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20777         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20778         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20779         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20781         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20782         switch statement into default case.
20783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20785         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20786         a conditional in forcing "inexact".
20787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20788         Likewise.
20790 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20792         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20793         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20794         for each INTERNAL_SYSCALL use.
20796 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20798         [BZ #438]
20799         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20800         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20801         variable.
20803         [BZ #18444]
20804         * string/basename.c (basename): Rename to __basename and define as
20805         weak alias of __basename.  Use libc_hidden_weak.
20806         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20807         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20808         __basename instead of basename.
20809         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20810         Remove variable.
20811         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20813 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20815         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20816         (_IO_JUMPS_FILE_plus): New.
20817         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20818         _IO_CAST_FIELD_ACCESS.
20819         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20820         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20821         * libio/freopen.c (freopen): Likewise.
20822         * libio/freopen64.c (freopen64): Likewise.
20823         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20824         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20825         * libio/iofwide.c (_IO_fwide): Likewise.
20826         * libio/memstream.c (open_memstream): Likewise.
20827         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20828         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20829         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20831 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20833         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20834         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20835         NADJ.
20836         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20837         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20838         NADJ.
20839         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20840         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20841         NADJ.
20843         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20844         (p == 4) case.
20846         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20847         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20848         Remove variable.
20849         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20850         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20851         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20853 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20855         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20856         Adjust jump table label generation macros.
20858 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20860         * stdio-common/vfprintf.c (vfprintf): Move local variables
20861         args_malloced, specs, specs_malloced, and the code after
20862         do_positional to the printf_positional function.
20863         (printf_positional): New function.
20865 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20867         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20868         function.
20869         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20870         STEP4_TABLE, process_arg): Move macro definitions
20871         out of the vfprintf function.  (Cosmetic change only.)
20873 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20875         * benchtests/Makefile (stdio-common-bench): Define.
20876         (benchset): Add stdio-common-bench.
20877         * sprintf-inputs: New file.
20878         * sprintf-source.c: New file.
20880 2015-05-21  Andreas Schwab  <schwab@suse.de>
20882         [BZ #13028]
20883         [BZ #17053]
20884         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20885         of struct __res_state.
20886         * resolv/res_send.c (__libc_res_nsend): Likewise.
20887         (get_nsaddr): New function.
20888         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20889         statp directly.
20891 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20893         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20894         -D_POSIX_C_SOURCE=199506L.
20896         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20898         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20899         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20900         Do not mention otherwise.
20901         [POSIX] (_XOPEN_VERSION): Do not expect.
20902         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20903         [POSIX] (_POSIX2_C_BIND): Likewise.
20904         [POSIX] (_POSIX2_VERSION): Likewise.
20905         [POSIX] (_XOPEN_XPG2): Likewise.
20906         [POSIX] (_XOPEN_XPG3): Likewise.
20907         [POSIX] (_XOPEN_XPG4): Likewise.
20908         [POSIX] (_XOPEN_UNIX): Likewise.
20909         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20910         [POSIX] (_POSIX_BARRIERS): Likewise.
20911         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20912         [POSIX] (_POSIX_CPUTIME): Likewise.
20913         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20914         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20915         [POSIX] (_POSIX_SHELL): Likewise.
20916         [POSIX] (_POSIX_SPAWN): Likewise.
20917         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20918         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20919         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20920         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20921         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20922         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20923         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20924         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20925         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20926         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20927         [POSIX] (_POSIX2_PBS): Likewise.
20928         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20929         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20930         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20931         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20932         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20933         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20934         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20935         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20936         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20937         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20938         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20939         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20940         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20941         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20942         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20943         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20944         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20945         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20946         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20947         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20948         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20949         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20950         [POSIX] (_SC_2_C_BIND): Likewise.
20951         [POSIX] (_SC_2_C_VERSION): Likewise.
20952         [POSIX] (_SC_2_PBS): Likewise.
20953         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20954         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20955         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20956         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20957         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20958         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20959         [POSIX] (_SC_BARRIERS): Likewise.
20960         [POSIX] (_SC_BASE): Likewise.
20961         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20962         [POSIX] (_SC_DEVICE_IO): Likewise.
20963         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20964         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20965         [POSIX] (_SC_FD_MGMT): Likewise.
20966         [POSIX] (_SC_FIFO): Likewise.
20967         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20968         [POSIX] (_SC_FILE_LOCKING): Likewise.
20969         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20970         [POSIX] (_SC_IOV_MAX): Likewise.
20971         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20972         [POSIX] (_SC_NETWORKING): Likewise.
20973         [POSIX] (_SC_PAGE_SIZE): Likewise.
20974         [POSIX] (_SC_PASS_MAX): Likewise.
20975         [POSIX] (_SC_PIPE): Likewise.
20976         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20977         [POSIX] (_SC_REGEXP): Likewise.
20978         [POSIX] (_SC_SHELL): Likewise.
20979         [POSIX] (_SC_SIGNALS): Likewise.
20980         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20981         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20982         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20983         [POSIX] (_SC_USER_GROUPS): Likewise.
20984         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20985         [POSIX] (_SC_STREAMS): Likewise.
20986         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20987         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20988         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20989         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20990         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20991         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20992         [POSIX] (_PC_FILESIZEBITS): Likewise.
20993         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20994         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20995         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20996         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20997         [POSIX] (uid_t): Likewise.
20998         [POSIX] (gid_t): Likewise.
20999         [POSIX] (off_t): Likewise.
21000         [POSIX] (pid_t): Likewise.
21001         [POSIX] (cuserid): Allow.
21002         (_SC_2_CHAR_TERM): Require constant.
21003         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21004         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21005         variable.
21007 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21009         * sysdeps/nacl/pthread-pids.h: New file.
21010         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21011         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21013         * nptl/pthread-pids.h: New file.
21014         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21015         * nptl/nptl-init.c: Include <pthread-pids.h>.
21016         (__pthread_initialize_minimal_internal):
21017         Call __pthread_initialize_pids instead of set_tid_address syscall.
21019         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21020         * sysdeps/posix/usleep.c: ... here.
21022 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21024         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21025         call_pselect6 object.
21026         [$(subdir) = io]: Remove call_sync_file_range object.
21027         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21028         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21029         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21030         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21032 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21034         * math/s_cproj.c: Add include "math_private.h".
21035         * math/s_cprojf.c: Likewise.
21036         * math/s_cprojl.c: Likewise.
21038 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21040         [BZ #18244]
21041         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21042         high mantissa bit when testing whether P is a NaN.
21043         * math/libm-test.inc (remainder_test_data): Add more tests.
21044         (remquo_test_data): Likewise.
21046         [BZ #18049]
21047         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21048         below -32, return the argument, with underflow if subnormal.
21049         * math/auto-libm-test-in: Add more tests of atanh.
21050         * math/auto-libm-test-out: Regenerated.
21052 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21054         [BZ #18434]
21055         * nptl/tst-sem15.c: New file.
21056         * nptl/Makefile (tests): Add it.
21057         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21058         s/<</>>/ to fix typo in EOVERFLOW check.
21059         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21061 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21063         * manual/strings.texi (envz_remove): Fix typo in safety
21064         annotations.
21066 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21067             Steve Ellcey  <sellcey@imgtec.com>
21069         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21070         in order to avoid strict alias warnings.
21071         (iruserok_af): Ditto for ra.
21073 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21075         [BZ #17581]
21076         * malloc/hooks.c
21077         (magicbyte): Convert to a function and avoid returning 0x01.
21078         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21079         (mem2chunk_check): Fix unsigned comparisons to zero.
21080         Hoist defs of sz and magic.
21082 2015-05-19  Richard Henderson  <rth@redhat.com>
21084         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21086         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21088 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21090         [BZ #16159]
21091         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21092         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21093         (reused_arena): Find a non-corrupt arena.
21094         (heap_trim): Pass arena to unlink.
21095         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21096         malloc_printerr.
21097         (top_check): Likewise.
21098         (free_check): Likewise.
21099         (realloc_check): Likewise.
21100         * malloc/malloc.c (malloc_printerr): Add arena argument.
21101         (unlink): Likewise.
21102         (munmap_chunk): Adjust.
21103         (ARENA_CORRUPTION_BIT): New macro.
21104         (arena_is_corrupt): Likewise.
21105         (set_arena_corrupt): Likewise.
21106         (sysmalloc): Use mmap if there are no usable arenas.
21107         (_int_malloc): Likewise.
21108         (__libc_malloc): Don't fail if arena_get returns NULL.
21109         (_mid_memalign): Likewise.
21110         (__libc_calloc): Likewise.
21111         (__libc_realloc): Adjust for additional argument to
21112         malloc_printerr.
21113         (_int_free): Likewise.
21114         (malloc_consolidate): Likewise.
21115         (_int_realloc): Likewise.
21116         (_int_memalign): Don't touch corrupt arenas.
21117         * malloc/tst-malloc-backtrace.c: New test case.
21119         * Makefile (summarize-tests): Fix return value on success.
21121         * manual/string.texi (Envz Functions): Add envz_remove.
21123 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21125         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21126         (invalid_name): New function, broken out of ...
21127         (__opendirat): ... here.  Call it.
21128         (need_isdir_precheck): New function, broken out of ...
21129         (__opendirat): ... here.  Call it.
21130         Use __fxstatat64, not __xstatat64.
21131         (opendir_oflags): New function, broken out of ...
21132         (__opendirat): ... here.  Call it.
21133         (opendir_tail): New function, broken out of ...
21134         (__opendirat): ... here.  Call it.
21135         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21136         opendir_tail, rather than punting to __opendirat.
21137         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21139 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21141         * .gitignore: Ignore generated *.pyc.
21143 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21145         * include/stdio.h: Define __need_wint_t.
21146         * test-skeleton.c: Avoid `for' loop initial declaration.
21147         * nptl/tst-initializers1.c: Use test-skeleton.c.
21149 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21151         [BZ #18418]
21152         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21154 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21156         [BZ #16352]
21157         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21158         (__ieee754_atanh): Force underflow exception for results with
21159         small absolute value.
21160         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21161         (__ieee754_atanhf): Force underflow exception for results with
21162         small absolute value.
21163         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21164         (__ieee754_atanh): Force underflow exception for results with
21165         small absolute value.
21166         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21167         (__ieee754_atanhf): Force underflow exception for results with
21168         small absolute value.
21169         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21170         (__ieee754_atanhl): Force underflow exception for results with
21171         small absolute value.
21172         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21173         (__ieee754_atanhl): Force underflow exception for results with
21174         small absolute value.
21175         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21176         (__ieee754_atanhl): Force underflow exception for results with
21177         small absolute value.
21178         * math/auto-libm-test-in: Do not allow missing underflow
21179         exceptions from atanh.
21180         * math/auto-libm-test-out: Regenerated.
21182         [BZ #18221]
21183         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21184         2**-28 as threshold for returning x or +/- 1/x.
21185         * math/auto-libm-test-in: Add more tests of tan.
21186         * math/auto-libm-test-out: Regenerated.
21188         [BZ #18220]
21189         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21190         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21191         * math/auto-libm-test-in: Add another test of lgamma.
21192         * math/auto-libm-test-out: Regenerated.
21194 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21196         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21197         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21198         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21199         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21200         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21201         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21202         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21203         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21204         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21205         (log1): Use fabs.  (my_log2): Use fabs.
21206         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21207         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21208         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21209         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21211         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21212         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21213         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21214         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21215         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21216         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21218 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21220         [BZ #18217]
21221         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21222         as threshold for returning 1 - x.
21223         * math/auto-libm-test-in: Add more tests of erfc.
21224         * math/auto-libm-test-out: Regenerated.
21226 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21228         [BZ #18196]
21229         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21230         threshold for large arguments.
21231         * math/auto-libm-test-in: Add another test of atan.
21232         * math/auto-libm-test-out: Regenerated.
21234         [BZ #16339]
21235         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21236         (__log1p): Force underflow exception for results with small
21237         absolute value.
21238         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21239         (__log1pf): Force underflow exception for results with small
21240         absolute value.
21241         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21242         (__log1p): Force underflow exception for results with small
21243         absolute value.
21244         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21245         (__log1pf): Force underflow exception for results with small
21246         absolute value.
21247         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21248         (__log1pl): Force underflow exception for results with small
21249         absolute value.
21250         * math/auto-libm-test-in: Do not allow missing underflow
21251         exceptions from log1p.
21252         * math/auto-libm-test-out: Regenerated.
21254 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21255             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21257         [BZ #16704]
21258         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21260 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21262         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21263         (libmvec): New variable.
21264         * configure.ac: Added option for mathvec build.
21265         * configure: Regenerated.
21266         * mathvec/Depend: New file.
21267         * mathvec/Makefile: New file.
21268         * shlib-versions: Added libmvec.
21269         * math/Makefile: Added rule for libm.so installation.
21271         * bits/math-vector.h: New file.
21272         * bits/libm-simd-decl-stubs.h: New header.
21273         * math/Makefile (headers): Added new header
21274         libm-simd-decl-stubs.h.
21275         * math/math.h (__MATHCALL_VEC): New macro.
21277         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21278         for conditions in testing functions.
21279         * math/Makefile: Added call of libm-have-vector-test.sh.
21280         * math/libm-test.inc (HAVE_VECTOR): New macros.
21282         * math/libm-test.inc: START refactored.
21283         * math/test-double.c (TEST_MATHVEC): Add define.
21284         * math/test-float.c: Likewise.
21285         * math/test-idouble.c: Likewise.
21286         * math/test-ifloat.c: Likewise.
21287         * math/test-ildoubl.c: Likewise.
21288         * math/test-ldouble.c: Likewise.
21289         * sysdeps/generic/math-tests-arch.h
21290         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21291         architecture check.
21293         * math/test-double.c (FUNC_TEST): New macro.
21294         * math/test-float.c: Likewise.
21295         * math/test-idouble.c: Likewise.
21296         * math/test-ifloat.c: Likewise.
21297         * math/test-ildoubl.c: Likewise.
21298         * math/test-ldouble.c: Likewise.
21299         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21301 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21303         * sysdeps/nacl/fdopendir.c: New file.
21305         * dirent/scandir-tail.c: New file.
21306         * dirent/scandir64-tail.c: New file.
21307         * dirent/Makefile (routines): Add them.
21308         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21309         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21310         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21311         [!SCANDIR] (SCANDIR_TAIL): New macro.
21312         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21313         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21314         (SCANDIRAT): Macro removed.
21315         (SCANDIR_TAIL): New macro.
21316         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21317         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21318         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21319         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21320         (READDIR): Macro removed.
21321         (SCANDIR_TAIL): New macro.
21322         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21323         (SCANDIR_TAIL): New macro.
21325         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21326         * dirent/scandir-cancel.c: ... to this new file.
21327         * dirent/Makefile (routines): Add it.
21328         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21329         * sysdeps/unix/sysv/linux/i386/scandir64.c
21330         (SKIP_SCANDIR_CANCEL): Macro removed.
21331         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21333         * dirent/tst-scandir.c: New file.
21334         * dirent/tst-scandir64.c: New file.
21335         * dirent/Makefile (tests): Add them.
21337 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21339         [BZ #18409]
21340         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21342 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21344         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21345         list.
21347 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21349         * benchtests/bench-strcoll.c: New benchmark.
21350         * benchtests/Makefile: Generate locales and run benchmark.
21351         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21352         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21353         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21354         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21355         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21356         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21357         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21358         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21359         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21360         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21361         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21362         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21363         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21364         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21365         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21366         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21367         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21368         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21369         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21370         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21371         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21372         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21373         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21374         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21376 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21378         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21379         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21381 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21383         * posix/uname-values.h: New file.
21384         * posix/uname.c: Include that instead of <config-name.h>.
21385         * sysdeps/nacl/uname-values.h: New file.
21386         * sysdeps/arm/nacl/uname-values.h: New file.
21388 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21390         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21391         splitting into fields.
21393 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21395         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21396         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21397         * locale/localeinfo.h: Add enum collation_encoding_type.
21398         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21399         * programs/ld-collate.c (collate_output): Add encoding type info.
21400         * string/strcoll_l.c (STRDIFF): New function.
21401         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21402         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21404 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21406         [BZ #18397]
21407         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21408         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21409         <fpu_control.h> instead of <math/fpu_control.c>.
21410         * sysdeps/mips/mips32/fpu/Makefile: New file.
21412 2015-05-11  Andreas Schwab  <schwab@suse.de>
21414         [BZ #18007]
21415         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21416         nss_endgrent.
21417         (_nss_compat_endgrent): Call nss_endgrent.
21418         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21419         nss_endpwent.
21420         (_nss_compat_endpwent): Call nss_endpwent.
21421         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21422         needent, call nss_setspent only if non-zero.
21423         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21424         (internal_endspent): Don't call nss_endspent.
21425         (_nss_compat_endspent): Call nss_endspent.
21426         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21427         Remove.  All uses removed.
21428         (internal_setent): Remove parameter stayopen, add parameter
21429         stream.  Use it instead of global variable.
21430         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21431         (internal_endent, internal_getent): Add parameter stream.  Use it
21432         instead of global variable.
21433         (CONCAT(_nss_files_end,ENTNAME))
21434         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21435         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21436         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21437         uses removed.
21438         (internal_setent, internal_endent): Add parameter stream.  Use it
21439         instead of global variable.
21440         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21441         stream.
21442         (get_next_alias): Add parameter stream.
21443         (_nss_files_getaliasent_r): Pass global stream.
21444         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21445         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21446         (_nss_files_gethostbyname4_r): Pass local stream to
21447         internal_setent, internal_getent and internal_endent.  Remove
21448         locking.
21450 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21452         * tst-strfmon1.c (tests): Update expected currency symbol.
21454 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21456         * sysdeps/nacl/gethostname.c: New file.
21458 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21460         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21461         and sinh.
21462         * math/auto-libm-test-out: Regenerated.
21463         * sysdeps/i386/fpu/libm-test-ulps: Update.
21464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21466 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21468         [BZ #18125]
21469         * stdlib/tst-setcontext3.c: New file.
21470         * stdlib/tst-setcontext3.sh: New file.
21471         * stdlib/Makefile (tests): Add tst-setcontext3.
21472         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21473         to verify test program created output file.
21474         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21475         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21476         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21477         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21479 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21481         [BZ #18383]
21482         * elf/tst-tlsalign.c: New file.
21483         * elf/tst-tlsalign-static.c: New file.
21484         * elf/tst-tlsalign-lib.c: New file.
21485         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21486         (tests-static): Add tst-tlsalign-static.
21487         (modules-names): Add tst-tlsalign-lib.
21488         (test-xfail-tst-tlsalign): New variable.
21489         (test-xfail-tst-tlsalign-static): New variable.
21491         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21492         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21494 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21496         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21497         csqrt, erfc, sin and sincos.
21498         * math/auto-libm-test-out: Regenerated.
21499         * sysdeps/i386/fpu/libm-test-ulps: Update.
21500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21502 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21504         * sysdeps/aarch64/libm-test-ulps: Update.
21506 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21508         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21509         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21510         * math/auto-libm-test-out: Regenerated.
21511         * sysdeps/i386/fpu/libm-test-ulps: Update.
21512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21514 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21516         [BZ #18265]
21517         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21518         (wcsncpy): Likewise.
21520 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21522         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21523         Assume __ASSUME_FALLOCATE is always true.
21524         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21525         (__posix_fallocate64_l64): Likweise.
21526         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21527         (posix_fallocate): Likewise.
21528         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21529         (__posix_fallocate64_l64): Likewise.
21530         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21531         [!__ASSUME_FALLOCATE]: Add comment.
21533 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21535         * sysdeps/unix/sysv/linux/i386/Makefile
21536         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21537         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21538         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21539         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21540         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21541         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21542         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21544 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21546         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21547         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21548         tgamma.
21549         * math/auto-libm-test-out: Regenerated.
21550         * sysdeps/i386/fpu/libm-test-ulps: Update.
21551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21553 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21555         * math/auto-libm-test-in: Add more tests of tgamma.
21556         * math/auto-libm-test-out: Regenerated.
21557         * sysdeps/i386/fpu/libm-test-ulps: Update.
21558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21560         * math/auto-libm-test-in: Add more tests of tanh.
21561         * math/auto-libm-test-out: Regenerated.
21562         * sysdeps/i386/fpu/libm-test-ulps: Update.
21563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21565         * math/auto-libm-test-in: Add more tests of tan.
21566         * math/auto-libm-test-out: Regenerated.
21567         * sysdeps/i386/fpu/libm-test-ulps: Update.
21568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21570         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21571         * math/auto-libm-test-out: Regenerated.
21572         * sysdeps/i386/fpu/libm-test-ulps: Update.
21573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21575         * math/auto-libm-test-in: Add another test of pow.
21576         * math/auto-libm-test-out: Regenerated.
21577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21579         * math/auto-libm-test-in: Add more tests of lgamma.
21580         * math/auto-libm-test-out: Regenerated.
21581         * sysdeps/i386/fpu/libm-test-ulps: Update.
21582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21584         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21585         log1p.
21586         * math/auto-libm-test-out: Regenerated.
21587         * sysdeps/i386/fpu/libm-test-ulps: Update.
21588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21590 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21592         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21593         Elf64_Chdr structs and ELFCOMPRESS constants.
21595 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21597         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21598         expm1.
21599         * math/auto-libm-test-out: Regenerated.
21600         * sysdeps/i386/fpu/libm-test-ulps: Update.
21601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21603         * math/auto-libm-test-in: Add more tests of erf and erfc.
21604         * math/auto-libm-test-out: Regenerated.
21605         * sysdeps/i386/fpu/libm-test-ulps: Update.
21606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21608 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21610         * config.h.in (HAVE_AARCH64_BE): Add.
21612 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21614         * math/auto-libm-test-in: Add more tests of csqrt.
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         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21620         * math/auto-libm-test-out: Regenerated.
21621         * sysdeps/i386/fpu/libm-test-ulps: Update.
21622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21624         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21626 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21628         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21629         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21631         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21632         (euidaccess, eaccess): Define as weak aliases.
21634         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21635         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21636         but __suseconds_t is often 'long int' so some sources assume that
21637         type is being used (e.g. they use %ld to print tv_usec).
21639 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21641         [BZ #18007]
21642         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21643         (CVE-2014-8121)
21644         * nss/tst-nss-getpwent.c: New file.
21645         * nss/Makefile (tests): Add new test.
21647 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21649         [BZ #18346]
21650         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21651         exponents less than 48 as cases where high part of mantissa needs
21652         examining to determine whether argument is integral.
21653         * math/libm-test.inc (round_test_data): Add more tests.
21655 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21657         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21659 2015-04-27  David S. Miller  <davem@davemloft.net>
21661         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21662         __tls_get_addr.
21663         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21665 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21667         [BZ#18333]
21668         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21670 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21672         [BZ#18333]
21673         * time/tzset.c (parse_tzname): Return error on memory allocation
21674         failure.
21675         * test-skeleton.c (struct temp_name_list): Change type of name
21676         member to non-const.
21677         (add_temp_file): Create a copy of the file name.
21678         (delete_temp_files): Deallocate memory.
21679         (create_temp_file): Add comment.
21681 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21683         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21684         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21686 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21688         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21689         * sysdeps/arm/configure: Regenerated.
21691 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21693         [BZ #17715]
21694         * time/tzfile.c (__tzfile_read): Check for large values of
21695         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21696         * time/tzset.c (__tzstring_len): New function, based on the old
21697         __tzstring function.
21698         (__tzstring): Call __tzstring_len.
21699         (parse_tzname): New helper function extracted from
21700         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21701         the input string.
21702         (parse_offset): New helper function extracted from
21703         __tzset_parse_tz.  Replace switch with fallthrough with
21704         initialization before sscanf.
21705         (parse_rule): Likewise.
21706         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21707         new-style function definition.
21708         * timezone/Makefile (tests): Add tst-tzset.
21709         (tst-tzset.out): Dependencies on time zone files.
21710         (tst-tzset-ENV): Set TZDIR.
21711         (testdata/XT%): Copy crafted time zone files.
21712         * timezone/README: Mention crafted time zone files.
21713         * timezone/testdata/XT1, timezone/testdata/XT2,
21714         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21715         files.
21716         * timezone/tst-tzset.c: New test.
21718 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21720         * Makeconfig (+gccwarn): Remove -Winline.
21722 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21724         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21726 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21728         * NEWS: Mention sysconf() cache information support for s390.
21729         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21731 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21733         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21735         (__nearbyint): Likewise.
21736         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21737         (copysignl): Likewise.
21739 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21741         [BZ #18287]
21742         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21743         based on padding.  (CVE-2015-1781)
21745 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21747         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21748         libc-vdso.h.
21749         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21750         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21751         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21752         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21753         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21754         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21755         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21756         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21757         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21758         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21759         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21760         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21761         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21762         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21763         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21764         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21765         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21767         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21768         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21769         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21770         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21771         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21773 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21775         * stdlib/setenv.c (__add_to_environ):
21776         Dump core quickly if setenv (..., NULL, ...) is called.
21777         This time, do it the right way, and pacify GCC with a pragma.
21779 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21781         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21782         IMAP->l_prev cannot be null, and #if out the code for the contrary
21783         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21784         believe that NS (&_dl_ns[NSID]) could point outside the array.
21786         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21787         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21788         before using NSID as an index.
21790 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21792         [BZ #17825]
21793         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21794         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21795         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21797 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21799         Add preliminary port to Google Native Client on ARM.
21800         * abi-tags (.*-.*-nacl.*): New entry.
21801         * sysdeps/arm/nacl: New directory.
21802         * sysdeps/nacl: New directory.
21804 2015-04-16  David S. Miller  <davem@davemloft.net>
21806         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21807         lowlevellock-futex.h
21809 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21811         * sysdeps/tile/configure.ac: New file.
21812         * sysdeps/tile/configure: Regenerated.
21814 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21816         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21817         conditionals for weak_alias and libc_hidden_weak.
21818         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21819         libc_hidden_weak and weak_alias.
21820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21821         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21822         and weak_alias for static one.
21824 2015-04-15  David S. Miller  <davem@davemloft.net>
21826         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21828 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21830         [BZ #18206]
21831         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21832           Use signed comparision instead of substraction to avoid
21833           overflow bug.
21834         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21835           Take the sign of ret.
21836         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21837           Do not expect precise return values. Only the sign matters.
21838         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21839         * wcsmbs/test-wcsncmp.c: New File.
21840         * string/test-strncmp.c: Add wcsncmp support.
21842 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21844         [BZ #6792]
21845         * math/w_log1p.c: New file.
21846         * math/w_log1pf.c: Likewise.
21847         * math/w_log1pl.c: Likewise.
21848         * math/Makefile (libm-calls): Add w_log1p.
21849         * math/s_log1pl.c (log1pl): Remove weak_alias.
21850         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21851         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21852         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21853         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21854         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21855         [NO_LONG_DOUBLE] (log1pl): Likewise.
21856         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21858         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21859         (log1p): Remove long_double_symbol.
21860         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21861         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21862         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21863         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21864         remove weak_alias for corresponding log1p function.
21865         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21866         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21867         * sysdeps/ia64/fpu/w_log1p.c: New file.
21868         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21869         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21870         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21872 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21874         [BZ #18247]
21875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21876         decimal exponent by 1.
21877         * stdlib/tst-strtod-round-data: Add more tests.
21878         * stdlib/tst-strtod-round.c (tests): Regenerated.
21880 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21882         * math/auto-libm-test-in: Add more tests of clog and clog10.
21883         * math/auto-libm-test-out: Regenerated.
21884         * sysdeps/i386/fpu/libm-test-ulps: Update.
21885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21887 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21889         * Makeconfig (module-cppflags): Exclude all .v.i files.
21890         (skip-module-cppflags): Variable removed.
21892         * configure.ac (libc_config_ok): Initialize before reading
21893         preconfigure scripts, not after.
21894         * configure: Regenerated.
21896         * test-skeleton.c (TIMEOUT): Move #define to top level.
21897         (main): Grok environment variable TEST_DIRECT.  If set, print
21898         test expectation details into that file and then behave as if
21899         given --direct.
21901 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21903         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21904         warning on 32-bit.
21906 2015-04-08  David S. Miller  <davem@davemloft.net>
21908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21910 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21912         * math/auto-libm-test-in: Add more tests of atanh.
21913         * math/auto-libm-test-out: Regenerated.
21914         * sysdeps/i386/fpu/libm-test-ulps: Update.
21915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21917         * math/auto-libm-test-in: Add more tests of atan.
21918         * math/auto-libm-test-out: Regenerated.
21919         * sysdeps/i386/fpu/libm-test-ulps: Update.
21920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21922 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21924         * elf/pldd.c (main): Rewrite to use struct
21925         scratch_buffer instead of extend_alloca.
21926         * elf/pldd-xx.c (find_maps): Likewise.
21927         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21928         <alloca.h>.
21929         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21930         scratch_buffer instead of extend_alloca.
21931         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21932         grp/compat-initgroups.c.
21933         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21934         Rewrite to use struct scratch_buffer instead of extend_alloca.
21935         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21936         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21938 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21940         * math/auto-libm-test-in: Add more tests of cbrt.
21941         * math/auto-libm-test-out: Regenerated.
21942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21944         * math/auto-libm-test-in: Add more tests of cabs.
21945         * math/auto-libm-test-out: Regenerated.
21946         * sysdeps/i386/fpu/libm-test-ulps: Update.
21947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21949         [BZ #18210]
21950         [BZ #18211]
21951         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21952         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21953         computations.
21954         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21955         clog10.
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 #18197]
21961         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21962         (atan): Set FE_TONEAREST mode for internal computations.
21963         * math/auto-libm-test-in: Add more tests of atan.
21964         * math/auto-libm-test-out: Regenerated.
21966 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21968         [BZ #17930]
21969         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21971 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21973         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21975 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21977         * include/scratch_buffer.h: New file.
21978         * malloc/scratch_buffer_grow.c: Likewise.
21979         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21980         * malloc/scratch_buffer_set_array_size.c: Likewise.
21981         * malloc/tst-scratch_buffer.c: Likewise.
21982         * malloc/Makefile (routines): Add scratch_buffer_grow.
21983         (tests): Add test case.
21984         * malloc/Versions (GLIBC_PRIVATE): Export
21985         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21986         __libc_scratch_buffer_set_array_size.
21988 2015-04-06  Richard Henderson  <rth@redhat.com>
21990         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21991         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21993         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21994         unsigned int before printing.
21996 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21998         [BZ #17596]
21999         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22000         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22002 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22004         * include/libc-internal.h (libc_max_align_t): Define.
22006 2015-04-02  Andreas Schwab  <schwab@suse.de>
22008         [BZ #16850]
22009         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22011 2015-04-02  Mel Gorman  <mgorman@suse.de>
22013         [BZ #17195]
22014         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22015         as well as the main arena.
22017 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22019         [BZ #18185]
22020         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22021         sharing L2 cache to 2 for Silvermont/Knights Landing.
22023 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22025         [BZ #17711]
22026         * config.make.in (have-protected-data): New.
22027         * configure.ac: Check linker support for protected data symbol.
22028         * configure: Regenerated.
22029         * elf/Makefile (modules-names): Add tst-protected1moda and
22030         tst-protected1modb if $(have-protected-data) is yes.
22031         (tests): Add tst-protected1a and tst-protected1b if
22032         $(have-protected-data) is yes.
22033         ($(objpfx)tst-protected1a): New.
22034         ($(objpfx)tst-protected1b): Likewise.
22035         (tst-protected1modb.so-no-z-defs): Likewise.
22036         * elf/tst-protected1a.c: New file.
22037         * elf/tst-protected1b.c: Likewise.
22038         * elf/tst-protected1mod.h: Likewise.
22039         * elf/tst-protected1moda.c: Likewise.
22040         * elf/tst-protected1modb.c: Likewise.
22042 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22044         [BZ #17711]
22045         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22046         indicates it is called from do_lookup_x on relocation against
22047         protected data, skip the data definion in the executable from
22048         copy reloc.
22049         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22050         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22051         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22052         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22053         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22054         otherwise to 0.
22055         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22056         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22057         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22058         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22059         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22060         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22062 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22064         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22065         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22067 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22069         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22070         THREAD_SETMEM_NC.
22071         * sysdeps/x86_64/nptl/tls.h: Ditto.
22073 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22075         * dlfcn/tststatic.c (main): Converted to ...
22076         (do_test): ... this.
22077         (TEST_FUNCTION): New macro.
22078         Include test-skeleton.c.
22080 2015-03-26  Alan Modra  <amodra@gmail.com>
22082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22083         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22084         zero for undefined weak.
22085         (elf_machine_plt_conflict): Similarly.
22087 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22089         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22090         atanh.
22091         * math/auto-libm-test-out: Regenerated.
22092         * sysdeps/i386/fpu/libm-test-ulps: Update.
22093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22095         * math/auto-libm-test-in: Add another test of asin.
22096         * math/auto-libm-test-out: Regenerated.
22097         * sysdeps/i386/fpu/libm-test-ulps: Update.
22098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22100         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22101         Remove macro.
22102         (LLL_EBX_REG): Likewise.
22103         (LLL_ENTER_KERNEL): Likewise.
22105         * math/auto-libm-test-in: Add more tests of asin.
22106         * math/auto-libm-test-out: Regenerated.
22107         * sysdeps/i386/fpu/libm-test-ulps: Update.
22108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22110         [BZ #18138]
22111         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22112         libc_do_syscall_args): New structure.
22113         (INTERNAL_SYSCALL_MAIN_0): New macro.
22114         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22115         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22116         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22117         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22118         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22119         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22120         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22121         Replace conditional definitions by conditional definitions of ....
22122         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22123         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22124         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22125         (libpthread-sysdep_routines): Add libc-do-syscall.
22126         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22128         to __NR_futex not 240.
22130 2015-03-25  Alan Modra  <amodra@gmail.com>
22132         * NEWS: Advertise TLS optimization.
22133         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22134         (DT_PPC_NUM): Increment.
22135         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22136         (CHECK_STATIC_TLS): Use here.
22137         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22138         TLS descriptors.
22139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22140         * sysdeps/powerpc/dl-tls.c: New file.
22141         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22142         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22143         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22144         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22149 2015-03-25  Alan Modra  <amodra@gmail.com>
22151         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22152         for overlapping .opd entries" to "support...".
22153         * sysdeps/powerpc/powerpc64/configure: Regenerate
22155 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22157         * math/auto-libm-test-in: Add more tests of acos.
22158         * math/auto-libm-test-out: Regenerated.
22159         * sysdeps/i386/fpu/libm-test-ulps: Update.
22160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22162         * math/auto-libm-test-in: Add more tests of expm1.
22163         * math/auto-libm-test-out: Regenerated.
22164         * sysdeps/i386/fpu/libm-test-ulps: Update.
22165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22167 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22169         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22170         * math/auto-libm-test-out: Regenerated.
22171         * sysdeps/i386/fpu/libm-test-ulps: Update.
22172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22174         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22177         * math/auto-libm-test-in: Add more tests of log2.
22178         * math/auto-libm-test-out: Regenerated.
22179         * sysdeps/i386/fpu/libm-test-ulps: Update.
22180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22182 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22184         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22185         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22186         _IO_IS_APPENDING bit in READ_WRITE instead.
22188 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22190         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22191         (__determine_cpumask_size): Replace extend_alloca with a
22192         variable-length array.  Do not treat res == 0 as an error.
22194 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22196         [BZ #18100]
22197         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22198         and integer overflow.
22199         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22200         (main): Add integer overflow tests.
22201         * manual/pattern.texi (Calling Wordexp): Document additional use
22202         for WRDE_SYNTAX.
22204 2015-03-23  Alan Modra  <amodra@gmail.com>
22206         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22207         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22208         and false branch of conditional.
22209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22210         Likewise.
22212 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22214         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22215         libc-modules.h
22216         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22217         unused declaration of _hurd_intr_rpc_msg_in_trap.
22218         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22219         defined instead of whether it is non-zero.
22220         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22221         input constraint instead of both input and output constraint.  Use ecx
22222         clobber instead of %ecx.
22223         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22224         mutex_unlock): Use a statement expression instead of an expression list.
22225         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22226         type to vm_size_t instead of vm_address_t.
22227         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22228         defined instead of whether it is non-zero.
22229         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22230         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22231         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22232         comparisons with mapaddr.
22233         * nscd/nscd-client.h: Include <time.h>.
22234         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22235         9th parameter to __vm_region instead of int.
22236         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22237         * scripts/check-local-headers.sh (exclude): Add device/,
22238         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22239         cthreads.h.
22241 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22243         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22244         to account for alignment padding.
22245         * sysdeps/arm/memmove.S: Likewise.
22247 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22249         * sysdeps/unix/sysv/linux/generic/README: New file.
22251 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22253         [BZ #18138]
22254         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22255         (futex_abstimed_wait)
22256         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22257         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22258         of lll_futex_timed_wait.
22260 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22262         [BZ #17542]
22263         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22265 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22267         [BZ #17090]
22268         [BZ #17620]
22269         [BZ #17621]
22270         [BZ #17628]
22271         * NEWS: Update.
22272         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22273         entries with Static TLS too.  Skip entries past the end of the
22274         allocated DTV, from Alan Modra.
22275         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22276         Static TLS DTV entry set up from...
22277         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22278         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22279         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22280         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22281         for Static TLS.
22282         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22283         that the slot we find is associated with the given map before
22284         using its generation count.
22285         * nptl_db/db_info.c: Include ldsodefs.h.
22286         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22287         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22288         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22289         (link_map::l_tls_offset): New struct field.
22290         (dtv_t::counter): Likewise.
22291         (rtld_global): New struct.
22292         (_rtld_global): New rtld variable.
22293         (dl_tls_dtv_slotinfo_list): New rtld global field.
22294         (dtv_slotinfo_list): New struct.
22295         (dtv_slotinfo): Likewise.
22296         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22297         (td_lookup): Rename to...
22298         (td_mod_lookup): ... this.  Use new mod parameter instead of
22299         LIBPTHREAD_SO.
22300         * nptl_db/td_thr_tlsbase.c: Include link.h.
22301         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22302         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22303         addresses even if the DTV is out of date or missing them.
22304         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22305         index zero-length arrays.
22306         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22307         (td_lookup): Make it a macro implemented in terms of...
22308         (td_mod_lookup): ... this declaration.
22309         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22310         (DB_MAIN_VARIABLE): Likewise.
22312 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22314         [BZ #18134]
22315         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22317 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22319         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22321 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22323         [BZ #18128]
22324         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22325         (atomic_add, atomic_increment_and_test)
22326         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22328 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22330         * stdlib/setenv.c (__add_to_environ):
22331         Dump core quickly if setenv (..., NULL, ...) is called.
22333 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22335         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22336         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22337         all the necessary asm magic in one place.
22338         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22339         using those.
22341 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22343         [BZ #14906]
22344         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22345         traced file mtime. Use consistent log message.
22346         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22347         (register_traced_file): Call install_watches. Always set mtime.
22348         (invalidate_cache): Iterate over all trace files. Call install_watches.
22349         (inotify_check_files): Don't inline. Handle watching parent
22350         directories and configuration file movement in and out.
22351         (handle_inotify_events): New function.
22352         (main_loop_poll): Call handle_inotify_events.
22353         (main_loop_epoll): Likewise.
22354         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22355         (struct traced_file): Use array of inotify fds. Add parent directory,
22356         and basename.
22357         (struct database_dyn): Remove unused file_mtime.
22358         (init_traced_file): New inline function.
22359         (define_traced_file): New macro.
22360         * nss/nss_db/db-init.c: Use define_traced_file.
22361         (_nss_db_init): Use init_traced_file.
22362         * nss/nss_files/files-init.c: Use define_traced_file.
22363         (_nss_files_init): Use init_traced_file.
22365 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22367         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22368         [_LIBC]: Do not include <stdlib.h>.
22369         [!_LIBC] (abort): Remove declaration.
22370         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22371         _FP_STATIC_ASSERT instead of conditionally calling abort.
22372         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22373         (_FP_EXTEND_CNAN): Likewise.
22374         (FP_TRUNC): Likewise.
22375         (__FP_CLZ): Likewise.
22376         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22378 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22380         * manual/string.texi (XPG basename): Fix prototype.
22382 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22384         [BZ #18080]
22385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22386         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22387         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22388         (__setcontext): Likewise.
22389         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22390         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22391         Call rt_sigprocmask syscall one time to set new signal mask
22392         and retrieve the current signal mask instead of two calls.
22393         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22394         (__swapcontext): Likewise.
22395         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22396         * stdlib/tst-setcontext2.c: New file.
22398 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22400         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22402 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22404         [BZ #18093]
22405         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22406         the wrong size.
22408 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22410         [BZ #18043]
22411         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22413 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22415         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22416         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22417         Remove define.
22418         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22419         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22420         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22421         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22422         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22423         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22424         define.
22425         * nptl_db/td_symbol_list.c (td_lookup): Remove
22426         HAVE_ASM_GLOBAL_DOT_NAME code.
22427         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22428         HAVE_ASM_GLOBAL_DOT_NAME check.
22429         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22430         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22431         (DOT_LABEL): Remove define.
22432         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22433         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22434         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22435         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22436         (__TLS_GET_ADDR): Likewise.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22438         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22440 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22442         [BZ #18111]
22443         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22444         (_FPU_SETCW): Initialize cw from fpsr before storing.
22445         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22446         (fesetexceptflag): Rewrite using fpu_control.h.
22447         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22449 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22451         [BZ #18110]
22452         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22453         asms.
22454         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22456 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22458         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22459         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22460         abort.
22461         (_FP_FMA): Likewise.
22462         (_FP_DIV): Likewise.
22464 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22466         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22467         with 0 in that case.
22468         * Makefile (summarize-tests): New canned sequence, factored out of
22469         commands for targets tests and xtests.  Display summary lines that
22470         don't start with PASS: or XFAIL: rather than ones that do start with
22471         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22472         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22473         do start with ERROR: or FAIL:.
22474         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22475         (except for [$(build-shared) = yes]).
22476         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22477         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22478         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22479         * nptl/Makefile: Revert 2015-03-04 changes.
22480         [$(CXX) empty] (tests-unsupported): New variable.
22481         * debug/Makefile: Likewise.
22483         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22484         gnulib file.  Replace __attribute with __attribute__ throughout.
22486 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22488         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22490 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22492         [BZ #18104]
22493         * math/auto-libm-test-in: Add another test of pow.
22494         * math/auto-libm-test-out: Regenerated.
22496 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22498         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22499         $(config-cflags-nofma).
22501 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22503         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22504         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22505         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22506         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22507         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22508         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22509         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22510         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22511         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22512         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22513         Add comment on closing #endif.
22515 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22517         * posix/wordexp.c (CHAR_IN_SET): New macro.
22518         (parse_param): Use it.
22520 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22522         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22524 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22526         [BZ #18043]
22527         * posix/wordexp.c (parse_param): Fix buffer overflow.
22528         * posix/wordexp-test.c (test_case): Add test case.
22530 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22532         [BZ #18042]
22533         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22534         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22536 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22538         [BZ #18043]
22539         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22540         (do_bz18043): Delete.
22541         (at_page_end): New.
22542         (testit): Refactor to have words at the edge of unreadable page.
22544 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22546         [BZ #16734]
22547         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22548         Cleanup read-only streams as well.
22549         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22551 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22553         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22554         <bits/libc-lockP.h>
22556 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22558         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22559         on [__KERNEL__].
22560         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22561         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22562         * soft-fp/op-common.h (_FP_DECL): Likewise.
22564 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22566         * elf/ifuncdep2.c (global): Replace
22567         __attribute__((visibility("protected"))) with
22568         asm (".protected global").
22569         * elf/ifuncmod1.c (global): Likewise.
22570         * elf/ifuncmod5.c (global): Likewise.
22572 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22574         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22575         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22577 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22579         * manual/install.texi (Configuring and compiling):
22580         Document test-wrapper-env-only.
22581         * INSTALL: Regenerated.
22583 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22585         [BZ #18043]
22586         * posix/wordexp.c (parse_param): Fix buffer overflow.
22587         * posix/wordexp-test.c (do_bz18043): Add test case.
22589 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22591         * time/tst-strptime2.c (do_test): Ensure failing tests are
22592         reported correctly.
22593         * time/tst-strptime3.c (do_test): Likewise.
22595 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22597         Fix aio_error thread-safety.
22598         * sysdeps/pthread/aio_error.c: New file
22599         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22600         synchronization.
22602 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22604         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22605         (group_number, vfprintf): Use it.
22606         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22607         (JUMP, REF): Use it.
22608         (WORK_BUFFER_SIZE): New enum constant.
22609         (process_arg, vfprintf): Use it.
22611 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22613         * manual/errno.texi (Error Messages): Complete example function
22614         by adding missing #define.
22615         (program_invocation_name): Add statement indicating GNU
22616         extension and reference which header file declares the variable.
22617         (program_invocation_short_name): Likewise.
22619 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22621         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22622         compatibility note.
22624 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22626         * Makeconfig (test-wrapper-env-only): New variable.
22627         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22628         then use that with $(test-wrapper-env-only) rather than using
22629         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22631 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22633         [BZ #18082]
22634         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22635         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22636         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22637         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22638         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22639         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22640         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22641         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22642         Likewise.
22643         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22644         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22645         Likewise.
22646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22647         Likewise.
22648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22649         Likewise.
22650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22651         Likewise.
22652         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22653         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22654         Likewise.
22655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22656         Likewise.
22657         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22658         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22660 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22662         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22663         (ETH_ALEN): New macro.
22664         (struct ether_addr): Use it for length of ether_addr_octet.
22666         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22667         (setdb): Don't call __nss_configure_lookup for "rpc".
22668         (do_test): Don't call test_rpc.
22669         (output_rpcent, test_rpc): Functions moved ...
22670         * sunrpc/test-rpcent.c: ... to this new file.
22671         * sunrpc/Makefile (tests): Add it.
22673         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22674         __xpg_sigpause.
22675         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22676         * nptl/tst-signal6.c: Likewise.
22677         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22678         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22680         * configure.ac (libc_cv_cxx_link_ok): New check.
22681         Reset CXX to empty if it fails to link.
22682         * configure: Regenerated.
22683         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22684         bug-atexit3-lib only if $(CXX) is nonempty.
22685         * nptl/Makefile (tests): Likewise for tst-cancel24.
22686         (tests, tests-static): Likewise for tst-cancel24-static.
22687         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22688         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22689         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22690         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22692 2015-03-04  Andreas Schwab  <schwab@suse.de>
22694         [BZ #17631]
22695         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22696         for non-GCC compilers.
22697         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22698         Likewise.
22700 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22702         [BZ #17776]
22703         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22704         integer before bitwise and assembly operations.
22705         (feclearexcept): Likewise.
22706         * math/test-fenvinline.c: New file.
22707         * math/Makefile: Add test-fenvinline test.
22709 2015-03-03  Alan Modra  <amodra@gmail.com>
22711         [BZ #16512]
22712         * scripts/localplt.awk: Strip off symbol version.
22713         * NEWS: Mention bug fix.
22715 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22717         * sysdeps/pthread/timer_routines.c
22718         (timer_free_list, thread_free_list, thread_active_list): Make static.
22720 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22722         [BZ #17779]
22723         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22724         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22725         Undefine.
22726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22727         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22728         Likewise.
22729         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22730         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22731         Likewise.
22733 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22735         [BZ #18036]
22736         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22737         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22739 2015-03-02  Andreas Schwab  <schwab@suse.de>
22741         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22742         variable name.
22744 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22746         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22747         Return error status.
22749 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22751         [BZ #15969]
22752         * locale/findlocale.c (_nl_find_locale): Introduce const
22753         version of loc_name and drop unsafe type casts.
22755 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22757         * dlfcn/tststatic2.c (main): Converted to ...
22758         (do_test): ... this.
22759         (TEST_FUNCTION): New macro.
22760         Include test-skeleton.c.
22762 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22764         [BZ #17711]
22765         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22766         (tests-pie): Add vismain.
22767         (CFLAGS-vismain.c): New.
22768         * elf/vismain.c: Add comments for PIE requirement.
22770 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22772         [BZ #18046]
22773         [BZ #18047]
22774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22775         0x1p-56L as threshold for just returning the argument.
22776         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22777         0x1p-32L as threshold for just returning the argument.
22778         * math/auto-libm-test-in: Add more tests of atanh.
22779         * math/auto-libm-test-out: Regenerated.
22780         * sysdeps/i386/fpu/libm-test-ulps: Update.
22781         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22783 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22785         * string/bcopy.c (bcopy): Call memmove for performance.
22787 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22789         * string/bzero.c (__bzero): Call memset for performance.
22791 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22793         [BZ #18068]
22794         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22795         to 00100000.
22797 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22799         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22801 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22803         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22804         (__kernel_standard): Use CSTR macro when setting exc.name.
22805         * sysdeps/ieee754/Makefile [$(subdir) = math]
22806         (CFLAGS-k_standard.c): Remove variable.
22808         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22809         setting p and q from "else if" to "else".
22810         (qzero): Likewise.
22811         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22812         (qone): Likewise.
22813         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22814         (qzerof): Likewise.
22815         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22816         (qonef): Likewise.
22817         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22818         (qzero): Likewise.
22819         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22820         (qone): Likewise.
22822         [BZ #18038]
22823         [BZ #18039]
22824         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22825         return pi/2 for arguments below 0x1p-113L.
22826         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22827         return pi/2 for arguments below 0x1p-106L.
22828         * math/auto-libm-test-in: Add more tests of acos.
22829         * math/auto-libm-test-out: Regenerated.
22831         [BZ #16351]
22832         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22833         (MO): New macro.
22834         (__ieee754_asin): Force underflow exception for results with small
22835         absolute value.
22836         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22837         (MO): New macro.
22838         (__ieee754_asinf): Force underflow exception for results with
22839         small absolute value.
22840         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22841         (__ieee754_asin): Force underflow exception for results with small
22842         absolute value.
22843         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22844         (__ieee754_asinf): Force underflow exception for results with
22845         small absolute value.
22846         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22847         (__ieee754_asinl): Force underflow exception for results with
22848         small absolute value.
22849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22850         (__ieee754_asinl): Force underflow exception for results with
22851         small absolute value.
22852         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22853         (__ieee754_asinl): Force underflow exception for results with
22854         small absolute value.
22855         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22856         Include <math.h>.
22857         * math/auto-libm-test-in: Do not mark underflow exceptions as
22858         possibly missing for bug 16351.
22859         * math/auto-libm-test-out: Regenerated.
22861         [BZ #18030]
22862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22863         of power of 2 down when low part has opposite sign.
22864         * math/libm-test.inc (logb_test_data): Add more tests.
22866 2015-02-26  Andreas Schwab  <schwab@suse.de>
22868         [BZ #18032]
22869         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22870         over collating symbol inside a bracket expression.  Minor cleanup.
22871         * posix/tst-fnmatch3.c (do_test): Add test case.
22873 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22875         [BZ #18029]
22876         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22877         Adjust exponent of power of 2 down when low part has opposite
22878         sign.
22879         * math/libm-test.inc (ilogb_test_data): Add more tests.
22881 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22883         [BZ #15969]
22884         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22885         the previous change.
22887         [BZ #15969]
22888         * locale/findlocale.c (_nl_find_locale): Retry archive search
22889         after alias expansion.
22891 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22893         * iconv/tst-iconv3.c (main): Converted to ...
22894         (do_test): ... this.
22895         (TEST_FUNCTION): New macro.
22896         Include test-skeleton.c.
22898         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22899         (convert): Make function static.
22900         (test_unalign): Likewise.  Add const to argument pointee types.
22901         (main): Replace with static function do_test.
22902         Print "Succeeded." only if RET is zero.
22903         (TEST_FUNCTION): New macro.
22904         Include test-skeleton.c.
22906         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22907         returns a null pointer.
22909 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22911         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22912         to __memcpy_ppc only for static builds.
22914 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22916         [BZ #18020]
22917         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22918         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22919         * math/auto-libm-test-in: Add more tests of asinh.
22920         * math/auto-libm-test-out: Regenerated.
22921         * sysdeps/i386/fpu/libm-test-ulps: Update.
22922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22924 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22926         [BZ #15850]
22927         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22928         and ip6_mtuinfo definitions here.
22929         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22930         in this define too.  Update comment.
22932 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22934         * elf/sprof.c (load_shobj): Tweak error message to match others.
22936 2015-02-24  Kevin Easton  <kevin@guarana.org>
22938         [BZ #16145] (partial fix)
22939         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22940         to reduce lock contention.
22942 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22944         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22945         (struct timex): Update time comment.
22946         (ADJ_SETOFFSET): Define.
22948 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22950         [BZ #18019]
22951         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22952         2**56 not 2**28 as threshold for log (2x) formula.
22953         * math/auto-libm-test-in: Add more tests of acosh.
22954         * math/auto-libm-test-out: Regenerated.
22955         * sysdeps/i386/fpu/libm-test-ulps: Update.
22956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22958 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22960         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22961         parenthesis around the buf assignment.
22962         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22964 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22966         [BZ #16783]
22967         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22968         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22969         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22970         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22971         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22972         * math/libm-test.inc (scalb_test_data): Add more tests.
22974 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22976         [BZ #17916]
22977         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22978         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22980 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22982         [BZ #17523]
22983         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22984         * io/bits/fcntl2.h (open): Use it.
22985         (openat): Likewise.
22986         * io/open.c (__libc_open): Likewise.
22987         * io/open64.c (__libc_open64): Likewise.
22988         * io/open64_2.c (__open64_2): Likewise.
22989         * io/open_2.c (__open_2): Likewise.
22990         * io/openat.c (__openat): Likewise.
22991         * io/openat64.c (__openat64): Likewise.
22992         * io/openat64_2.c (__openat64_2): Likewise.
22993         * io/openat_2.c (__openat_2): Likewise.
22994         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22995         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22996         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22997         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22998         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22999         (__open_nocancel): Likewise.
23000         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23001         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23002         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23004 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23006         [BZ #14841]
23007         * resolv/gethnamaddr.c (getanswer): Skip logging if
23008         RES_USE_DNSSEC is set.
23009         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23011 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23013         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23015 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23017         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23018         201304L, for Unicode 7.
23020 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23022         [BZ #17836]
23023         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23024         shared library.  Add gmon-start.os otherwise.
23025         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23026         $(objpfx)gmon-start.os if builing shared library.
23027         ($(objpfx)g$(static-start-installed-name)): Likewise.
23029 2015-02-23  Andreas Schwab  <schwab@suse.de>
23031         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23033 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23035         [BZ #17269]
23036         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23037         (enlarge_userbuf): Likewise.
23039 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23041         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23042         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23043         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23044         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23046 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23048         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23049         expression inside statement expression.
23051 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23053         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23054         <sysdeps/nptl/lowlevellock.h> and remove macros and
23055         functions that are now defined there.
23056         (SYS_futex): Remove.
23057         (lll_compare_and_swap): Remove.
23058         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23060 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23062         [BZ #17999]
23063         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23064         instead of scandirat.
23065         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23066         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23067         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23068         __scandirat.
23069         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23070         (__scandirat): Declare.  Use libc_hidden_proto.
23071         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23072         Remove variable.
23073         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23075 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23077         [BZ #15319]
23078         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23079         (MO): New macro.
23080         (__ieee754_atan2): For results with small absolute value, force
23081         underflow exception and remove excess range and precision from
23082         return value.
23083         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23084         (MO): New macro.
23085         (__ieee754_atan2f): For results with small absolute value, force
23086         underflow exception and remove excess range and precision from
23087         return value.
23088         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23089         (MO): New macro.
23090         (__atan): For results with small absolute value, force underflow
23091         exception and remove excess range and precision from return value.
23092         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23093         (MO): New macro.
23094         (__atanf): For results with small absolute value, force underflow
23095         exception and remove excess range and precision from return value.
23096         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23097         <math.h>.
23098         (__ieee754_atan2): Force underflow exception for results with
23099         small absolute value.
23100         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23101         <math_private.h>.
23102         (atan): Force underflow exception for results with small absolute
23103         value.
23104         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23105         (__atanf): Force underflow exception for results with small
23106         absolute value.
23107         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23108         <math.h>.
23109         (__atanl): Force underflow exception for results with small
23110         absolute value.
23111         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23112         (__atanl): Force underflow exception for results with small
23113         absolute value.
23114         * sysdeps/x86/fpu/bits/mathinline.h
23115         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23116         (__ieee754_atan2): Only define inline for long double.
23117         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23118         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23119         * math/auto-libm-test-in: Do not mark underflow exceptions as
23120         possibly missing for bug 15319.  Add more tests of atan2.
23121         * math/auto-libm-test-out: Regenerated.
23122         * math/libm-test.inc (casin_test_data): Do not mark underflow
23123         exceptions as possibly missing for bug 15319.
23124         (casinh_test_data): Likewise.
23125         * sysdeps/i386/fpu/libm-test-ulps: Update.
23127 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23129         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23130         * sysdeps/mips/bits/endian.h: Fix comments.
23132 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23134         [BZ #17996]
23135         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23136         (hdestroy_r): Likewise.
23137         (hsearch_r): Likewise.
23138         (__hcreate_r): Declare and use libc_hidden_proto.
23139         (__hdestroy_r): Likewise.
23140         (__hsearch_r): Likewise.
23141         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23142         (hcreate): Call __hcreate_r instead of hcreate_r.
23143         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23144         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23145         as weak alias of __hcreate_r.
23146         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23147         __hdestroy_r.
23148         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23149         __hsearch_r.
23150         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23151         Remove variable.
23152         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23153         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23154         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23155         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23157 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23160         arena_lock into a single arena_get.
23162 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23164         * dl-reloc.c: Inlucde libc-internal.h.
23165         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23166         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23167         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23168         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23169         (grow_heap): Likewise.
23170         * malloc/malloc.c: Include libc-internal.h.
23171         (do_check_malloc): Call powerof2.
23172         (sysmalloc): Use pagesize. Call ALIGN_UP.
23173         (systrim): Use pagesize.
23174         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23175         (__libc_valloc): Use pagesize.
23176         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23178 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23180         [BZ #17991]
23181         * include/sys/resource.h (__getrlimit64): Declare.  Use
23182         libc_hidden_proto.
23183         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23184         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23185         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23186         getrlimit64.
23187         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23188         __getrlimit64.
23189         [!getrlimit64] (getrlimit64): Define as weak alias of
23190         __getrlimit64.  Use libc_hidden_weak.
23191         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23192         using __getrlimit64 not __new_getrlimit64.
23193         (__GI_getrlimit64): Likewise.
23194         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23195         Likewise.
23196         (__GI_getrlimit64): Likewise.
23197         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23199         (getrlimit): Add __getrlimit64 alias.
23200         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23201         Likewise.
23202         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23203         Remove variable.
23204         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23205         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23207 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23209         * libio/fileops.c: Add missing sys/mman.h
23210         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23212 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23214         * manual/math.texi (Errors in Math Functions): Clarify goals
23215         regarding inexact and underflow exceptions.
23217 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23219         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23220         * sysdeps/mips/memset.S: Ditto.
23222 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23224         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23226 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23228         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23229         (__v1longjmp): Remove versioned symbol.
23230         (__v1siglongjmp): Remove alias and versioned symbol.
23231         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23232         (__v2siglongjmp): Likewise.
23234 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23236         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23238 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23240         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23242 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23244         [BZ #17987]
23245         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23246         zero result does not depend on the sign resulting from
23247         subtraction.
23248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23249         Likewise.
23250         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23251         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23252         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23253         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23254         * math/libm-test.inc (remquo_test_data): Add more tests.
23256 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23258         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23259         Problem reported by J William Piggott.
23261 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23263         [BZ #17978]
23264         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23265         products 4 * y and 2 * y where those would overflow.
23266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23267         Likewise.
23268         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23269         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23270         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23271         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23272         * math/libm-test.inc (remquo_test_data): Add more tests.
23274         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23276         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23277         [defined _COMPILING_NEWLIB].
23278         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23279         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23281         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23282         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23284 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23286         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23287         acquired.
23289 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23291         [BZ #17792]
23292         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23293         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23294         HOST_STACK_END_ADDR): Likewise.
23296 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23298         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23299         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23300         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23302 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23304         * sysdeps/generic/c++-types.data: New file.
23305         * sysdeps/generic/ld.abilist: New file.
23306         * sysdeps/generic/libBrokenLocale.abilist: New file.
23307         * sysdeps/generic/libanl.abilist: New file.
23308         * sysdeps/generic/libc.abilist: New file.
23309         * sysdeps/generic/libcrypt.abilist: New file.
23310         * sysdeps/generic/libdl.abilist: New file.
23311         * sysdeps/generic/libm.abilist: New file.
23312         * sysdeps/generic/libpthread.abilist: New file.
23313         * sysdeps/generic/libresolv.abilist: New file.
23314         * sysdeps/generic/librt.abilist: New file.
23316 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23318         [BZ #17569]
23319         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23320         Compute absolute value of x as modified by fmod, not original
23321         value of x.
23322         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23323         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23324         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23325         RUN_TEST_ffI_f1_mod8.
23326         (remquo_test_data): Add more tests.
23328 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23330         * sysdeps/init_array/pt-crti.S: New file.
23332 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23334         [BZ #17967]
23335         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23336         __builtin_fmaf instead of relying on contraction of a * b + c.
23338 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23340         [BZ #17969]
23341         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23342         node.
23344 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23346         [BZ #17964]
23347         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23348         __builtin_fma instead of relying on contraction of a * b + c.
23350 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23352         * Makeconfig (ASFLAGS): Add -Werror=undef.
23353         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23354         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23355         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23357         * Makeconfig (after-link): New variable.
23358         (+link-pie, +link-pie-tests): Use it.
23359         (+link-static, +link-static-tests): Likewise.
23360         (+link, +link-tests): Likewise.
23361         * Makerules (build-module, build-module-asneeded): Likewise.
23362         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23363         Likewise.
23364         * elf/Makefile ($(objpfx)ld.so): Likewise.
23366 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23368         [BZ #17965]
23369         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23370         both struct timeval and struct timespec.
23372 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23374         [BZ #16560]
23375         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23376         and redefine.
23377         (__ieee754_exp2l): Do not multiply small fractional parts by
23378         M_LN2l.
23379         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23380         small argument.
23381         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23382         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23383         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23384         * math/auto-libm-test-in: Add more tests of exp2.
23385         * math/auto-libm-test-out: Regenerated.
23387 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23389         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23390         unaligned path.
23392 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23394         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23395         little endian.
23397 2015-02-12  Andreas Schwab  <schwab@suse.de>
23399         [BZ #15790]
23400         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23401         Filter out elision flags from value returned in kind.
23402         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23403         * nptl/tst-pthread-mutexattr.c: New file.
23405 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23407         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23408         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23409         into gnu-gnu, and update comment to refer to abi-tags.
23411 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23413         [BZ #15467]
23414         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23415         (__sincos): Set errno to EDOM for infinite argument.
23416         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23417         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23418         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23419         (__sincosl): Set errno to EDOM for infinite argument.
23420         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23421         (__sincosl): Set errno to EDOM for infinite argument.
23422         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23423         (__sincosl): Set errno to EDOM for infinite argument.
23424         * math/libm-test.inc (sincos_test_data): Test errno setting.
23426 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23428         * string/strxfrm_l.c: Remove #define STRCMP.
23429         * string/strcoll_l.c: Remove #define STRLEN.
23430         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23431         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23433 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23435         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23436         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23437         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23438         * sysdeps/mips/mips64/Makefile: ... here.
23439         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23440         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23441         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23442         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23443         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23444         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23445         * sysdeps/mips/mips64/n64/Implies: Likewise.
23447 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23449         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23450         <sys/time.h>, <string.h>, and <errno.h>.
23451         (dest_offset, dest_address, value, zero): Remove unused variables.
23452         (ldouble): Remove typedef.
23453         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23454         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23455         1).  Fix code style.
23456         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23457         (check): Function removed.
23458         (CHECK): New macro.
23459         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23460         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23461         Don't call set_sigaction_FP and remove_sigaction_FP here.
23462         (ldouble_test): Just use 'long double' as macro argument, no need for
23463         the 'ldouble' typedef.
23464         (do_test): Set up SIGFPE handler at start, using plain signal rather
23465         than sigaction.  Fix code style.
23467 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23469         [BZ #17949]
23470         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23471         jump label.
23473 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23475         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23476         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23478         * sysdeps/powerpc/configure.ac: Remove file.
23479         * sysdeps/powerpc/configure: Likewise.
23481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23482         [sysdep_routines]: Remove wordcopy-power6 object.
23483         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23484         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23485         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23486         (__memmove_ppc32): Likewise.
23487         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23488         file.
23489         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23491         Remove preprocessor.
23493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23494         [sysdep_routines]: Remove wide chars objects.
23495         [wcsmbs]: New rule for wide char objects.
23497         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23498         Remove wordcopy-power6 obejct.
23499         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23500         Use local call for wordcopy and memcpy symbols.
23501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23503         implementation for loader.
23504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23507         Remove wordcopy-power7 object.
23508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23509         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23510         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23511         (_wordcopy_fwd_dest_aligned): Likewise.
23512         (_wordcopy_bwd_aligned): Likewise.
23513         (_wordcopy_bwd_dest_aligned): Likewise.
23515         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23516         Rewrite to call __memmove_ppc instead of include default
23517         implementation.
23519         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23520         Remove wide chars objects.
23521         [wcsmbs]: New rule for wide char objects.
23523 2015-02-09  Andreas Schwab  <schwab@suse.de>
23525         [BZ #17912]
23526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23527         in terms of __O_DIRECTORY.
23529 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23531         * time/getdate.c: Include <stdbool.h>.
23532         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23533         call PTR_MANGLE.
23534         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23535         PTR_DEMANGLE.
23537 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23539         Add ersatz _Static_assert on older C hosts
23540         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23541         pre-C11 C platform that is not known to support _Static_assert.
23543 2015-02-07  Richard Braun  <rbraun@sceen.net>
23545         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23546         sigstate.
23547         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23549 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23551         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23552         priority against unexistent AIO_PRIO_DELTA_MAX.
23553         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23554         instead of int.
23555         * misc/fchflags.c (fchflags): Likewise.
23556         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23557         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23558         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23559         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23560         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23561         Declare macros.
23562         [__USE_MISC] (chflags, fchflags): Declare functions.
23563         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23564         EINVAL when nfds is greater than FD_SETSIZE.
23565         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23566         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23567         45.
23568         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23569         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23570         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23571         MACH_RCV_TIMED_OUT.
23572         * hurd/hurd/signal.h (_hurd_self_sigstate,
23573         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23574         Explicit casts from void *.
23575         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23576         * abi-tags: Rename gnu-gnu os into gnu.
23578         [BZ #4719]
23579         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23580         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23581         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23582         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23583         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23584         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23586         [BZ #17944]
23587         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23588         duplicates ADDR->sun_path with sockaddr LEN limitation.
23589         * sysdeps/mach/hurd/connect.c: Include <string.h>
23590         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23591         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23592         * sysdeps/mach/hurd/sendto.c: Likewise.
23593         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23594         implementing it by hand.
23596 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23598         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23599         Use sfi_breg on ldr.
23600         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23601         Likewise.
23603         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23604         it's defined.
23605         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23606         Test SIGSETXID only if it's defined.
23608         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23610         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23611         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23613         * nptl/tst-align2.c: Moved ...
23614         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23615         * nptl/Makefile (tests): Remove tst-align2.
23616         * sysdeps/unix/sysv/linux/Makefile
23617         [$(subdir) = nptl] (tests): Add tst-align-clone.
23618         * nptl/tst-getpid1.c: Moved ...
23619         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23620         * nptl/tst-getpid2.c: Moved ...
23621         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23622         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23623         * sysdeps/unix/sysv/linux/Makefile
23624         [$(subdir) = nptl] (tests): ... here.
23625         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23626         * sysdeps/unix/sysv/linux/Makefile
23627         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23629         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23630         Drop trailing \n from perror argument.  Use return rather than exit.
23632         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23633         on [SA_SIGINFO].
23634         * nptl/tst-cancel21.c (do_test): Likewise.
23635         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23636         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23637         [!SA_SIGINFO]: Make it a stub test.
23639         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23640         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23642         * posix/tst-getlogin.c: Move to ...
23643         * login/tst-getlogin.c: ... here.
23644         * posix/Makefile (tests): Move tst-getlogin to ...
23645         * login/Makefile (tests): ... here.
23647         * libio/tst-atime.c (do_test): Move local variables SV and E
23648         inside [ST_NOATIME] conditional.
23650         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23652         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23654         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23655         (wait_code): New function replaces macro.
23656         Call nanosleep rather than syscall.
23658         * nptl/pt-system.c: Rewritten.  Put everything under
23659         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23660         Use IFUNC to redirect when possible.
23662         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23663         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23664         Use IFUNC to redirect when possible.
23666         * nptl/pt-fork.c: Rewritten.  Put everything under
23667         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23668         Use IFUNC to redirect when possible.
23669         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23671         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23672         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23673         unconditionally nowadays.  This included the only reference to
23674         __vdso_clock_gettime that appears outside libc proper.
23675         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23676         Remove version set (containing only __vdso_clock_gettime).
23677         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23678         Add attribute_hidden.
23679         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23680         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23681         libc_hidden_data_def.
23682         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23683         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23685         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23686         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23687         setrpcent, and getrpcport to ...
23688         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23689         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23690         getrpcbynumber_r, and getrpcent_r to ...
23691         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23692         * inet/getrpcbyname.c: Moved ...
23693         * sunrpc/getrpcbyname.c: ... here.
23694         * inet/getrpcbyname_r.c: Moved ...
23695         * sunrpc/getrpcbyname_r.c: ... here.
23696         * inet/getrpcbynumber.c: Moved ...
23697         * sunrpc/getrpcbynumber.c: ... here.
23698         * inet/getrpcbynumber_r.c: Moved ...
23699         * sunrpc/getrpcbynumber_r.c: ... here.
23700         * inet/getrpcent.c: Moved ...
23701         * sunrpc/getrpcent.c: ... here.
23702         * inet/getrpcent_r.c: Moved ...
23703         * sunrpc/getrpcent_r.c: ... here.
23704         * inet/Makefile (routines): Move those to ...
23705         * sunrpc/Makefile (routines): ... here.
23706         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23707         the $(subdirs) list.
23708         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23709         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23710         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23711         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23713         * elf/Makefile (routines): Include $(all-dl-routines), not just
23714         $(dl-routines).
23715         (rtld-routines): Likewise.  Use = rather than :=.
23716         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23717         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23718         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23719         * sysdeps/arm/Makefile: Likewise.
23720         * sysdeps/i386/Makefile: Likewise.
23721         * sysdeps/x86_64/Makefile: Likewise.
23722         * sysdeps/hppa/Makefile [$(subdir) = elf]
23723         (sysdep_routines, sysdep-rtld-routines): Don't add
23724         $(sysdep-dl-routines) to these.
23725         * sysdeps/ia64/Makefile: Likewise.
23726         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23727         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23728         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23729         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23730         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23731         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23732         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23733         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23734         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23735         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23736         these; sysdep-dl-routines alone is enough.
23738 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23740         [BZ #17932]
23741         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23742         where multiplication results in zero and third argument is finite
23743         and nonzero.
23744         * math/auto-libm-test-in: Add more tests of fma.
23745         * math/auto-libm-test-out: Regenerated.
23747         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23748         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23749         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23750         (_FP_CMP_EQ): Likewise.
23751         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23753         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23754         extra argument CHECK_NAN.  Redefine as wrapper around
23755         _FP_EXTEND_CNAN.
23757 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23759         * version.h (RELEASE): Set to "stable".
23760         (VERSION): Set to "2.21"
23761         * include/features.h (__GLIBC_MINOR__): Set to 21.
23763         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23765 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23766             Paul Eggert  <eggert@cs.ucla.edu>
23768         [BZ #16618]
23769         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23770         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23771         size in bytes. Store needed elements in wpmax. Use needed size
23772         in bytes for extend_alloca.
23774 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23776         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23777         binutls 2.25, and texinfo 5.2.
23778         * INSTALL: Regenerate.
23779         * sysdeps/nios2/configure: Regenerate.
23780         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23781         * manual/contrib.texi: Update.
23782         * po/be.po: Update.
23783         * po/bg.po: Update.
23784         * po/ca.po: Update.
23785         * po/cs.po: Update.
23786         * po/da.po: Update.
23787         * po/de.po: Update.
23788         * po/el.po: Update.
23789         * po/eo.po: Update.
23790         * po/es.po: Update.
23791         * po/fi.po: Update.
23792         * po/fr.po: Update.
23793         * po/gl.po: Update.
23794         * po/hr.po: Update.
23795         * po/hu.po: Update.
23796         * po/ia.po: Update.
23797         * po/id.po: Update.
23798         * po/it.po: Update.
23799         * po/ja.po: Update.
23800         * po/ko.po: Update.
23801         * po/lt.po: Update.
23802         * po/nb.po: Update.
23803         * po/nl.po: Update.
23804         * po/pl.po: Update.
23805         * po/pt_BR.po: Update.
23806         * po/ru.po: Update.
23807         * po/rw.po: Update.
23808         * po/sk.po: Update.
23809         * po/sl.po: Update.
23810         * po/sv.po: Update.
23811         * po/tr.po: Update.
23812         * po/uk.po: Update.
23813         * po/vi.po: Update.
23814         * po/zh_CN.po: Update.
23815         * po/zh_TW.po: Update.
23817         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23818         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23819         * sysdeps/hppa/dl-irel.h: Remove #warning.
23820         * sysdeps/hppa/entry.h: Provide prototype for
23821         __canonicalize_funcptr_for_compare and cast argument.
23822         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23823         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23824         * sysdeps/hppa/sotruss-lib.c: New file.
23825         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23826         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23827         (atomic_compare_and_exchange_bool_acq): Likewise.
23828         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23829         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23831         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23832         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23833         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23835 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23837         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23838         called function in non-PIC case.
23840 2015-01-31  David S. Miller  <davem@davemloft.net>
23842         * sysdeps/sparc/sparc32/bits/atomic.h
23843         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23844         unlock not after it.
23845         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23846         volatile register usage warnings from the compiler.
23848         * sysdeps/sparc/nptl/sem_init.c: Delete.
23849         * sysdeps/sparc/nptl/sem_post.c: Delete.
23850         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23851         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23852         * sysdeps/sparc/sparc32/sem_init.c: New file.
23853         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23854         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23855         padding explicitly initialized.
23856         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23857         padding for in-semaphore spinlock.
23858         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23859         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23860         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23861         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23862         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23863         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23864         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23865         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23866         version.
23867         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23868         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23870 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23872         [BZ #17801]
23873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23874         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23875         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23876         New.
23877         (index_AVX_Fast_Unaligned_Load): Likewise.
23878         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23879         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23880         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23881         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23882         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23883         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23884         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23885         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23886         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23888 2015-01-29  Andreas Schwab  <schwab@suse.de>
23890         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23892 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23894         [BZ #17892]
23895         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23897 2015-01-28  Martin Sebor  <msebor@redhat.com>
23899         * math/README.libm-test: Clarify. Add "How to read the test output."
23901 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23903         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23904         Define to 0.
23906 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23908         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23909         (__HAVE_64B_ATOMICS): Define to 0.
23911 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23913         [BZ #17885]
23914         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23915         value to set as new flag.
23917         [BZ #16576]
23918         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23919         and use _ARCH_PPCSQ instead.
23920         (__ieee754_sqrt): Likewise.
23921         (__ieee754_sqrtf): Likewise.
23922         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23923         _ARCH_PPCSQ is defined.
23924         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23925         fsqrt instruction.
23926         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23927         _ARCH_PPCSQ is defined.
23928         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23929         fsqrts instruction.
23930         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23932 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23934         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23935         bug (GCC BZ #64739).
23937 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23939         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23940         Mark _retval as used.
23941         (lll_futex_wake_unlock): Likewise.
23942         (lll_futex_timed_wait_requeue_pi): Likewise.
23944         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23945         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23946         register variables.
23948         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23949         libm_hidden_def.
23951         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23952         (__bswap_64): Mark as __always_inline.
23954 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23956         [BZ #15378]
23957         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23958         when none of the search directories exist.
23960 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23962         [BZ #17869]
23963         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23964         power8 in .machine directive.
23966         [BZ #17868]
23967         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23968         set dependency from opd value.
23970 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23973         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23974         architecture.
23976 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23978         [BZ #17870]
23979         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23980         with uint64_t.
23981         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23982         (uint64_t) 1.
23983         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23984         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23985         Replace 1UL with (uint64_t) 1.
23986         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23987         int with uint64_t.
23989 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23991         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23992         (if_freenameindex): Likewise.
23994         * resource/getrlimit64.c: Add missing libc_hidden_def.
23996 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23998         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23999         __label__.
24000         (_FP_FMA): Likewise.
24001         (_FP_TO_INT_ROUND): Likewise.
24002         (_FP_FROM_INT): Likewise.
24004 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24006         [BZ #16418]
24007         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24008         Make code racy and cancel safe.
24010 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24012         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24013         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24014         attribution.
24016         * pwd/tst-getpw.c: Rewrite.
24018         [BZ #17702]
24019         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24020         (modules-names): Add moddummy1 and moddummy2.
24021         ($(objpfx)tst-rec-dlopen): Define.
24022         * dlfcn/moddummy1.c: New file.
24023         * dlfcn/moddummy2.c: New file.
24024         * dlfcn/tst-rec-dlopen.c: New file.
24025         * elf/dl-cache.c (_dl_load_cache_lookup):
24026         Return char*. Copy result with alloca/strcpy/strdup.
24027         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24028         returns char*. Free cached. If not saving realname
24029         free cached.
24030         * elf/dl-open.c (dl_open_worker): Do not assert that
24031         _r_debug->r_state is RT_CONSISTENT.
24032         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24033         returns char*.
24035 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24036             Carlos O'Donell  <carlos@redhat.com>
24038         [BZ #12674]
24039         * nptl/sem_waitcommon.c: New file.
24040         * nptl/sem_wait.c: Include sem_waitcommon.c.
24041         (__sem_wait_cleanup, do_futex_wait): Remove.
24042         (__new_sem_wait): Adapt.
24043         (__new_sem_trywait): New function.
24044         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24045         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24046         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24047         (sem_timedwait): Adapt.
24048         * nptl/sem_post.c (__new_sem_post): Adapt.
24049         (futex_wake): New function.
24050         (__old_sem_post): Add release MO fence.
24051         * nptl/sem_open.c (sem_open): Adapt.
24052         * nptl/sem_init.c (__new_sem_init): Adapt.
24053         (futex_private_if_supported): New function.
24054         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24055         (__old_sem_getvalue): Add using previous code.
24056         * sysdeps/nptl/internaltypes.h: Adapt.
24057         * nptl/tst-sem13.c (do_test): Adapt.
24058         * nptl/tst-sem11.c (main): Adapt.
24059         * nptl/sem_trywait.c: Remove.
24060         * nptl/DESIGN-sem.txt: Remove.
24061         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24062         (gen-as-const-headers): Remove structsem.sym.
24063         * nptl/structsem.sym: Remove.
24064         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24065         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24066         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24067         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24068         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24069         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24070         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24071         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24072         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24073         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24074         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24075         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24076         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24077         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24078         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24079         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24080         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24081         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24082         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24083         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24084         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24085         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24087 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24089         * INSTALL: Regenerated.
24091         * po/libc.pot: Regenerated.
24093 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24094             Sandra Loosemore  <sandra@codesourcery.com>
24095             Andrew Jenner  <andrew@codesourcery.com>
24096             Joseph Myers  <joseph@codesourcery.com>
24097             Nathan Sidwell  <nathan@codesourcery.com>
24099         * NEWS: Mention new Nios II port.
24100         * sysdeps/nios2/Implies: New file.
24101         * sysdeps/nios2/Makefile: New file.
24102         * sysdeps/nios2/Subdirs: New file.
24103         * sysdeps/nios2/Versions: New file.
24104         * sysdeps/nios2/__longjmp.S: New file.
24105         * sysdeps/nios2/abort-instr.h: New file.
24106         * sysdeps/nios2/backtrace.c: New file.
24107         * sysdeps/nios2/bits/endian.h: New file.
24108         * sysdeps/nios2/bits/fenv.h: New file.
24109         * sysdeps/nios2/bits/link.h: New file.
24110         * sysdeps/nios2/bits/setjmp.h: New file.
24111         * sysdeps/nios2/bsd-_setjmp.S: New file.
24112         * sysdeps/nios2/bsd-setjmp.S: New file.
24113         * sysdeps/nios2/configure: New generated file.
24114         * sysdeps/nios2/configure.ac: New file.
24115         * sysdeps/nios2/crti.S: New file.
24116         * sysdeps/nios2/crtn.S: New file.
24117         * sysdeps/nios2/dl-init.c: New file.
24118         * sysdeps/nios2/dl-machine.h: New file.
24119         * sysdeps/nios2/dl-sysdep.h: New file.
24120         * sysdeps/nios2/dl-tls.h: New file.
24121         * sysdeps/nios2/dl-trampoline.S: New file.
24122         * sysdeps/nios2/gccframe.h: New file.
24123         * sysdeps/nios2/gmp-mparam.h: New file.
24124         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24125         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24126         * sysdeps/nios2/ldsodefs.h: New file.
24127         * sysdeps/nios2/libc-tls.c: New file.
24128         * sysdeps/nios2/libm-test-ulps: New file.
24129         * sysdeps/nios2/machine-gmon.h: New file.
24130         * sysdeps/nios2/math-tests.h: New file.
24131         * sysdeps/nios2/math_private.h: New file.
24132         * sysdeps/nios2/memusage.h: New file.
24133         * sysdeps/nios2/nptl/Makefile: New file.
24134         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24135         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24136         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24137         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24138         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24139         * sysdeps/nios2/nptl/tls.h: New file.
24140         * sysdeps/nios2/preconfigure: New file.
24141         * sysdeps/nios2/s_fma.c: New file.
24142         * sysdeps/nios2/s_fmaf.c: New file.
24143         * sysdeps/nios2/setjmp.S: New file.
24144         * sysdeps/nios2/sfp-machine.h: New file.
24145         * sysdeps/nios2/sotruss-lib.c: New file.
24146         * sysdeps/nios2/stackguard-macros.h: New file.
24147         * sysdeps/nios2/stackinfo.h: New file.
24148         * sysdeps/nios2/start.S: New file.
24149         * sysdeps/nios2/sysdep.h: New file.
24150         * sysdeps/nios2/tls-macros.h: New file.
24151         * sysdeps/nios2/tst-audit.h: New file.
24152         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24153         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24154         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24155         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24156         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24157         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24158         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24159         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24160         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24161         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24162         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24163         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24164         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24165         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24166         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24167         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24168         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24169         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24170         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24171         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24172         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24173         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24174         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24175         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24176         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24177         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24178         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24179         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24180         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24181         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24182         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24183         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24184         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24185         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24186         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24187         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24188         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24189         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24190         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24191         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24192         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24193         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24194         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24195         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24197 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24199         [BZ #17844]
24200         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24201         (getutent): Use weak_alias in non SHARED case
24202         and default_symbol_version in SHARED case.
24203         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24204         (getutent_r, pututline): Likewise.
24205         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24206         (getutid): Likewise.
24207         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24208         (getutid_r): Likewise.
24209         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24210         (getutline): Likewise.
24211         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24212         (getutline_r): Likewise.
24213         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24214         (updwtmp): Likewise.
24216 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24218         [BZ #17848]
24219         * sysdeps/s390/s390-32/memcmp.S
24220         (memcmp_g5): Rename to __memcmp_g5.
24221         * sysdeps/s390/s390-32/memcpy.S
24222         (memcpy_g5): Rename to __memcpy_g5.
24223         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24224         (memcpy_mvcle) Rename to __memcpy_mvcle.
24225         * sysdeps/s390/s390-32/memset.S
24226         (memset_g5): Rename to __memset_g5.
24227         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24228         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24229         and use prefixed functions.
24230         * sysdeps/s390/s390-32/multiarch/memcmp.S
24231         (memcmp_z196): Rename to __memcmp_z196.
24232         (memcmp_z10): Rename to __memcmp_z10.
24233         (memcmp): Set alias to __memcmp_g5.
24234         (bcmp): Set alias to __memcmp_g5.
24235         * sysdeps/s390/s390-32/multiarch/memcpy.S
24236         (memcpy_z196): Rename to __memcpy_z196.
24237         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24238         (memcpy_z10): Rename to __memcpy_z10.
24239         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24240         (memcpy): Set alias to __memcpy_g5.
24241         * sysdeps/s390/s390-32/multiarch/memset.S
24242         (memset_z196): Rename to __memset_z196.
24243         Jump to __memset_mvcle instead of memset_mvcle.
24244         (memset_z10): Rename to __memset_z10.
24245         Jump to __memset_mvcle instead of memset_mvcle.
24246         (memset_mvcle) Rename to __memset_mvcle.
24247         (memset): Set alias to __memset_g5.
24248         * sysdeps/s390/s390-64/memcmp.S
24249         (memcmp_z900): Rename to __memcmp_z900.
24250         * sysdeps/s390/s390-64/memcpy.S
24251         (memcpy_z900): Rename to __memcpy_z900.
24252         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24253         (memcpy_mvcle) Rename to __memcpy_mvcle.
24254         * sysdeps/s390/s390-64/memset.S
24255         (memset_z900): Rename to __memset_z900.
24256         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24257         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24258         and use prefixed functions.
24259         * sysdeps/s390/s390-64/multiarch/memcmp.S
24260         (memcmp_z196): Rename to __memcmp_z196.
24261         (memcmp_z10): Rename to __memcmp_z10.
24262         (memcmp): Set alias to __memcmp_z900.
24263         (bcmp): Set alias to __memcmp_z900.
24264         * sysdeps/s390/s390-64/multiarch/memcpy.S
24265         (memcpy_z196): Rename to __memcpy_z196.
24266         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24267         (memcpy_z10): Rename to __memcpy_z10.
24268         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24269         (memcpy): Set alias to __memcpy_z900.
24270         * sysdeps/s390/s390-64/multiarch/memset.S
24271         (memset_z196): Rename to __memset_z196.
24272         Jump to __memset_mvcle instead of memset_mvcle.
24273         (memset_z10): Rename to __memset_z10.
24274         Jump to __memset_mvcle instead of memset_mvcle.
24275         (memset_mvcle) Rename to __memset_mvcle.
24276         (memset): Set alias to __memset_z900.
24278 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24280         [BZ #17748]
24281         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24282         __fesetenv instead of fesetenv.
24284 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24286         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24287         macro.
24289 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24291         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24292         regression on LE.
24294         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24295         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24296         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24297         strncmp-power8 object.
24298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24299         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24300         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24301         * NEWS: Update.
24303 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24304             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24306         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24307         trailing byte check.
24309 2015-01-13  David S. Miller  <davem@davemloft.net>
24311         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24313 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24315         * login/logout.c (logout): Use memset rather than bzero.
24316         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24317         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24318         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24319         (_gethtbyaddr): Likewise.
24320         * locale/programs/simple-hash.c (bcopy): Macro removed.
24322 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24324         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24325         Add strcmp-power8 object.
24326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24327         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24328         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24329         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24330         __strcmp_power8 implementation.
24331         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24332         * NEWS: Update.
24334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24335         Add strncpy-power8 and stpncpy-power8 objects.
24336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24337         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24338         implementations.
24339         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24340         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24341         __stpncpy_power8 implementation.
24342         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24343         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24344         __strncpy_power8 implementation.
24345         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24346         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24347         * NEWS: Update.
24349         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24350         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24351         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24353         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24354         strncat-power8 object.
24355         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24356         __strcat_power8 implementation.
24357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24358         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24359         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24360         optimized strcat for power8.
24362         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24363         strcpy-power8 and stpcpy-power8 objects.
24364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24365         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24366         implementations.
24367         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24368         multiarch stpcpy implementation for POWER8.
24369         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24370         multiarch strcpy implementation for POWER8.
24371         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24372         __strcpy_power8 function.
24373         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24374         stpcpy for POWER8.
24375         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24376         strcpy for POWER8.
24377         * NEWS: Update.
24379 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24381         [BZ #16009]
24382         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24383         weights and rules. Use do_xfrm_cached if data fits in cache,
24384         do_xfrm otherwise.  Moved former main loop to...
24385         * (do_xfrm_cached): New function.
24386         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24387         find_idx, find_position and stack_push.
24388         * (find_idx): New function.
24389         * (find_position): Likewise.
24390         * localedata/sort-test.sh: Added test run for do_xfrm.
24391         * localedata/xfrm-test.c (main): Added command line option
24392         -nocache to run the test with strings that are too large for
24393         the STRXFRM cache.
24395 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24397         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24398         variable to lll_futex_wake call, not the value itself.
24400 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24402         [BZ #17803]
24403         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24404         twom64.  Adjust value to 0x1p-64L.
24405         (__scalblnl): Only return standard underflowing result for K <=
24406         -64 not K <= -63; adjust exponent for underflowing result by 64
24407         not 63.
24408         * math/libm-test.inc (scalbn_test_data): Add more tests.
24409         (scalbln_test_data): Likewise.
24411         [BZ #17834]
24412         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24413         0x1p63L.
24414         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24415         not HX.
24416         * math/libm-test.inc (scalbn_test_data): Add more tests.
24417         (scalbln_test_data): Likewise.
24419 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24420             Stefani Seibold  <stefani@seibold.net>
24422         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24423         (sysdep_routines): Add dl-vdso here, ...
24424         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24425         (sysdep_routines): ... not here.
24426         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24427         fallback when vDSO is not presented.
24428         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24429         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24430         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24431         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24432         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24433         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24434         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24435         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24436         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24437         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24438         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24439         fallback configurable symbol when vDSO is not available.
24440         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24441         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24442         be able to redefine fallback symbol when vDSO is not available.
24443         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24444         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24446 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24448         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24449         (TLS_INIT_TP): Add tm_capable initialization.
24450         (TLS_DEFINE_INIT_TP): Likewise.
24451         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24452         TCB.
24453         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24454         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24455         calculation.
24456         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24457         transactoion is lock elision is built and TCB tm_capable is set.
24458         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24460         (INTERNAL_SYSCALL_NCS): Likewise.
24461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24462         (INTERNAL_SYSCALL_NCS): Likewise.
24463         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24465         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24466         for powerpc.
24467         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24468         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24469         and remove it for 32 bits case.
24470         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24471         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24472         initialization.
24473         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24474         Disable lock elision with rdlocks if elision is not available.
24476         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24477         (sysdep_routines): Add lock elision objects.
24478         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24479         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24480         [pthread_mutex_t] (__elision): Add field.
24481         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24482         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24483         elision definitions for powerpc.
24484         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24485         implementation of lock elision for powerpc.
24486         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24487         implementation of timed lock elision for powerpc.
24488         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24489         implementation of trylock with lock elision for powerpc.
24490         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24491         implementaion of unlock for lock elision for powerpc.
24492         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24493         automatic enable lock elision for mutexes.
24494         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24495         transaction execution definitions for powerpc.
24496         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24497         definitions.
24498         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24499         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24500         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24501         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24502         * NEWS: Update.
24504 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24506         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24507         for #include of <shm-directory.h>.
24509 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24511         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24512         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24514 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24516         [BZ #17791]
24517         * NEWS: Mention bug fix.
24518         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24519         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24520         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24522 2015-01-09  Torvald Riegel <triegel@redhat.com>
24524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24526 2015-01-09  Torvald Riegel <triegel@redhat.com>
24528         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24530 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24532         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24533         pointer and cast to uintptr_t.
24535 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24537         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24538         removed.
24539         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24541 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24543         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24544         of 0.
24546 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24548         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24549         <nptl/pthreadP.h> instead.
24550         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24552         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24553         already defined.
24554         [__SIGRTMIN] (init): Function removed.
24555         [__SIGRTMIN] (initialized): Variable removed.
24556         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24557         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24558         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24559         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24560         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24561         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24562         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24563         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24564         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24565         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24566         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24567         * sysdeps/nptl/allocrtsig.c: New file.
24568         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24569         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24570         * sysdeps/generic/testrtsig.h: File removed.
24572         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24573         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24575         * nptl/nptl-init.c (pthread_functions): Conditionalize
24576         .ptr__nptl_setxid initialization on [SIGSETXID].
24578         * sysdeps/nptl/sys/procfs.h: New file.
24579         * nptl_db/Makefile (headers): Add it.
24580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24582         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24583         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24584         * nptl/pthread_attr_setaffinity.c: Include it.
24585         * nptl/pthread_setattr_default_np.c: Likewise.
24586         * nptl/check-cpuset.h: New file.
24588 2015-01-08  Richard Henderson  <rth@redhat.com>
24590         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24591         (CFLAGS-tst-execstack-prog.c): Likewise.
24592         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24594 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24595             Sandra Loosemore  <sandra@codesourcery.com>
24596             Andrew Jenner  <andrew@codesourcery.com>
24597             Joseph Myers  <joseph@codesourcery.com>
24598             Nathan Sidwell  <nathan@codesourcery.com>
24600         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24601         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24602         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24603         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24604         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24605         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24606         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24607         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24608         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24609         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24610         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24611         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24612         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24613         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24614         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24615         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24616         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24618 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24620         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24621         timespec struct member in syscall macro.
24622         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24623         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24624         first timeval struct member in syscall macro.
24625         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24627 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24629         [BZ #17748]
24630         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24631         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24632         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24633         __feupdateenv and define as weak alias of __feupdateenv.  Use
24634         libm_hidden_weak.
24635         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24636         libm_hidden_def.
24637         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24638         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24639         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24640         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24641         libm_hidden_def.
24642         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24643         __feupdateenv and define as weak alias of __feupdateenv.  Use
24644         libm_hidden_weak.
24645         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24646         libm_hidden_def.
24647         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24648         __feupdateenv and define as weak alias of __feupdateenv.  Use
24649         libm_hidden_weak.
24650         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24651         libm_hidden_def.
24652         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24653         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24654         (__feupdateenv): Likewise.
24655         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24656         __feupdateenv and define as weak alias of __feupdateenv.  Use
24657         libm_hidden_weak.
24658         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24659         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24660         libm_hidden_def.
24661         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24662         function.
24663         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24664         libm_hidden_def.
24665         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24666         __feupdateenv instead of feupdateenv.
24667         (default_libc_feupdateenv_test): Likewise.
24668         (libc_feresetround_ctx): Likewise.
24670 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24672         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24673         prototype.
24675 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24677         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24678         COLL_SYM in a couple of places to avoid uninitialized variable
24679         wanings on tilegx gcc 4.8.2.
24681 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24683         * sysdeps/aarch64/strcpy.S: New file.
24684         * sysdeps/aarch64/stpcpy.S: New file.
24685         * NEWS: Updated.
24687 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24689         * sysdeps/aarch64/strrchr.S: New file.
24690         * NEWS: Updated.
24692 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24694         [BZ #17658]
24695         * stdlib/setenv.c: Fix memory leak when setting large,
24696         duplicate string.
24698 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24700         [BZ #17273]
24701         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24702         and tabs from buffer before parsing fstab entry.
24703         * misc/tst-mntent.c (main): Add test for mount entry with
24704         trailing spaces and tabs.
24706 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24708         [BZ #17748]
24709         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24710         * math/fesetround.c (fesetround): Rename to __fesetround and
24711         define as weak alias of __fesetround.  Use libm_hidden_weak.
24712         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24713         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24714         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24715         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24716         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24717         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24718         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24719         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24720         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24721         __fesetround_inline.
24722         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24723         __fesetround_inline instead of __fesetround.
24724         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24725         __fesetround and define as weak alias of __fesetround.  Use
24726         libm_hidden_weak.  Call __fesetround_inline instead of
24727         __fesetround.
24728         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24729         __fesetround and define as weak alias of __fesetround.  Use
24730         libm_hidden_weak.
24731         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24732         Likewise.
24733         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24734         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24735         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24736         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24737         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24738         __fesetround and define as weak alias of __fesetround.  Use
24739         libm_hidden_weak.
24740         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24741         __fesetround instead of fesetround.
24742         (default_libc_feholdexcept_setround): Likewise.
24743         (libc_feholdsetround_ctx): Likewise.
24744         (libc_feholdsetround_noex_ctx): Likewise.
24746         [BZ #17748]
24747         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24748         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24749         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24750         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24751         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24752         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24753         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24754         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24755         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24756         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24757         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24758         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24759         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24760         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24761         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24762         libm_hidden_def.
24763         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24764         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24765         Likewise.
24766         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24767         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24768         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24769         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24770         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24771         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24772         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24773         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24774         __fesetenv instead of fesetenv.
24775         (libc_feresetround_noex_ctx): Likewise.
24776         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24777         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24778         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24779         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24780         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24781         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24782         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24783         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24784         (__feupdateenv): Likewise.
24785         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24786         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24787         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24788         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24790 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24792         [BZ #17806]
24793         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24794         addresses have been freed.
24796 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24798         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24799         and nservall.
24801 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24803         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24804         Clean up check_pf allocation pattern. addresses
24806 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24808         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24809         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24810         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24811         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24812         * nptl/pthread_join.c (pthread_join): Likewise.
24813         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24814         * sysdeps/posix/waitid.c (__waitid): Likewise.
24815         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24816         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24817         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24818         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24820         Likewise.
24821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24822         (__libc_pread64): Likewise.
24823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24824         (__libc_pwrite): Likewise.
24825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24826         (__libc_pwrite64): Likewsie.
24827         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24828         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24829         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24830         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24831         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24832         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24833         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24835         Likewise.
24836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24837         (__libc_pread64): Likewise.
24838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24839         Likewise.
24840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24841         (__libc_pwrite64): Likewise.
24842         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24843         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24844         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24845         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24846         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24847         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24848         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24849         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24850         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24851         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24852         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24853         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24854         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24855         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24856         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24857         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24858         Likewise.
24860 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24862         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24863         (CFLAGS-test-double.c): Likewise.
24864         (CFLAGS-test-ldouble.c): Likewise.
24865         (CPPFLAGS-test-ifloat.c): Likewise.
24866         (CPPFLAGS-test-idouble.c): Likewise.
24867         (CPPFLAGS-test-ildoubl.c): Likewise.
24868         (CFLAGS-test-test-fenv.c): Remove variable.
24869         (CFLAGS-test-misc.c): Likewise.
24871 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24873         [BZ #17797]
24874         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24875         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24876         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24877         CLOCKS_PER_SEC == 1000000.
24878         * time/clocktest.c (main): Replace %ld with %jd and cast to
24879         intmax_t.
24881 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24883         * sysdeps/generic/unwind-resume.h: New file.
24884         * sysdeps/gnu/unwind-resume.c: Include it.
24885         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24886         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24887         argument list.
24888         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24889         global rather than static.
24890         (_Unwind_Resume): Update user.
24891         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24892         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24893         rather than static.  Add __attribute__ ((cold)).
24894         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24895         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24896         * sysdeps/arm/arm-unwind-resume.S: New file.
24897         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24898         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24899         * sysdeps/arm/Makefile [$(subdir) = csu]
24900         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24901         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24902         Add rt-arm-unwind-resume.
24903         [$(subdir) = nptl]
24904         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24905         Add pt-arm-unwind-resume.
24906         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24907         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24909 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24911         [BZ #17748]
24912         * include/fenv.h (__feholdexcept): Declare.  Use
24913         libm_hidden_proto.
24914         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24915         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24916         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24917         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24918         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24919         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24920         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24921         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24922         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24923         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24924         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24925         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24926         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24927         (feholdexcept): Likewise.
24928         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24929         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24930         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24931         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24932         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24933         __feholdexcept instead of feholdexcept.
24934         (default_libc_feholdexcept_setround): Likewise.
24936 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24938         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24939         to avoid using stl/str to align destination.
24941 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24943         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24945 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24947         [BZ #17796]
24948         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24949         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24950         Define as weak alias not strong alias.
24952 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24954         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24955         bltzal with addiupc.
24956         (RTLD_START): Ditto.
24958 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24960         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24961         for __vdso_* functions in declarations.
24962         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24963         definitions.
24964         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24965         INTERNAL_VSYSCALL): Use struct return types to check for error.
24967         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24968         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24969         function with cast from llround().
24970         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24971         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24972         Define.
24974 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24976         [BZ #17793]
24977         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24978         Define as weak alias not strong alias.
24980         [BZ #17635]
24981         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24982         ...
24983         * ctype/ctype-extn.c: ... here.
24984         (__isblank_l): Move to ...
24985         * ctype/ctype-c99_l.c: ... here.  New file.
24986         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24987         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24988         Remove variable.
24989         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24990         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24991         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24992         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24993         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24995         [BZ #17777]
24996         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24997         (posix_fadvise64): Define as weak alias not strong alias.
24998         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24999         (posix_fallocate64): Likewise.
25000         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25001         Remove variable.
25002         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25003         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25004         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25005         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25006         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25008 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25010         [BZ #16191]
25011         * NEWS: Mention bug fix.
25012         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25013         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25014         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25015         (HOST_STACK_END_ADDR): Likewise.
25017 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25019         [BZ #17748]
25020         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25021         * math/fegetround.c (fegetround): Rename to __fegetround and
25022         define as weak alias of __fegetround.  Use libm_hidden_weak.
25023         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25024         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25025         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25026         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25027         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25028         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25029         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25030         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25031         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25032         Undefine after rather than before function definition; use
25033         parentheses around function name in definition.
25034         (__fegetround): Also undefine macro after function definition.
25035         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25036         __fegetround and define as weak alias of __fegetround.  Use
25037         libm_hidden_weak.  Do not undefine as macro.
25038         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25039         Likewise.
25040         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25041         __fegetround and define as weak alias of __fegetround.  Use
25042         libm_hidden_weak.
25043         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25044         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25045         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25046         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25047         __fegetround and define as weak alias of __fegetround.  Use
25048         libm_hidden_weak.
25049         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25050         __fegetround instead of fegetround.
25052         [BZ #17782]
25053         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25054         Condition macro definition on [__USE_MISC].
25056         [BZ #17781]
25057         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25058         (struct sigaction): Change type of sa_flags field to int.
25060         [BZ #17780]
25061         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25062         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25063         __glibc_reserved0.
25065         * nptl/version.c (banner): Use single year in copyright notice.
25067         * NEWS: Update copyright dates.
25068         * catgets/gencat.c (print_version): Likewise.
25069         * csu/version.c (banner): Likewise.
25070         * debug/catchsegv.sh: Likewise.
25071         * debug/pcprofiledump.c (print_version): Likewise.
25072         * debug/xtrace.sh (do_version): Likewise.
25073         * elf/ldconfig.c (print_version): Likewise.
25074         * elf/ldd.bash.in: Likewise.
25075         * elf/pldd.c (print_version): Likewise.
25076         * elf/sotruss.sh: Likewise.
25077         * elf/sprof.c (print_version): Likewise.
25078         * iconv/iconv_prog.c (print_version): Likewise.
25079         * iconv/iconvconfig.c (print_version): Likewise.
25080         * locale/programs/locale.c (print_version): Likewise.
25081         * locale/programs/localedef.c (print_version): Likewise.
25082         * login/programs/pt_chown.c (print_version): Likewise.
25083         * malloc/memusage.sh (do_version): Likewise.
25084         * malloc/memusagestat.c (print_version): Likewise.
25085         * malloc/mtrace.pl: Likewise.
25086         * manual/libc.texinfo: Likewise.
25087         * nptl/version.c (banner): Likewise.
25088         * nscd/nscd.c (print_version): Likewise.
25089         * nss/getent.c (print_version): Likewise.
25090         * nss/makedb.c (print_version): Likewise.
25091         * posix/getconf.c (main): Likewise.
25092         * scripts/test-installation.pl: Likewise.
25093         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25095 2015-01-02  Will Newton  <will.newton@linaro.org>
25097         * sysdeps/arm/armv7/configure: Removed.
25098         * sysdeps/arm/armv7/configure.ac: Likewise.
25100 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25102         * All files with FSF copyright notices: Update copyright dates
25103         using scripts/update-copyrights.
25104         * intl/plural.c: Regenerated.
25105         * locale/programs/charmap-kw.h: Likewise.
25106         * locale/programs/locfile-kw.h: Likewise.
25108 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25110         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25112 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25114         [BZ #17748]
25115         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25116         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25117         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25118         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25119         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25120         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25121         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25122         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25123         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25124         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25125         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25126         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25127         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25128         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25129         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25130         libm_hidden_def.
25131         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25132         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25133         Likewise.
25134         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25135         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25136         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25137         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25138         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25139         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25140         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25141         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25142         __fegetenv instead of fegetenv.
25143         (libc_feholdsetround_noex_ctx): Likewise.
25145 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25147         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25148         (Elf_MIPS_ABIFlags_v0): New structure.
25149         (EF_MIPS_FP64): Define.
25150         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25151         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25152         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25153         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25154         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25155         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25156         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25157         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25158         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25159         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25160         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25161         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25162         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25163         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25164         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25165         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25166         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25167         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25168         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25169         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25170         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25171         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25172         field.
25173         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25174         EF_MIPS_FP64.
25175         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25176         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25177         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25178         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25179         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25180         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25181         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25182         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25183         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25184         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25185         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25186         record the current FP ABI extension.
25187         (mips-mode-switch): Define to show if kernel headers support mode
25188         switching.
25189         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25190         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25191         supported SYSV ABI version to 3.
25192         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25193         feature.
25195 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25196             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25198         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25199         path.
25200         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25202 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25204         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25205         __fegetround and redefine to call __fegetround.  Remove condition
25206         on [!__NO_MATH_INLINES].
25207         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25208         function.
25209         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25210         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25211         Remove macro.
25212         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25213         instead of <fenv_libc.h>.
25214         (__llrintl): Call fegetround instead of __fegetround.
25215         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25216         instead of <fenv_libc.h>.
25217         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25218         (__lrintl): Call fegetround instead of __fegetround.
25219         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25220         instead of <fenv_libc.h>.
25221         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25222         (__rintl): Call fegetround instead of __fegetround.
25224 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25226         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25227         arrays.
25229 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25231         [BZ #17775]
25232         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25233         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25234         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25236 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25238         * sysdeps/i386/tls-macros.h: Include <features.h>.
25239         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25240         (TLS_IE): Likewise.
25241         (TLS_LD): Likewise.
25242         (TLS_GD): Likewise.
25243         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25244         define for GCC >= 5.0.
25246 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25248         * math/test-fenv.c (test_single_exception, set_single_exc,
25249         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25250         feexcp_mask_test, feenable_test, fe_single_test): Add
25251         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25252         case where they are not used.
25253         * math/libm-test.inc: Likewise.
25254         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25255         unused in the absence of FP rounding/exception support.
25256         * stdio-common/tst-printf-round.c: Likewise.
25257         * stdlib/tst-strtod-round.c: Likewise.
25258         * stdlib/tst-strtod-underflow.c: Likewise.
25260 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25262         [BZ #17723]
25263         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25264         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25265         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25266         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25267         libm_hidden_weak.
25268         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25269         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25270         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25271         libm_hidden_def.
25272         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25273         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25274         libm_hidden_weak.
25275         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25276         Likewise.
25277         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25278         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25279         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25280         libm_hidden_weak.
25281         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25282         libm_hidden_def.
25283         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25284         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25285         (__feraiseexcept): Likewise.
25286         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25287         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25288         libm_hidden_weak.
25289         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25290         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25291         libm_hidden_def.
25292         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25293         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25294         Use libm_hidden_def.
25295         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25296         libm_hidden_def.
25297         (feraiseexcept): Define as weak not strong alias.  Use
25298         libm_hidden_weak.
25299         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25300         New inline function.  Factored out of ...
25301         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25302         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25303         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25304         feraiseexcept.
25305         * math/w_acos.c (__acos): Likewise.
25306         * math/w_asin.c (__asin): Likewise.
25307         * math/w_ilogb.c (__ilogb): Likewise.
25308         * math/w_j0.c (y0): Likewise.
25309         * math/w_j1.c (y1): Likewise.
25310         * math/w_jn.c (yn): Likewise.
25311         * math/w_log.c (__log): Likewise.
25312         * math/w_log10.c (__log10): Likewise.
25313         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25314         * sysdeps/aarch64/fpu/math_private.h
25315         (libc_feupdateenv_test_aarch64): Likewise.
25316         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25317         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25318         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25319         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25320         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25321         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25322         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25323         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25324         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25325         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25327 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25329         [BZ #17732]
25330         * io/test-utime.c (main): Replace %ld with %jd and cast to
25331         intmax_t.
25332         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25333         * nptl/tst-mutex5.c: Include <stdint.h>.
25334         (do_test): Replace %ld with %jd and cast to intmax_t.
25335         * posix/tst-regex.c (run_test): Likewise.
25336         (run_test_backwards): Likewise.
25337         * rt/tst-clock.c: Include <stdint.h>.
25338         (clock_test): Replace %ld with %jd and cast to intmax_t.
25339         * rt/tst-cpuclock1.c: Include <stdint.h>.
25340         (do_test): Replace %lu with %ju and cast to uintmax_t.
25341         * rt/tst-cpuclock2.c: Include <stdint.h>.
25342         (do_test): Replace %lu with %ju and cast to uintmax_t.
25343         * rt/tst-mqueue1.c: Include <stdint.h>.
25344         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25345         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25346         intmax_t.
25347         * rt/tst-mqueue4.c (do_test): Likewise.
25348         * rt/tst-timer4.c: Include <stdint.h>.
25349         (check_ts): Replace %ld with %jd and cast to intmax_t.
25350         (do_test): Likewise.
25351         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25352         and cast to intmax_t.
25353         * sysdeps/pthread/tst-timer.c (main): Likewise.
25354         * time/clocktest.c (main): Likewise.
25355         * time/tst-posixtz.c (do_test): Likewise.
25356         * timezone/tst-timezone.c (main): Likewise.
25358 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25359             H.J. Lu  <hongjiu.lu@intel.com>
25361         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25362         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25363         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25364         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25365         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25366         version if bit_Fast_Unaligned_Load is set.
25367         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25368         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25369         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25370         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25371         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25372         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25373         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25374         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25375         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25376         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25377         to 4.
25378         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25379         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25380         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25381         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25383 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25385         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25386         instead of #if to avoid a Wundef warning.
25387         * stdlib/tst-limits.c (do_test): Likewise.
25389         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25390         parallel other exception macros.
25391         (fegetenv): Convert from macro to extern inline so that it applies
25392         retroactively to inline functions already seen by the compiler.
25393         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25395         * posix/Makefile (before-compile): Use $(objpfx) for
25396         posix-conf-vars-def.h.
25398 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25400         * posix/getconf.c (main): Use size_t for type of I.
25401         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25402         NSPEC.
25404         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25405         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25406         * posix/posix-envs.def: Likewise.
25407         * sysdeps/posix/sysconf.c: Likewise.
25408         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25409         (specs): Remove array.
25410         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25411         array.
25413         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25414         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25415         (__sysconf): Use CONF_IS_* macros.
25417         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25418         ($(objpfx)posix-conf-vars-def.h): New target.
25419         * posix/posix-conf-vars.list: New file.
25420         * posix/posix-conf-vars.h: New file.
25421         * posix/confstr.c: Include posix-conf-vars.h.
25422         (confstr): Use CONF_IS_* macros.
25423         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25424         CONF_IS_* macros.
25425         * scripts/gen-posix-conf-vars.awk: New file.
25427 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25429         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25430         fegetround): Add no-op macros to avoid linknamespace issues.
25432         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25433         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25435         * sysdeps/unix/sysv/linux/tile/sysdep.h
25436         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25437         assembly-specific section to avoid a redefinition warning.
25439         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25440         long before casting to pointer to avoid a cast warning.
25442 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25444         * sysdeps/tile/tilegx/Implies: New file.
25446 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25448         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25450 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25452         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25454 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25456         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25457         not define.
25458         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25459         <kernel-features.h>.
25460         (__utimes) [__NR_utimes]: Make code unconditional.
25461         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25462         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25463         (__ASSUME_UTIMES): Do not undefine.
25464         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25465         (__ASSUME_UTIMES): Likewise.
25466         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25467         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25468         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25469         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25471 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25473         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25475 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25477         [BZ #17747]
25478         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25479         alias to weak alias for j0l, y0l.
25480         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25481         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25483         [BZ #17746]
25484         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25485         conversion.
25487 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25489         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25490         to zero if not already defined.
25492 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25494         [BZ #17724]
25495         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25496         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25497         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25498         (char *) casts added.
25499         * sysdeps/ieee754/k_standardf.c: New file.
25500         * sysdeps/ieee754/k_standardl.c: Likewise.
25501         * math/Makefile (libm-support): Remove k_standard.
25502         (libm-calls): Add k_standard.
25504 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25506         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25507         Optimize to avoid an unnecessary FPCR read.
25509 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25511         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25512         Optimize to reduce FPCR/FPSR accesses.
25514 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25516         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25517         Call libc_fetestexcept_aarch64.
25519 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25521         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25522         Call libc_fesetround_aarch64.
25524 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25526         [BZ #17733]
25527         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25528         (__bind): Do not define as weak alias.
25529         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25530         define.
25531         (__getsockname): Do not define as weak alias.
25533 2014-12-22  Will Newton  <will.newton@linaro.org>
25535         * manual/install.texi: Document that we require bison 2.7
25536         or above.
25537         * INSTALL: Regenerate.
25538         * configure.ac: Use AC_CHECK_PROG_VER instead of
25539         AC_PATH_PROG when checking for bison and check for
25540         version 2.7 or above.
25541         * configure: Regenerate.
25543 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25545         [BZ #17745]
25546         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25547         * sysdeps/tile/ffsll.c (ffsll): To here.
25549         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25551 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25553         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25554         if not defined.
25555         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25556         definition.
25557         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25558         hidden ___tls_get_addr.
25559         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25560         hidden __tls_get_addr.
25561         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25562         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25563         Likewise.
25565 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25567         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25568         _dl_init call.
25570 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25572         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25573         from "call _dl_init@PLT".
25574         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25576 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25578         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25579         guarantees.
25581 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25583         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25585 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25587         [BZ #17744]
25588         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25589         strnlen.
25591 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25593         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25594         of multu on MIPSr6.
25595         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25596         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25597         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25598         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25599         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25601 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25603         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25604         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25605         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25606         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25607         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25608         mips32r6/mips64r6.
25609         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25611 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25613         * string/strncat.c (STRNCAT): Simplify implementation.
25615 2014-12-19  David S. Miller  <davem@davemloft.net>
25617         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25618         access the quad as both a long double and as a series of 4 words.
25620         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25621         link_map->l_info array access.
25623 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25625         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25627         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25628         * math/atest-exp2.c (TIMEOUT): Likewise.
25629         * math/atest-sincos.c (TIMEOUT): Likewise.
25631 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25633         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25634         -Wno-error with -fno-builtin-lround.
25636 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25638         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25639         Contains futex constants and functions moved over from ...
25640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25641         <lowlevellock-futex.h>.
25642         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25643         (lll_timedwait_tid): Add comments and parentheses around macro
25644         arguments.
25646 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25648         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25649         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25650         (__lll_private_flag): Remove.
25651         (lll_futex_wait): Likewise.
25652         (lll_futex_timed_wait): Likewise.
25653         (lll_futex_wake): Likewise.
25654         (lll_futex_requeue): Likewise.
25655         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25656         (__lll_timedwait_tid): Spell out argument names.
25657         (lll_timedwait_tid): Add comments and parentheses around macro
25658         arguments.
25659         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25660         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25662 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25664         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25665         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25666         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25667         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25668         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25669         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25670         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25671         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25672         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25673         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25677         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25678         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25679         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25680         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25681         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25682         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25684 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25686         * sysdeps/x86_64/x32/Makefile: New file.
25688 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25690         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25691         1L with (mp_limb_t) 1.
25693 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25695         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25696         * nptl/libc_pthread_init.c: ... here.
25697         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25698         * nptl/register-atfork.c: ... here.
25700         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25701         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25702         Use assert_perror to check its return value.
25703         (__gai_create_helper_thread): Likewise.
25705         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25707         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25709 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25711         [BZ #17725]
25712         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25713         __profil_counter.
25714         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25715         Likewise.
25716         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25717         Likewise.
25718         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25719         Likewise.
25720         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25721         (profil_counter): Likewise.
25722         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25723         (profil_counter): Likewise.
25724         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25725         Likewise.
25726         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25727         Likewise.
25728         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25729         (profil_counter): Likewise.
25730         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25731         Likewise.
25732         [!__profil_counter] (profil_counter): Define as weak alias of
25733         __profil_counter.
25734         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25735         (profil_counter): Rename to __profil_counter.
25736         [!__profil_counter] (profil_counter): Define as weak alias of
25737         __profil_counter.
25738         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25739         (profil_counter): Rename to __profil_counter.
25740         [!__profil_counter] (profil_counter): Define as weak alias of
25741         __profil_counter.
25742         * sysdeps/posix/profil.c: Update comment referring to
25743         profil_counter.
25744         (__profil): Use __profil_counter instead of profil_counter.
25745         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25746         __profil_counter.  Use __profil_counter_ushort and
25747         __profil_counter_uint in definitions.
25748         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25749         instead of profil_counter_uint and profil_counter_ushort.
25751         [BZ #17722]
25752         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25753         define as weak alias of __inet_makeaddr.
25754         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25755         as weak alias of __inet_addr.
25756         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25757         as weak alias of __inet_pton.  Use libc_hidden_weak.
25758         * include/arpa/inet.h (__inet_pton): Declare.  Use
25759         libc_hidden_proto.
25760         (inet_makeaddr): Don't use libc_hidden_proto.
25761         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25762         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25763         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25764         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25765         Remove variable.
25766         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25767         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25769 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25771         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25773 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25775         * stdio-common/bug-vfprintf-nargs.c (do_test):
25776         Cast value to intptr_t to avoid format warning
25777         for usage with PRIdPTR printing macro.
25779 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25781         * libio/tst-widetext.c (do_test):
25782         Use format type %td instead of %Zd for ptrdiff_t
25783         in order to avoid format warning.
25785 2014-12-17  Andreas Schwab  <schwab@suse.de>
25787         * nscd/mem.c (gc): Add size_t cast to match printf format.
25789 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25791         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25792         (init): Apply PTR_MANGLE to pointers before storing them.
25793         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25794         before using them.
25796 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25798         [BZ #17719]
25799         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25800         define as weak alias of __memrchr.
25801         (__memrchr): Do not define as strong alias of memrchr.
25802         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25803         Remove variable.
25804         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25805         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25806         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25808         [BZ #17717]
25809         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25810         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25811         (if_indextoname): Rename to __if_indextoname and define as weak
25812         alias of __if_indextoname.  Use libc_hidden_weak.
25813         (if_freenameindex): Rename to __if_freenameindex and define as
25814         weak alias of __if_freenameindex.
25815         (if_nameindex): Rename to __if_nameindex and define as weak alias
25816         of __if_nameindex.
25817         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25818         __if_nametoindex and define as weak alias of __if_nametoindex.
25819         Use libc_hidden_weak.
25820         (if_freenameindex): Rename to __if_freenameindex and define as
25821         weak alias of __if_freenameindex.
25822         (if_nameindex): Rename to __if_nameindex and define as weak alias
25823         of __if_nameindex.
25824         (if_indextoname): Rename to __if_indextoname and define as weak
25825         alias of __if_indextoname.  Use libc_hidden_weak.
25826         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25827         __if_nametoindex and define as weak alias of __if_nametoindex.
25828         Use libc_hidden_weak.
25829         (if_freenameindex): Rename to __if_freenameindex and define as
25830         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25831         (if_nameindex_netlink): Use __if_freenameindex instead of
25832         if_freenameindex.
25833         (if_nameindex): Rename to __if_nameindex and define as weak alias
25834         of __if_nameindex.  Use libc_hidden_weak.
25835         (if_indextoname): Rename to __if_indextoname and define as weak
25836         alias of __if_indextoname.  Use libc_hidden_weak.
25837         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25838         libc_hidden_proto.
25839         [!_ISOMAC] (__if_freenameindex): Likewise.
25840         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25841         if_nametoindex.
25842         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25843         variable.
25844         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25845         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25846         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25847         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25848         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25849         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25850         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25852         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25853         Remove variable.
25854         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25855         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25857 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25859         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25860         subscript above bounds'
25862         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25863         bounds.
25865 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25867         * libio/tst-fopenloc.c: Use test-skeleton.c.
25869         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25870         (entry): Rename to ITEM.
25871         (do_test, comp): Adjust.
25873         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25875 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25877         * string/tester.c: Include <libc-internal.h>.
25878         (test_memset): Ignore -Wmemset-transposed-args.
25880 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25882         * misc/tst-mntent2.c (do_test): Fix warning.
25884 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25886         * elf/tst-unique4lib.cc(a): Mark as used.
25888 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25890         [BZ #17630]
25891         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25892         names.
25894 2014-12-16  Allan McRae  <allan@archlinux.org>
25896         * stdio-common/Makefile (tests): Re-add bug26.
25898 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25900         [BZ #17657]
25901         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25902         static array.
25904 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25906         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25907         (__lll_lock_wait): Likewise.
25908         (__lll_timedlock_wait): Likewise.
25909         (__lll_timedwait_tid): Likewise.
25910         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25911         (__lll_robust_timedlock_wait): Likewise.
25912         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25913         (lll_cond_trylock): Likewise.
25914         (__lll_lock): Likewise.
25915         (__lll_robust_lock): Likewise.
25916         (__lll_cond_lock): Likewise.
25917         (lll_robust_cond_lock): Likewise.
25918         (__lll_timedlock): Likewise.
25919         (__lll_robust_timedlock): Likewise.
25920         (__lll_unlock): Likewise.
25921         (__lll_robust_unlock): Likewise.
25922         (lll_wait_tid): Likewise.
25923         (lll_timedwait_tid): Likewise.
25925 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25927         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25929 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25931         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25933 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25935         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25936         * stdio-common/tst-sprintf.c: Likewise.
25938 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25940         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25942 2014-12-15  Jeff Law  <law@redhat.com>
25944         [BZ #16617]
25945         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25946         on the heap.  (CVE-2012-3406)
25947         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25948         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25949         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25951 2014-12-15  Will Newton  <will.newton@linaro.org>
25953         * manual/install.texi: Bump required version of texinfo
25954         to 4.7 from 4.5.
25955         * INSTALL: Regenerated.
25956         * configure.ac: Check for makeinfo version 4.7 and above.
25957         * configure: Regenerated.
25959 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25961         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25962         PREFIX, string constant to insert between directory and name.
25963         * sysdeps/posix/shm_open.c: Update caller.
25964         * sysdeps/posix/shm_unlink.c: Likewise.
25965         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25966         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25967         (SEM_SHM_PREFIX): New macro.
25968         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25969         [$(have-thread-library) = no].
25970         * nptl/Makefile (libpthread-routines): Add shm-directory.
25971         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25972         * sysdeps/nptl/shm-directory.h: New file.
25973         * sysdeps/posix/shm-directory.c
25974         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25975         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25976         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25977         INTERNAL_SYSCALL.
25978         (__where_is_shmfs): Function removed.
25979         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25980         Variables removed.
25981         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25982         Use SHM_GET_NAME.
25983         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25985         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25986         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25987         unconditional for use inside libpthread.
25988         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25990 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25992         * nptl/pthread_getaffinity.c: New file.
25993         * nptl/pthread_setaffinity.c: New file.
25994         * nptl/pthread_getname.c: New file.
25995         * nptl/pthread_setname.c: New file.
25997         * nptl/pthread_create.c (START_THREAD_DEFN)
25998         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26000 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26001             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26003         * resolv/res_send.c (send_vc): Disable warning resplen may
26004         be used uninitialized.
26006 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26008         * nptl/tst-mutex6.c
26009         (ATTR_NULL): New define checks ATTR against NULL.
26010         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26011         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26013 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26015         [BZ #17581]
26016         * malloc/hooks.c
26017         (mem2mem_check): Revert my previous change.
26018         (malloc_check_get_size): Revert my previous change.
26019         (mem2chunk_check): Revert my previous change.
26021 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26023         * sysdeps/posix/shm-directory.c: New file.
26024         * sysdeps/posix/shm-directory.h: New file.
26025         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26026         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26027         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26028         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26029         Transmute EPERM to EACCES.
26030         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26031         from ...
26032         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26033         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26035 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26037         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26038         pointer and cast to uintptr_t.
26039         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26040         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26041         Add cast to avoid warning.
26042         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26044 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26046         * nptl/semaphore.h: Move to ...
26047         * sysdeps/pthread/semaphore.h: ... here.
26048         * Makefile (installed-headers): Change nptl/semaphore.h to
26049         sysdeps/pthread/semaphore.h.
26051 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26053         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26054         generated error format strings.
26056         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26057         -Wformat-extra-args warnings for scanf formats.
26058         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26059         test of zero-length format (duh).
26060         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26061         corner-case scanf format test.
26062         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26063         generated fprintf format string.
26064         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26065         corner-case sprintf format tests.
26066         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26067         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26068         -Wformat-extra-args warnings throughout.
26069         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26070         (CFLAGS-scanf4.c): Likewise.
26071         (CFLAGS-scanf7.c): Likewise.
26072         (CFLAGS-tst-sprintf.c): Likewise.
26073         (CFLAGS-tst-printf.c): Likewise.
26074         (CFLAGS-tst-printfsz.c): Likewise.
26076 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26078         * include/cpio.h: New file.
26079         * include/fmtmsg.h: Likewise.
26081         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26082         corresponding format argument to size_t.
26083         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26084         arguments.
26085         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26086         corresponding format argument to size_t.
26087         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26088         arguments.
26089         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26090         corresponding format argument to size_t.
26091         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26092         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26093         (CFLAGS-tst-mbswcs2.c): Likewise.
26094         (CFLAGS-tst-mbswcs3.c): Likewise.
26095         (CFLAGS-tst-mbswcs4.c): Likewise.
26096         (CFLAGS-tst-mbswcs5.c): Likewise.
26097         (CFLAGS-tst-trans.c): Likewise.
26099 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26101         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26102         rather than assuming they won't contain any '%'s.
26104 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26106         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26107         inhibit_loop_to_libcall to avoid recursive calls.
26108         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26109         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26111 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26113         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26114         prototype.
26116 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26118         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26119         integer value instead of boolean.
26121 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26123         * malloc/malloc.c: Fix powerof2 check.
26125 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26127         * locale/programs/locfile.h (maybe_swap_uint32):
26128         Remove inline and add unused attribute.
26130 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26132         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26133         Truncating assembler expression to a .long expression.
26135 2014-12-11  Andreas Schwab  <schwab@suse.de>
26137         * elf/rtld.c (struct map_args): Constify str member.
26138         (do_preload): Constify fname argument.
26140 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26142         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26143         constants definition.
26145 2014-12-11  Andreas Schwab  <schwab@suse.de>
26147         [BZ #16657]
26148         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26149         FORCE_ELISION instead of DO_ELISION.
26150         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26151         Remove.
26152         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26153         Likewise.
26155         * iconvdata/gconv-modules: Remove duplicate entry.
26157 2014-12-11  Will Newton  <will.newton@linaro.org>
26159         Merge gettext 0.19.3 into intl/.
26161         This involves a number of cosmetic changes to comments
26162         and ANSI function definitions and prototypes throughout
26163         all the files. The gettext copyright header is used but
26164         with the date ranges taken from the glibc copy.
26166         * NEWS: Add gettext merge to 2.21.
26167         * intl/bindtextdom.c: Switch to gettext copyright.
26168         Use ANSI definitions and prototypes.
26169         Use gl_* locking primitives rather than __libc_* ones.
26170         Use __builtin_expect rather than __glibc_likely/unlikely.
26171         * intl/dcgettext.c: Switch to gettext copyright.
26172         Use ANSI definitions and prototypes.
26173         * intl/dcigettext.c: Switch to gettext copyright.
26174         Use ANSI definitions and prototypes.
26175         (INTDIV0_RAISES_SIGFPE): New define.
26176         Use gl_* locking primitives rather than __libc_* ones.
26177         Include eval-plural.h instead of plural-eval.c.
26178         Use __builtin_expect rather than __glibc_likely/unlikely.
26179         * intl/dcngettext.c: Switch to gettext copyright.
26180         Use ANSI definitions and prototypes.
26181         * intl/dgettext.c: Likewise.
26182         * intl/dngettext.c: Likewise.
26183         * intl/plural-eval.c: Renamed to...
26184         * intl/eval-plural.h: ...this.
26185         * intl/explodename.c: Switch to gettext copyright.
26186         Use ANSI definitions and prototypes.
26187         (_nl_explode_name): Use strchr instead of __rawmemchr.
26188         * intl/finddomain.c: Switch to gettext copyright.
26189         Use ANSI definitions and prototypes.
26190         Use gl_* locking primitives rather than __libc_* ones.
26191         (_nl_find_domain): Use malloc rather than alloca for
26192         allocation of temporary locale name.
26193         * intl/gettext.c: Switch to gettext copyright.
26194         Use ANSI definitions and prototypes.
26195         * intl/gettextP.h: Switch to gettext copyright.
26196         Use ANSI definitions and prototypes.
26197         Use gl_* locking primitives rather than __libc_* ones.
26198         * intl/gmo.h: Switch to gettext copyright.
26199         (struct sysdep_string): Move struct segment_pair outside of
26200         struct definition.
26201         * intl/hash-string.c: Use ANSI definitions and prototypes.
26202         * intl/hash-string.h: Switch to gettext copyright.
26203         Use ANSI definitions and prototypes.
26204         * intl/l10nflist.c: Switch to gettext copyright.
26205         Use ANSI definitions and prototypes.
26206         (_nl_normalize_codeset): Avoid integer overflow.
26207         * intl/loadinfo.h: Switch to gettext copyright.
26208         Use ANSI definitions and prototypes.
26209         (LIBINTL_DLL_EXPORTED): New define.
26210         (PATH_SEPARATOR): New define.
26211         * intl/loadmsgcat.c: Switch to gettext copyright.
26212         * intl/localealias.c: Switch to gettext copyright.
26213         Use ANSI definitions and prototypes.
26214         (_nl_expand_alias): Use PATH_SEPARATOR.
26215         * intl/ngettext.c: Switch to gettext copyright.
26216         Use ANSI definitions and prototypes.
26217         * intl/plural-exp.c: Likewise.
26218         * intl/plural-exp.h: Switch to gettext copyright.
26219         Use ANSI definitions and prototypes.
26220         (struct expression): Move definition of enum operator outside
26221         of struct definition.
26222         * intl/plural.c: Regenerate.
26223         * intl/plural.y: Switch to gettext copyright.
26224         Use ANSI definitions and prototypes.
26225         Port to bison 3.0.
26226         * intl/textdomain.c: Switch to gettext copyright.
26227         Use ANSI definitions and prototypes.
26228         Use gl_* locking primitives rather than __libc_* ones.
26230 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26232         * debug/warning-nop.c: Add used atrribute.
26234 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26236         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26238         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26239         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26240         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26242 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26243             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26245         [BZ #17634]
26246         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26247         Undefine after defining function.  Define as weak alias of
26248         __wcschr.  Use libc_hidden_weak.
26249         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26250         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26251         (libc_hidden_def): Also define __GI___wcschr alias.
26252         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26253         __wcschr and define as weak alias of __wcschr.
26254         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26255         __wcschr.
26256         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26257         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26258         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26259         libc_hidden_weak.  Do not use libc_hidden_def.
26260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26261         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26262         __GI___wcschr alias.
26263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26264         [IS_IN (libc)] (wcschr): Define as macro expanding to
26265         __redirect_wcschr.
26266         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26267         [IS_IN (libc)] (__wcschr_power6): Likewise.
26268         [IS_IN (libc)] (__wcschr_power7): Likewise.
26269         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26270         instead of wcschr.
26271         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26272         __libc_wcschr.
26273         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26274         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26275         __wcschr and define as weak alias of __wcschr.  Use
26276         libc_hidden_builtin_def.
26277         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26278         as weak alias of __wcschr.  Use libc_hidden_weak.
26279         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26280         wcschr.
26281         * time/era.c (_nl_init_era_entries): Likewise.
26282         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26283         variable.
26284         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26285         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26287 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26289         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26290         format for long int variable.
26292 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26294         [BZ #10672]
26295         * manual/search.texi: (Array Sort Function): Remove claim how to make
26296         qsort stable.
26298 2014-12-10  Andreas Schwab  <schwab@suse.de>
26300         [BZ #12847]
26301         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26302         user-controlled locks.
26304 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26306         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26307         register.
26309 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26311         * configure.ac (--disable-werror): New configure option.
26312         (enable_werror): New AC_SUBST.
26313         * configure: Regenerated.
26314         * config.make.in (enable-werror): New variable.
26315         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26316         -Wno-error=undef.
26317         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26318         * manual/install.texi (Configuring and compiling): Document
26319         --disable-werror.
26320         * INSTALL: Regenerated.
26321         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26322         (CFLAGS-tst-chk2.c): Likewise.
26323         (CFLAGS-tst-chk3.c): Likewise.
26324         (CFLAGS-tst-chk4.cc): Likewise.
26325         (CFLAGS-tst-chk5.cc): Likewise.
26326         (CFLAGS-tst-chk6.cc): Likewise.
26327         (CFLAGS-tst-lfschk1.c): Likewise.
26328         (CFLAGS-tst-lfschk2.c): Likewise.
26329         (CFLAGS-tst-lfschk3.c): Likewise.
26330         (CFLAGS-tst-lfschk4.cc): Likewise.
26331         (CFLAGS-tst-lfschk5.cc): Likewise.
26332         (CFLAGS-tst-lfschk6.cc): Likewise.
26334         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26335         (main): Disable -Wdeprecated-declarations around calls to
26336         register_printf_function.
26338         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26339         (do_test): Disable -Wdiv-by-zero around some calls to
26340         fwrite_unlocked and fread_unlocked.
26342         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26343         (DIAG_POP_NEEDS_COMMENT): Likewise.
26344         (_DIAG_STR1): Likewise.
26345         (_DIAG_STR): Likewise.
26346         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26347         * stdio-common/bug21.c: Include <libc-internal.h>.
26348         (do_test): Disable -Wformat around call to sscanf.
26349         * stdio-common/scanf14.c: Include <libc-internal.h>.
26350         (main): Disable -Wformat around some calls to scanf functions.
26352 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26354         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26356 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26358         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26359         stack variable alignment.
26361 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26363         [BZ #17682]
26364         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26365         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26366         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26367         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26368         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26369         __getrlimit instead of getrlimit.
26370         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26371         __gettimeofday instead of gettimeofday.
26372         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26373         Likewise.
26374         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26375         Likewise.
26376         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26377         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26378         Remove variable.
26379         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26380         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26382 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26384         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26385         for wide-character tests.
26387 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26389         * io/openat64.c: #include <libc-internal.h>
26390         (__openat64): Prototypify.  Use ignore_value on MODE.
26391         * io/openat.c: Likewise.
26392         * misc/reboot.c: #include <libc-internal.h>
26393         (reboot): Prototypify.  Use ignore_value on HOWTO.
26394         * misc/ptrace.c: #include <libc-internal.h>
26395         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26397 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26399         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26400         XPG4, UNIX98 and XOPEN2K.
26401         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26402         Remove variable.
26403         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26405 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26407         * libio/fileops.c: Use ISO C style for function definitions.
26408         * libio/iofopen.c: Likewise.
26409         * libio/wfileops.c: Likewise.
26411         [BZ #17653]
26412         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26413         offset on EOF.
26414         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26415         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26416         (fgets_func): Function pointer to fgets and fgetws.
26417         (do_ftell_test): Add test to verify ftell value after read
26418         EOF.
26419         (do_test): Set fgets_func.
26421         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26422         O_TRUNC flag for w and w+ modes.
26423         (do_rewind_test): Likewise.
26424         (do_ftell_test): Likewise.
26425         (do_write_test): Likewise.
26427         [BZ #17647]
26428         * libio/fileops.c (do_ftell): Seek only when there are
26429         unflushed writes.
26430         * libio/wfileops.c (do_ftell_wide): Likewise.
26431         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26432         test case.
26433         (do_one_test): Call it.
26435 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26437         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26438         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26439         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26440         Remove variable.
26441         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26442         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26443         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26445 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26447         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26448         Remove variable.
26449         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26451         [BZ #17668]
26452         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26453         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26454         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26455         __freeifaddrs.  Use libc_hidden_weak.
26456         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26457         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26458         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26459         __freeifaddrs.  Use libc_hidden_weak.
26460         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26461         __getifaddrs and define as weak alias of __getifaddrs.  Use
26462         libc_hidden_weak.
26463         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26464         __freeifaddrs.  Use libc_hidden_weak.
26465         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26466         Remove variable.
26467         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26468         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26470 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26472         [BZ #17601]
26473         * sysdeps/mips/start.S (__start): Use indirect jump to call
26474         __libc_start_main.
26476 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26478         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26480         * nptl/tst-mutex1.c: Include <stdbool.h>.
26481         [!ATTR] (ATTR_NULL): New macro.
26482         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26483         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26484         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26486         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26487         to char *.
26489         [BZ #17665]
26490         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26491         Change conditional to [__USE_MISC].
26493         [BZ #17664]
26494         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26495         fgets_unlocked.
26496         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26497         __fgets_unlocked.
26498         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26499         fgets_unlocked.
26500         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26501         Remove variable.
26502         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26503         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26504         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26505         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26506         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26507         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26508         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26509         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26510         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26512         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26514 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26517         Remove strpbrk objects.
26518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26519         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26521         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26522         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26523         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26525         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26526         Remove strcspn objects.
26527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26528         (__libc_ifunc_impl_list): Remove strcspn implementation.
26529         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26530         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26531         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26532         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26534         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26535         Remove strspn objetcs.
26536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26537         (__libc_ifunc_impl_list): Remove strspn implementation.
26538         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26539         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26540         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26541         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26543 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26545         [BZ #17581]
26546         * malloc/hooks.c
26547         (mem2mem_check): Add a terminator to the chain of checking blocks.
26548         (malloc_check_get_size): Use it here.
26549         (mem2chunk_check): Ditto.
26551 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26553         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26554         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26556 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26558         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26560         * nptl/nptl-init.c: Include libc-internal.h.
26561         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26563         * elf/ldconfig.c (search_dir): Expand comment.
26565 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26567         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26568         variable.
26569         (linknamespace-symlist-stdlibs-tests): Likewise.
26570         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26571         instead of $(objpfx)symlist-stdlibs.
26572         (linknamespace-libs-isoc): New variable.
26573         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26574         (linknamespace-libs-ISO): New variable.
26575         (linknamespace-libs-ISO99): Likewise.
26576         (linknamespace-libs-ISO11): Likewise.
26577         (linknamespace-libs-XPG3): Likewise.
26578         (linknamespace-libs-XPG4): Likewise.
26579         (linknamespace-libs-POSIX): Likewise.
26580         (linknamespace-libs-UNIX98): Likewise.
26581         (linknamespace-libs-XOPEN2K): Likewise.
26582         (linknamespace-libs-POSIX2008): Likewise.
26583         (linknamespace-libs-XOPEN2K8): Likewise.
26584         ($(objpfx)symlist-stdlibs): Replace by
26585         $(linknamespace-symlist-stdlibs-tests).  Use
26586         $(linknamespace-libs-$*) as set of libraries.
26587         ($(linknamespace-header-tests)): Update dependencies.  Use
26588         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26589         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26590         * conform/linknamespace.pl: Remove comment about considering
26591         definitions of symbols from irrelevant libraries.
26593 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26595         [BZ #13862]
26596         * elf/dl-tls.c: Include <atomic.h>.
26597         (oom): Remove #ifdef SHARED/#endif.
26598         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26599         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26600         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26601         big enough.
26602         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26603         * nptl/Makefile (tests): Add tst-stack4.
26604         (modules-names): Add tst-stack4mod.
26605         ($(objpfx)tst-stack4): New.
26606         (tst-stack4mod.sos): Likewise.
26607         ($(objpfx)tst-stack4.out): Likewise.
26608         ($(tst-stack4mod.sos)): Likewise.
26609         (clean): Likewise.
26610         * nptl/tst-stack4.c: New file.
26611         * nptl/tst-stack4mod.c: Likewise.
26613 2014-11-27  J. Brown  <jb999@gmx.de>
26615         * sysdeps/x86/bits/string.h: Add recent CPUs.
26617 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26619         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26620         sigblock.
26622         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26623         feof.
26625         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26626         variable.
26628 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26630         * nscd/connections.c: Include libc-internal.h because of macro
26631         usage ignore_value.
26633 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26635         * string/bits/string3.h (__warn_memset_zero_len): Don't
26636         declare for gcc newer than 5.0.
26637         (memset): Don't test for zero-length __LEN for gcc newer than
26638         5.0.
26640 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26642         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26643         size_t for %zu format.
26645         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26646         difference, not %ju.
26648 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26650         * include/libc-internal.h (ignore_value): New macro.
26651         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26652         with ignore_value.
26654         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26655         definition.
26657         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26658         pthread_cleanup_push to void *.
26660         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26661         Undefine.
26663         [BZ #16619]
26664         [BZ #16740]
26665         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26666         instead of 1L << 52.
26668         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26669         * libio/bug-rewind2.c (do_test): Likewise.
26671         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26672         * debug/test-strcpy_chk-ifunc.c: Likewise.
26673         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26674         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26675         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26676         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26677         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26678         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26679         * Rules [$(multi-arch) = no] (tests): Do not filter out
26680         $(tests-ifunc).
26681         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26682         * debug/Makefile (tests-ifunc): Remove variable.
26683         (tests): Do not add $(tests-ifunc).
26684         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26685         (tests): Do not add $(tests-ifunc).
26686         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26687         [TEST_IFUNC]: Remove conditionals.
26688         * string/test-string.h (TEST_IFUNC): Remove macro.
26689         [TEST_IFUNC]: Remove conditionals.
26691         * string/test-strchr.c [!WIDE] (L): New macro.
26692         [WIDE] (L): Likewise.
26693         (check1): Use CHAR instead of char.  Use L on string and character
26694         constants.
26696 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26698         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26699         tests.
26700         * sysdeps/powerpc/bits/atomic.h
26701         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26702         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26703         (atomic_exchange_and_add_acq): Likewise.
26704         (atomic_exchange_and_add_rel): Likewise.
26705         * sysdeps/powerpc/powerpc32/bits/atomic.h
26706         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26707         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26708         * sysdeps/powerpc/powerpc64/bits/atomic.h
26709         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26710         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26712 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26714         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26715         Change synchronization of __sched_fifo_min_prio and
26716         __sched_fifo_max_prio.
26717         * nptl/pthread_mutexattr_getprioceiling.c
26718         (pthread_mutexattr_getprioceiling): Likewise.
26719         * nptl/pthread_mutexattr_setprioceiling.c
26720         (pthread_mutexattr_setprioceiling): Likewise.
26721         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26722         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26723         Likewise.
26725 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26727         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26728         void.
26730 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26732         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26733         third argument const.
26735 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26737         fnmatch: work around GCC compiler warning bug with uninit var
26738         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26739         This works around a bug with x86-64 GCC 4.9.2 and earlier
26740         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26741         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26742         used uninitialized in this function [-Wmaybe-uninitialized]".
26744 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26746         * posix/bug-regex31.c (main): Return RES not 0.
26748 2014-11-25  Anton Blanchard <anton@samba.org>
26750         * sysdeps/powerpc/bits/atomic.h
26751         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26753 2014-11-24  Sterling Augustine  <saugustine@google.com>
26755         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26757 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26759         [BZ #17608]
26760         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26762 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26764         [BZ #17633]
26765         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26766         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26767         variable.
26768         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26769         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26771 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26773         * string/strncpy.c (strncpy): Improve performance by using memset.
26775 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26777         * string/strcpy.c (strcpy):
26778         Improve performance by using strlen and memcpy.
26780 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26782         * string/strcoll_l.c (get_next_seq): __always_inline.
26783         * string/strcoll_l.c (do_compare): __always_inline.
26785 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26787         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26788         defined.
26789         * include/mqueue.h: Likewise.
26790         * include/stdlib.h: Likewise.
26792         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26793         (get_null_defines): Adjust.
26794         * sunrpc/Makefile: Adjust comment.
26795         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26796         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26797         (CFLAGS-interp.c): Likewise.
26798         (CFLAGS-ldconfig.c): Likewise.
26799         (CPPFLAGS-.os): Likewise.
26800         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26801         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26802         * extra-modules.mk (extra-modules.mk): Likewise.
26803         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26804         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26805         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26806         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26807         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26808         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26809         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26810         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26811         * iconvdata/Makefile (CPPFLAGS): Likewise.
26812         (cpp-srcs-left): Add libof for all iconvdata routines.
26813         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26814         * include/assert.h: Likewise.
26815         * include/ctype.h: Likewise.
26816         * include/errno.h: Likewise.
26817         * include/libc-symbols.h: Likewise.
26818         * include/math.h: Likewise.
26819         * include/netdb.h: Likewise.
26820         * include/resolv.h: Likewise.
26821         * include/stdio.h: Likewise.
26822         * include/stdlib.h: Likewise.
26823         * include/string.h: Likewise.
26824         * include/sys/stat.h: Likewise.
26825         * include/wctype.h: Likewise.
26826         * intl/l10nflist.c: Likewise.
26827         * libidn/idn-stub.c: Likewise.
26828         * libio/libioP.h: Likewise.
26829         * nptl/libc_multiple_threads.c: Likewise.
26830         * nptl/pthreadP.h: Likewise.
26831         * posix/regex_internal.h: Likewise.
26832         * resolv/res_hconf.c: Likewise.
26833         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26834         * sysdeps/arm/memmove.S: Likewise.
26835         * sysdeps/arm/sysdep.h: Likewise.
26836         * sysdeps/generic/_itoa.h: Likewise.
26837         * sysdeps/generic/symbol-hacks.h: Likewise.
26838         * sysdeps/gnu/errlist.awk: Likewise.
26839         * sysdeps/gnu/errlist.c: Likewise.
26840         * sysdeps/i386/i586/memcpy.S: Likewise.
26841         * sysdeps/i386/i586/memset.S: Likewise.
26842         * sysdeps/i386/i686/memcpy.S: Likewise.
26843         * sysdeps/i386/i686/memmove.S: Likewise.
26844         * sysdeps/i386/i686/mempcpy.S: Likewise.
26845         * sysdeps/i386/i686/memset.S: Likewise.
26846         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26847         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26848         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26849         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26850         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26851         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26852         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26853         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26854         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26855         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26856         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26857         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26858         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26859         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26860         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26861         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26862         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26863         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26864         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26865         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26866         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26867         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26868         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26869         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26870         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26871         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26872         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26873         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26874         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26875         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26876         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26877         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26879         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26880         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26882         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26883         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26884         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26885         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26886         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26887         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26888         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26889         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26890         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26891         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26892         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26893         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26894         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26895         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26896         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26897         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26898         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26899         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26900         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26901         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26902         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26903         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26904         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26905         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26906         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26907         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26908         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26909         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26910         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26911         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26912         * sysdeps/posix/closedir.c: Likewise.
26913         * sysdeps/posix/opendir.c: Likewise.
26914         * sysdeps/posix/readdir.c: Likewise.
26915         * sysdeps/posix/rewinddir.c: Likewise.
26916         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26917         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26918         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26919         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26920         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26921         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26922         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26927         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26928         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26929         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26930         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26931         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26932         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26933         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26934         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26935         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26936         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26937         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26939         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26943         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26944         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26951         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26952         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26953         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26954         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26955         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26956         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26957         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26958         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26959         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26960         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26961         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26962         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26963         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26964         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26965         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26966         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26967         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26970         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26972         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26973         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26974         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26975         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26976         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26977         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26979         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26980         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26981         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26982         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26983         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26984         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26985         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26986         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26987         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26988         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26989         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26990         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26991         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26992         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26993         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26994         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26995         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26996         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26997         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26998         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26999         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27000         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27001         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27002         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27003         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27004         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27005         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27006         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27007         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27008         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27009         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27011         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27012         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27014         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27015         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27016         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27017         * sysdeps/unix/alpha/sysdep.S: Likewise.
27018         * sysdeps/unix/alpha/sysdep.h: Likewise.
27019         * sysdeps/unix/make-syscalls.sh: Likewise.
27020         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27022         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27023         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27024         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27025         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27026         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27027         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27028         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27029         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27030         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27031         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27032         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27033         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27034         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27035         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27036         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27037         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27038         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27039         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27040         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27041         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27042         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27043         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27044         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27045         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27049         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27050         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27053         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27054         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27057         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27058         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27059         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27060         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27061         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27062         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27063         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27064         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27067         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27069         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27070         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27071         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27072         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27073         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27075         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27076         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27078         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27079         * sysdeps/x86_64/memcpy.S: Likewise.
27080         * sysdeps/x86_64/memmove.c: Likewise.
27081         * sysdeps/x86_64/memset.S: Likewise.
27082         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27083         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27084         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27085         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27086         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27087         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27088         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27089         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27090         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27091         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27092         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27093         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27094         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27095         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27096         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27097         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27098         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27099         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27100         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27101         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27102         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27103         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27104         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27105         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27106         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27107         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27108         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27109         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27110         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27111         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27112         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27113         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27114         * sysdeps/x86_64/strcmp.S: Likewise.
27116         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27118         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27119         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27120         * elf/rtld-Rules: Likewise.
27121         * elf/setup-vdso.h: Likewise.
27122         * include/assert.h: Likewise.
27123         * include/bits/stdlib-float.h: Likewise.
27124         * include/errno.h: Likewise.
27125         * include/sys/stat.h: Likewise.
27126         * include/unistd.h: Likewise.
27127         * sysdeps/aarch64/setjmp.S: Likewise.
27128         * sysdeps/alpha/setjmp.S: Likewise.
27129         * sysdeps/arm/__longjmp.S: Likewise.
27130         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27131         * sysdeps/arm/setjmp.S: Likewise.
27132         * sysdeps/arm/sysdep.h: Likewise.
27133         * sysdeps/generic/_itoa.h: Likewise.
27134         * sysdeps/generic/dl-sysdep.h: Likewise.
27135         * sysdeps/generic/ldsodefs.h: Likewise.
27136         * sysdeps/i386/dl-tls.h: Likewise.
27137         * sysdeps/i386/setjmp.S: Likewise.
27138         * sysdeps/m68k/setjmp.c: Likewise.
27139         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27140         * sysdeps/mach/hurd/opendir.c: Likewise.
27141         * sysdeps/posix/getcwd.c: Likewise.
27142         * sysdeps/posix/opendir.c: Likewise.
27143         * sysdeps/posix/profil.c: Likewise.
27144         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27145         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27146         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27147         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27148         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27149         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27150         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27151         * sysdeps/s390/dl-tls.h: Likewise.
27152         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27153         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27154         * sysdeps/sh/sh3/setjmp.S: Likewise.
27155         * sysdeps/sh/sh4/setjmp.S: Likewise.
27156         * sysdeps/unix/alpha/sysdep.h: Likewise.
27157         * sysdeps/unix/arm/sysdep.S: Likewise.
27158         * sysdeps/unix/i386/sysdep.S: Likewise.
27159         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27160         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27161         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27163         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27164         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27165         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27167         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27168         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27169         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27170         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27171         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27174         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27177         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27178         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27179         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27180         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27182         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27183         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27184         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27186         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27187         * sysdeps/x86_64/setjmp.S: Likewise.
27189         * include/math.h: Use IS_IN instead of IS_IN_libm.
27190         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27191         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27192         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27193         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27194         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27195         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27196         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27197         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27198         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27199         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27200         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27201         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27202         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27203         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27204         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27205         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27206         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27207         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27208         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27209         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27210         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27211         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27212         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27213         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27214         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27215         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27216         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27217         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27218         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27219         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27220         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27221         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27222         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27224         Likewise.
27225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27226         Likewise.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27228         Likewise.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27230         Likewise.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27232         Likewise.
27233         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27234         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27235         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27236         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27237         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27238         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27244         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27245         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27246         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27247         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27248         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27249         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27250         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27251         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27252         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27253         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27254         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27257         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27259         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27261         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27262         * nptl/pthreadP.h: Likewise.
27263         * nptl_db/structs.def: Likewise.
27264         * sysdeps/arm/sysdep.h: Likewise.
27265         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27266         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27267         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27268         * sysdeps/unix/alpha/sysdep.h: Likewise.
27269         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27271         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27272         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27273         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27274         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27275         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27276         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27277         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27278         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27279         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27280         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27281         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27282         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27285         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27287         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27289         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27290         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27291         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27292         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27293         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27294         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27296         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27297         * nptl/pthreadP.h: Likewise.
27298         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27299         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27300         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27301         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27302         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27303         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27304         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27305         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27306         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27307         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27308         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27309         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27311         Likewise.
27312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27313         Likewise.
27314         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27316         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27319         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27320         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27321         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27323         * dlfcn/dladdr.c: Use IS_IN.
27324         * dlfcn/dladdr1.c: Likewise.
27325         * dlfcn/dlclose.c: Likewise.
27326         * dlfcn/dlerror.c: Likewise.
27327         * dlfcn/dlinfo.c: Likewise.
27328         * dlfcn/dlmopen.c: Likewise.
27329         * dlfcn/dlopen.c: Likewise.
27330         * dlfcn/dlsym.c: Likewise.
27331         * dlfcn/dlvsym.c: Likewise.
27333         * include/ifaddrs.h: Use IS_IN.
27334         * inet/check_pf.c: Likewise.
27335         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27336         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27338         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27339         IS_IN_ldconfig.
27340         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27341         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27343         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27344         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27345         IS_IN (libc).
27347         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27349         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27350         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27351         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27352         * include/libc-symbols.h (IS_IN_LIB): New macro.
27353         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27354         * include/netdb.h: Likewise.
27355         * include/stap-probe.h: Remove all uses of IN_LIB.
27357         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27358         instead of IN_MODULE.
27359         * include/libc-symbols.h (IN_MODULE): Define using
27360         MODULE_NAME.
27361         (PASTE_NAME, PASTE_NAME1): New macros.
27362         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27363         of IN_LIB.
27364         (STAP_PROBE_ASM): Likewise.
27366 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27368         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27369         __mach_init in dlopened libc.
27371 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27373         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27374         * sysdeps/arm/preconfigure: Regenerate.
27376 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27378         * nptl/pthread_create.c (__pthread_create_2_1): Set
27379         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27380         when copying values from IATTR into PD.
27382 2014-11-21  Will Newton  <will.newton@linaro.org>
27383             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27385         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27386         Refactor inline-asm.  Also add comment.
27388         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27389         ElfW macro instead of hardcoded Elf64 types.
27390         (la_aarch64_gnu_pltenter): Likewise.
27391         * sysdeps/aarch64/dl-machine.h
27392         (elf_machine_runtime_setup): Use ElfW(Addr).
27394         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27395         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27396         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27397         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27398         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27399         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27400         (R_AARCH64_TLS_DTPMOD): This.
27401         (R_AARCH64_TLS_DTPREL64): Rename to ...
27402         (R_AARCH64_TLS_DTPREL): This.
27403         (R_AARCH64_TLS_TPREL64): Rename to ...
27404         (R_AARCH64_TLS_TPREL): This.
27405         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27406         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27407         R_AARCH64_TLS_TPREL64.
27408         (elf_machine_rela): Likewise.
27410 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27412         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27413         by setting it to 0.  64b atomics are not supported currently.
27415 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27417         [BZ #16469]
27418         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27419         search domain names.
27421 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27423         [BZ #16469]
27424         * NEWS: Update.
27425         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27426         trailing dot.
27427         * posix/tst-getaddrinfo5.c: New.
27428         * posix/Makefile (tests): Add it.
27430 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27432         [BZ #14498]
27433         * NEWS: Fixed.
27434         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27435         after parsing line but before break_if_match.
27436         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27437         if there is a protocol mismatch.
27439 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27441         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27442         because the potential race is on the user-supplied stream.
27444 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27446         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27447         string literal if not passed a buffer.
27448         * manual/job.texi (ctermid): Update reasoning, note deviation
27449         from posix, suggest mtasurace when not passed a buffer, for
27450         future non-preliminary safety notes.
27452 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27454         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27455         of not passing it a buffer.
27456         Reported by Peng Haitao.
27458 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27460         * manual/Makefile ($(objpfx)stamp-summary): Require
27461         check-safety.sh to pass.
27462         * manual/check-safety.sh: Wish for verification that every
27463         @deftypefn and @deftypefun is followed by a @safety remark.
27465 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27467         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27469         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27470         PTHREAD_CANCEL_ASYNCHRONOUS.
27471         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27472         send SIGCANCEL.
27474         * nptl/default-sched.h: New file.
27475         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27476         * nptl/pthread_create.c: Include it.
27477         (__pthread_create_2_1): Use collect_default_sched instead of making
27478         Linux syscalls here directly.
27480 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27482         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27483         __pthread_once): Use C11 atomics.
27485 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27487         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27489 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27491         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27492         atomic_thread_fence_acquire, atomic_thread_fence_release,
27493         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27494         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27495         atomic_compare_exchange_weak_relaxed,
27496         atomic_compare_exchange_weak_acquire,
27497         atomic_compare_exchange_weak_release,
27498         atomic_exchange_acquire, atomic_exchange_release,
27499         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27500         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27501         atomic_fetch_and_acquire,
27502         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27504 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27506         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27507         USE_ATOMIC_COMPILER_BUILTINS): Define.
27508         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27510         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27512         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27514         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27516         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27518         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27520         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27522         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27524         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27526         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27528         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27530         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27532         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27534         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27536         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27538         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27540         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27541         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27542         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27543         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27544         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27546         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27547         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27549 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27551         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27552         the sched_priority value here.  It was already checked when the user
27553         called pthread_attr_setschedparam.
27555         * nptl/tst-bad-schedattr.c: New file.
27556         * nptl/Makefile (tests): Add it.
27558 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27559             Florian Weimer  <fweimer@redhat.com>
27560             Joseph Myers  <joseph@codesourcery.com>
27561             Adam Conrad  <adconrad@0c3.net>
27562             Andreas Schwab  <schwab@suse.de>
27563             Brooks  <bmoses@google.com>
27565         [BZ #17625]
27566         * wordexp-test.c (__dso_handle): Add prototype.
27567         (__register_atfork): Likewise.
27568         (__app_register_atfork): New function.
27569         (registered_forks): New global.
27570         (register_fork): New function.
27571         (test_case): Add 3 new tests for WRDE_CMDSUB.
27572         (main): Call __app_register_atfork.
27573         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27574         fork count is non-zero fail the test.
27575         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27576         is set.
27577         (parse_dollars): Remove check for WRDE_NOCMD.
27578         (parse_dquote): Likewise.
27580 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27582         * Makeconfig (built-modules): List non-library modules to be
27583         built.
27584         (module-cppflags): Include libc-modules.h for
27585         everything except shlib-versions.v.i.
27586         (CPPFLAGS): Use it.
27587         (before-compile): Add libc-modules.h.
27588         ($(common-objpfx)libc-modules.h,
27589         $(common-objpfx)libc-modules.stmp): New targets.
27590         (common-generated): Add libc-modules.h and libc-modules.stmp.
27591         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27592         * include/libc-symbols.h: Don't include libc-modules.h.
27593         * include/libc-modules.h: Remove file.
27594         * scripts/gen-libc-modules.awk: New script to generate
27595         libc-modules.h.
27596         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27597         Depend on libc-modules.stmp.
27599         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27601         * Makeconfig (in-module): Get value of libof set for the
27602         translation unit.
27603         (CPPFLAGS): Use $(in-module).
27604         * Makerules: Don't suffix routine names for nonlib.
27605         * include/libc-modules.h: New file.
27606         * include/libc-symbols.h: Include libc-modules.h
27607         (IS_IN): New macro to replace IS_IN_* macros.
27608         * elf/Makefile: Set libof-* for each routine.
27609         * elf/rtld-Rules: Likewise.
27610         * extra-modules.mk: Likewise.
27611         * iconv/Makefile: Likewise.
27612         * iconvdata/Makefile: Likewise.
27613         * locale/Makefile: Likewise.
27614         * malloc/Makefile: Likewise.
27615         * nss/Makefile: Likewise.
27616         * sysdeps/gnu/Makefile: Likewise.
27617         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27618         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27619         * sysdeps/s390/s390-64/Makefile: Likewise.
27620         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27621         CPPFLAGS for nscd instead of nonlib.
27623 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27625         * nptl/createthread.c: New file.
27627         * nptl/createthread.c: Moved ...
27628         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27630         * nptl/createthread.c: Add proper top-line comment.
27631         (do_clone): Folded into ...
27632         (create_thread): ... here.  Take new arguments STOPPED_START and
27633         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27634         increment __nptl_threads, do event-reporting logic, do
27635         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27636         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27637         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27638         just send SIGCANCEL.
27639         * nptl/pthread_create.c: Forward-declare create_thread before
27640         including createthread.c.
27641         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27642         declaration, and new macro START_THREAD_SELF to replace argument.
27643         Remove return statement.
27644         (report_thread_creation): New function.
27645         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27646         synchronization logic, and __nptl_nthreads increment here, around
27647         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27648         PD->parent_cancelhandling here, before create_thread.  When
27649         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27650         __deallocate_stack, and ENOMEM translation here.
27652 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27654         [BZ #17616]
27655         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27656         (mptwo): Rename to __mptwo.
27657         (__inv): Use __mptwo instead of mptwo.
27658         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27659         (mptwo): Rename to __mptwo.
27660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27661         of mpone and __mptwo instead of mptwo.
27662         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27663         instead of mpone.
27664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27665         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27666         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27667         of mpone and __mptwo instead of mptwo.
27668         (__mpranred): Use __mpone instead of mpone.
27669         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27670         variable.
27671         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27672         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27673         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27674         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27675         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27676         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27677         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27678         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27679         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27680         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27681         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27682         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27683         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27684         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27685         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27686         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27687         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27688         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27689         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27691 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27693         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27694         replace BSD Handler xref with BSD Signal Handling.
27696 2014-11-17  Richard Henderson  <rth@redhat.com>
27698         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27699         (_FP_PACK_RAW_2): Remove.
27700         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27701         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27702         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27703         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27704         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27705         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27706         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27707         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27708         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27709         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27710         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27711         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27712         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27713         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27714         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27715         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27717 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27719         * signal/signal.h [__USE_MISC]
27720         (struct sigvec): Remove type.
27721         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27722         (sigvec): Remove declaration.
27723         * sysdeps/posix/sigvec.c: Moved ...
27724         * signal/sigvec.c: ... here, replacing old file.
27725         (struct sigvec): New type, copied from old signal.h definition.
27726         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27727         (__sigvec): Convert definition to prototype.
27728         (sigvec): Replace weak_alias with compat_symbol.
27729         * signal/Versions (libc: GLIBC_2.21): New version set.
27730         * include/signal.h: Remove __sigvec declaration.
27731         * sysdeps/unix/bsd/sigvec.c: Remove file.
27732         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27733         * manual/signal.texi (BSD Handler): Remove subsection.
27734         Move siginterrupt up to ...
27735         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27736         (Blocking in BSD): Fold subsection into its parent.
27737         * NEWS: Mention sigvec removal.
27739 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27741         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27742         (DLA_FMS): Make definition conditional only on [__FMA4__].
27743         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27744         definition.
27746         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27747         Make definition conditional only on [PROF].
27748         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27749         definition.
27750         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27751         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27753         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27754         !__GNUC__].
27755         * include/signal.h (__sigpause): Move declaration above call to
27756         libc_hidden_proto.
27757         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27758         variable.
27759         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27760         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27762 2014-11-14  David S. Miller  <davem@davemloft.net>
27764         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27765         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27767 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27769         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27770         * configure: Regenerated.
27771         * manual/install.texi (Tools for Compilation): Document a
27772         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27773         compiler verified to work.
27774         * INSTALL: Regenerated.
27776         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27777         redeclare with asm name.
27778         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27779         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27780         including <string.h>.
27781         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27782         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27783         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27784         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27785         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27787         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27789 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27791         * stdlib/strtol.c (__strtol): Use prototype definition.
27793         [BZ #17594]
27794         * stdlib/strtol.c (SYM__): New macro.
27795         (SYM__1): Likewise.
27796         (__strtol): Likewise.
27797         (strtol): Rename to __strtol and define as weak alias of
27798         __strtol.  Use libc_hidden_weak.
27800 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27802         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27803         Use numbered labels in inline assembly.
27805 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27807         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27808         Add setjmp LIBC_PROBE.
27809         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27810         Likewise.
27811         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27812         Add longjmp, longjmp_target LIBC_PROBE.
27813         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27814         Likewise.
27816 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27818         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27819         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27820         to get rid of unused variable warning.
27822 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27824         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27825         Check for unwind_backtrace ==  NULL only in SHARED case.
27826         (__backchain_backtrace): Compile only in SHARED case.
27827         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27828         Likewise.
27829         (__backchain_backtrace): Declare as static.
27831 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27833         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27834         (__libc_multiple_threads_ptr): Variable moved ...
27835         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27837 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27839         * conform/GlibcConform.pm: New file.
27840         * conform/conformtest.pl: Use GlibcConform module.
27841         * conform/linknamespace.pl: New file.
27842         * conform/list-header-symbols.pl: Likewise.
27843         * conform/Makefile (linknamespace-symlists-base): New variable.
27844         (linknamespace-symlists-tests): Likewise.
27845         (linknamespace-header-base): Likewise.
27846         (linknamespace-header-tests): Likewise.
27847         (tests-special): Add new tests.
27848         ($(linknamespace-symlists-tests)): New rule.
27849         (linknamespace-libs): New variable.
27850         ($(objpfx)symlist-stdlibs): New rule.
27851         ($(linknamespace-header-tests)): Likewise.
27852         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27853         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27854         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27855         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27856         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27857         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27858         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27859         (test-xfail-ISO/math.h/linknamespace): Likewise.
27860         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27861         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27862         (test-xfail-ISO/time.h/linknamespace): Likewise.
27863         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27864         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27865         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27866         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27867         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27868         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27869         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27870         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27871         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27872         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27873         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27874         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27875         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27876         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27877         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27878         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27879         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27880         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27881         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27882         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27883         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27884         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27885         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27886         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27887         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27888         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27889         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27890         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27891         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27892         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27893         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27894         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27895         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27896         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27897         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27898         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27899         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27900         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27901         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27902         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27903         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27904         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27905         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27906         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27907         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27908         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27909         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27910         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27911         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27912         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27913         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27914         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27915         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27916         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27917         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27918         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27919         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27920         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27921         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27922         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27923         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27924         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27925         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27926         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27927         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27928         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27929         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27930         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27931         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27932         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27933         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27934         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27935         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27936         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27937         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27938         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27939         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27940         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27941         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27942         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27943         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27944         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27945         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27946         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27947         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27948         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27949         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27950         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27951         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27952         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27953         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27954         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27955         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27956         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27957         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27958         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27959         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27960         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27961         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27962         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27963         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27964         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27965         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27966         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27967         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27968         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27969         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27970         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27971         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27972         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27973         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27974         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27975         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27976         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27977         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27978         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27979         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27980         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27981         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27982         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27983         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27984         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27985         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27986         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27987         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27988         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27989         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27990         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27991         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27992         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27993         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27994         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27995         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27996         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27997         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27998         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27999         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28000         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28001         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28002         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28003         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28004         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28005         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28006         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28007         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28008         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28009         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28010         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28011         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28012         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28014         [BZ #17589]
28015         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28016         of fgets_unlocked.
28018         [BZ #17585]
28019         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28020         (memmem): Rename to __memmem and define as weak alias of
28021         __memmem.  Use libc_hidden_weak.
28022         (__memmem): Use libc_hidden_def.
28023         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28024         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28025         memmem.
28027         [BZ #17582]
28028         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28029         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28030         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28031         and define as weak alias of __fgets_unlocked.  Use
28032         libc_hidden_weak.
28033         (__fgets_unlocked): Use libc_hidden_def.
28034         * include/stdio.h (__fgets_unlocked): Declare.  Use
28035         libc_hidden_proto.
28036         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28037         __fgets_unlocked instead of fgets_unlocked.
28038         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28039         (GET_NPROCS_CONF_PARSER): Likewise.
28040         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28041         (GET_NPROCS_CONF_PARSER): Likewise.
28043         [BZ #17574]
28044         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28045         weak alias of __wmemset.  Use libc_hidden_weak.
28046         (__wmemset): Use libc_hidden_def.
28047         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28048         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28049         of wmemset.
28051         [BZ #17573]
28052         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28053         with asm name __mempcpy.
28054         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28056         [BZ #17572]
28057         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28058         and define as weak alias of __rawmemchr.
28059         (__rawmemchr): Do not define as strong alias of rawmemchr.
28061         [BZ #17571]
28062         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28063         alias of __qsort_r.
28064         (qsort): Call __qsort_r instead of qsort_r.
28065         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28066         (__qsort_r): Declare.  Call libc_hidden_proto.
28067         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28068         instead of qsort_r.
28069         * nscd/gai.c (__qsort_r): Define to qsort_r.
28070         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28071         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28072         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28074         [BZ #17570]
28075         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28076         define as weak alias of __malloc_info.
28078         [BZ #17584]
28079         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28080         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28081         (__rewinddir): Use libc_hidden_def.
28082         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28083         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28084         (__rewinddir): Use libc_hidden_def.
28085         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28086         weak alias of __rewinddir.  Don't use libc_hidden_def.
28087         (__rewinddir): Use libc_hidden_def.
28088         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28089         (__rewinddir): Use libc_hidden_proto.
28090         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28091         rewinddir.
28092         (__getcwd): Use __rewinddir instead of rewinddir.
28094         [BZ #17583]
28095         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28096         alias of __fileno.  Use libc_hidden_weak.
28097         (__fileno): Use libc_hidden_def.
28098         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28099         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28100         alias of __ftello.
28101         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28102         __ftello.
28103         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28104         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28105         libc_hidden_def.
28106         (fread_unlocked): Don't use libc_hidden_ver.
28107         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28108         and define as weak alias of __fread_unlocked.  Don't use
28109         libc_hidden_def.
28110         (__fread_unlocked): Use libc_hidden_def.
28111         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28112         (ftello): Don't use libc_hidden_proto.
28113         (__ftello): Declare.  Use libc_hidden_proto.
28114         (fread_unlocked): Don't use libc_hidden_proto.
28115         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28116         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28117         and __ftello instead of fileno, fread_unlocked and ftello.
28119 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28121         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28122         GOT12.
28123         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28124         Likewise.
28125         (_dl_start_user): Likewise.
28126         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28128 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28129             Siddhesh Poyarekar  <siddhesh@redhat.com>
28131         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28132         Move argv and envp down instead of moving argc up.
28133         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28135 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28137         [BZ #17506]
28138         * test-skeleton.c (main): Return successful if one of
28139         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28140         * string/tst-strcoll-overflow.c: Define expected status.
28142 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28144         [BZ #17475]
28145         * locale/iso-639.def: Define Bhili and Tulu language codes.
28147 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28149         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28151 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28153         [BZ #17555]
28154         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28156 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28158         * configure.ac: Updated check of minimal required version to
28159         2.22.
28160         * manual/install.texi (Tools for Compilation): Updated version
28161         number.
28162         * configure: Regenerated.
28163         * INSTALL: Likewise.
28165 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28167         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28168         __tls_get_addr.
28170 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28172         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28173         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28174         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28175         libc_hidden_weak.
28176         (waitpid): Define as alias of __waitpid.
28177         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28178         __waitpid.
28179         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28180         libc_hidden_weak.
28181         (waitpid): Define as alias of __waitpid.
28182         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28183         __libc_waitpid alias.
28184         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28185         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28186         Likewise.
28187         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28188         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28189         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28190         alias.
28191         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28192         __waitpid.
28193         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28194         libc_hidden_weak.
28195         (waitpid): Define as alias of __waitpid.
28197 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28199         * manual/llio.texi: Add comment that write safety has been
28200         fixed in Linux.
28202         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28203         (localplt-build-dso): Add elf/ld.so.
28204         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28205         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28206         and free for ld.so.
28207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28208         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28210         Likewise.
28211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28212         Likewise.
28213         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28214         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28215         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28216         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28217         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28218         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28219         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28220         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28221         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28222         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28223         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28225 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28227         [BZ #14132]
28228         * include/libc-symbols.h (INTUSE): Remove macro.
28229         (INTDEF): Likewise.
28230         (INTVARDEF): Likewise.
28231         (_INTVARDEF): Likewise.
28232         (INTDEF2): Likewise.
28233         (INTVARDEF2): Likewise.
28234         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28235         rtld_hidden_def instead of INTVARDEF.
28236         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28237         (_dl_starting_up_internal): Remove declaration.
28238         (_dl_starting_up): Use rtld_hidden_proto.
28239         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28240         declaration.
28241         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28242         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28243         _dl_starting_up.
28244         * elf/dl-writev.h (_dl_writev): Likewise.
28245         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28246         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28247         _dl_starting_up_internal.
28249 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28251         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28252         test-skeleton.c.
28254 2014-11-05  Will Newton  <will.newton@linaro.org>
28256         * benchtests/Makefile: (bench-malloc): Add malloc thread
28257         scalability benchmark.
28258         * benchtests/bench-malloc-threads.c: New file.
28260 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28262         * sysdeps/aarch64/strchrnul.S: New file.
28264 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28266         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28267         definition.
28268         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28269         Likwise.
28270         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28271         Likewise.
28272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28273         Likewise.
28274         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28275         Likewise.
28276         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28277         Likewise.
28279 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28281         * catgets/test-gencat.c: Use test-skeleton.c.
28282         * catgets/tst-catgets.c: Likewise.
28283         * csu/tst-empty.c: Likewise.
28284         * elf/tst-audit2.c: Likewise.
28285         * elf/tst-global1.c: Likewise.
28286         * elf/tst-pathopt.c: Likewise.
28287         * elf/tst-piemod1.c: Likewise.
28288         * elf/tst-tls10.c: Likewise.
28289         * elf/tst-tls11.c: Likewise.
28290         * elf/tst-tls12.c: Likewise.
28291         * gnulib/tst-gcc.c: Likewise.
28292         * iconvdata/tst-e2big.c: Likewise.
28293         * iconvdata/tst-loading.c: Likewise.
28294         * iconv/tst-iconv1.c: Likewise.
28295         * iconv/tst-iconv2.c: Likewise.
28296         * inet/test-inet6_opt.c: Likewise.
28297         * inet/tst-gethnm.c: Likewise.
28298         * inet/tst-network.c: Likewise.
28299         * inet/tst-ntoa.c: Likewise.
28300         * intl/tst-codeset.c: Likewise.
28301         * intl/tst-gettext2.c: Likewise.
28302         * intl/tst-gettext3.c: Likewise.
28303         * intl/tst-ngettext.c: Likewise.
28304         * intl/tst-translit.c: Likewise.
28305         * io/test-stat.c: Likewise.
28306         * libio/test-fmemopen.c: Likewise.
28307         * libio/tst-freopen.c: Likewise.
28308         * libio/tst-sscanf.c: Likewise.
28309         * libio/tst-ungetwc1.c: Likewise.
28310         * libio/tst-ungetwc2.c: Likewise.
28311         * libio/tst-widetext.c: Likewise.
28312         * localedata/tst-ctype.c: Likewise.
28313         * localedata/tst-digits.c: Likewise.
28314         * localedata/tst-leaks.c: Likewise.
28315         * localedata/tst-mbswcs1.c: Likewise.
28316         * localedata/tst-mbswcs2.c: Likewise.
28317         * localedata/tst-mbswcs3.c: Likewise.
28318         * localedata/tst-mbswcs4.c: Likewise.
28319         * localedata/tst-mbswcs5.c: Likewise.
28320         * localedata/tst-setlocale.c: Likewise.
28321         * localedata/tst-trans.c: Likewise.
28322         * localedata/tst-wctype.c: Likewise.
28323         * localedata/tst-xlocale1.c: Likewise.
28324         * login/tst-grantpt.c: Likewise.
28325         * malloc/tst-calloc.c: Likewise.
28326         * malloc/tst-malloc.c: Likewise.
28327         * malloc/tst-mallocstate.c: Likewise.
28328         * malloc/tst-mcheck.c: Likewise.
28329         * malloc/tst-mtrace.c: Likewise.
28330         * malloc/tst-obstack.c: Likewise.
28331         * math/atest-exp2.c: Likewise.
28332         * math/atest-exp.c: Likewise.
28333         * math/atest-sincos.c: Likewise.
28334         * math/test-matherr.c: Likewise.
28335         * math/test-misc.c: Likewise.
28336         * math/test-powl.c: Likewise.
28337         * math/tst-definitions.c: Likewise.
28338         * misc/tst-dirname.c: Likewise.
28339         * misc/tst-efgcvt.c: Likewise.
28340         * misc/tst-fdset.c: Likewise.
28341         * misc/tst-hsearch.c: Likewise.
28342         * misc/tst-mntent2.c: Likewise.
28343         * nptl/tst-sem7.c: Likewise.
28344         * nptl/tst-sem8.c: Likewise.
28345         * nptl/tst-sem9.c: Likewise.
28346         * nss/test-netdb.c: Likewise.
28347         * posix/tst-fnmatch.c: Likewise.
28348         * posix/tst-getlogin.c: Likewise.
28349         * posix/tst-gnuglob.c: Likewise.
28350         * posix/tst-mmap.c: Likewise.
28351         * pwd/tst-getpw.c: Likewise.
28352         * resolv/tst-inet_ntop.c: Likewise.
28353         * rt/tst-timer.c: Likewise.
28354         * stdio-common/test-fseek.c: Likewise.
28355         * stdio-common/test-popen.c: Likewise.
28356         * stdio-common/test-vfprintf.c: Likewise.
28357         * stdio-common/tst-cookie.c: Likewise.
28358         * stdio-common/tst-fileno.c: Likewise.
28359         * stdio-common/tst-gets.c: Likewise.
28360         * stdio-common/tst-obprintf.c: Likewise.
28361         * stdio-common/tst-perror.c: Likewise.
28362         * stdio-common/tst-sprintf2.c: Likewise.
28363         * stdio-common/tst-sprintf3.c: Likewise.
28364         * stdio-common/tst-sprintf.c: Likewise.
28365         * stdio-common/tst-swprintf.c: Likewise.
28366         * stdio-common/tst-tmpnam.c: Likewise.
28367         * stdio-common/tst-unbputc.c: Likewise.
28368         * stdio-common/tst-wc-printf.c: Likewise.
28369         * stdlib/tst-environ.c: Likewise.
28370         * stdlib/tst-fmtmsg.c: Likewise.
28371         * stdlib/tst-limits.c: Likewise.
28372         * stdlib/tst-rand48-2.c: Likewise.
28373         * stdlib/tst-rand48.c: Likewise.
28374         * stdlib/tst-random2.c: Likewise.
28375         * stdlib/tst-random.c: Likewise.
28376         * stdlib/tst-strtol.c: Likewise.
28377         * stdlib/tst-strtoll.c: Likewise.
28378         * stdlib/tst-tls-atexit.c: Likewise.
28379         * stdlib/tst-xpg-basename.c: Likewise.
28380         * string/test-ffs.c: Likewise.
28381         * string/tst-bswap.c: Likewise.
28382         * string/tst-inlcall.c: Likewise.
28383         * string/tst-strtok.c: Likewise.
28384         * string/tst-strxfrm.c: Likewise.
28385         * sysdeps/x86_64/tst-audit10.c: Likewise.
28386         * sysdeps/x86_64/tst-audit3.c: Likewise.
28387         * sysdeps/x86_64/tst-audit4.c: Likewise.
28388         * sysdeps/x86_64/tst-audit5.c: Likewise.
28389         * time/tst-ftime_l.c: Likewise.
28390         * time/tst-getdate.c: Likewise.
28391         * time/tst-mktime3.c: Likewise.
28392         * time/tst-mktime.c: Likewise.
28393         * time/tst-posixtz.c: Likewise.
28394         * time/tst-strptime2.c: Likewise.
28395         * time/tst-strptime3.c: Likewise.
28396         * wcsmbs/tst-btowc.c: Likewise.
28397         * wcsmbs/tst-mbrtowc.c: Likewise.
28398         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28399         * wcsmbs/tst-wchar-h.c: Likewise.
28400         * wcsmbs/tst-wcpncpy.c: Likewise.
28401         * wcsmbs/tst-wcrtomb.c: Likewise.
28402         * wcsmbs/tst-wcsnlen.c: Likewise.
28403         * wcsmbs/tst-wcstof.c: Likewise.
28405 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28407         [BZ #14132]
28408         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28409         INTDEF.
28410         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28411         declaration.
28412         (_dl_mcount): Use rtld_hidden_proto.
28413         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28414         _dl_mcount.
28415         * elf/rtld.c (_rtld_global_ro): Likewise.
28417         [BZ #14132]
28418         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28419         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28420         of _dl_init_internal.
28421         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28422         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28423         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28424         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28425         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28426         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28427         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28428         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28429         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28430         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28431         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28432         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28433         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28434         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28435         * sysdeps/tile/dl-start.S (_start): Likewise.
28436         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28437         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28439         [BZ #14132]
28440         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28441         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28442         (rtld_progname): Make macro definition unconditional.
28443         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28444         INTDEF.
28445         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28446         (dl_main): Likewise.
28447         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28448         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28449         instead of _dl_argv_internal.
28450         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28451         __GI__dl_argv instead of INTUSE(_dl_argv).
28452         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28453         __GI__dl_argv instead of _dl_argv_internal.
28455         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28456         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28457         macro.
28458         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28459         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28460         New macro.
28461         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28462         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28463         macro.
28464         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28465         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28467 2014-11-04  Andreas Schwab  <schwab@suse.de>
28469         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28471 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28473         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28474         mtvsrd instruction in binary form.
28476 2014-11-03  Andreas Schwab  <schwab@suse.de>
28478         [BZ #17522]
28479         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28480         for less than MB_LEN_MAX use a local buffer of that size.
28481         * libio/tst-fputws.c: New file.
28482         * libio/Makefile (tests): Add tst-fputws.
28484 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28486         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28487         the size of the fpu_fr.fpu_dregs[] array.
28489 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28491         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28492         (__nanosleep): Do not define as alias.
28493         (nanosleep): Define as alias of __nanosleep.
28494         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28495         __libc_nanosleep name.
28497 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28499         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28500         install.texi in comment.
28502 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28504         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28505         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28506         ... add here and use lwsync or sync ...
28507         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28508         ... and add here using lwsync.
28510 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28512         * elf/dl-machine-reject-phdr.h: New file.
28513         * elf/dl-load.c: #include that.
28514         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28515         if that returned true.
28517 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28519         [BZ #17496]
28520         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28521         gen-as-const-headers chunk.  Add a big scare comment after the last
28522         safe place to touch before-compile.
28524 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28526         * manual/install.texi (Tools for Compilation): Update autoconf
28527         version requirements.
28528         * INSTALL: Regenerated.
28530         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28531         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28532         (__libc_pselect): Likewise.
28534         [BZ #14138]
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28540 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28542         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28543         correct barrier instruction.
28544         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28545         Likewise.
28546         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28547         Likewise.
28549 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28551         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28552         after defining inlines.  Instead, just use parens to defeat macro
28553         expansion of __isctype in its declaration.
28555 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28557         * include/sys/uio.h (__libc_readv): Remove declaration.
28558         (__libc_writev): Likewise.
28559         * misc/readv.c (__libc_readv): Rename to __readv.
28560         (__readv): Do not define as alias.
28561         (readv): Define as alias of __readv.
28562         * misc/writev.c (__libc_writev): Rename to __writev.
28563         (__writev): Do not define as alias.
28564         (writev): Define as alias of __writev.
28565         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28566         (__readv): Do not define as alias.
28567         (readv): Define unconditionally as alias of __readv.
28568         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28569         (__writev): Do not define as alias.
28570         (writev): Define unconditionally as alias of __writev.
28571         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28572         name.
28573         (writev): Do not define __libc_writev name.
28575 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28577         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28578         (convert_charseq): New function, broken out of ...
28579         (use_from_charmap): ... here.  Call it.
28580         (use_to_charmap): Use convert_charseq and free instead of duplicating
28581         its code with a variable-length stack struct.
28583 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28585         * include/fcntl.h (__libc_creat): Remove declaration.
28586         * io/creat.c (__libc_creat): Rename to creat.
28587         (creat): Do not define as alias.
28588         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28589         of creat instead of __libc_creat.
28590         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28591         to creat.
28592         (creat): Do not define as alias.
28593         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28594         __libc_creat.
28595         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28596         __libc_creat name.
28597         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28598         Likewise.
28600 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28602         * manual/llio.texi: Add comments discussing why write() may be
28603         considered MT-unsafe on Linux.
28605 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28607         * dl-load.c (local_strdup): Remove.
28608         (expand_dynamic_string_token): Use __strdup.
28609         (decompose_rpath): Likewise.
28610         (_dl_map_object): Likewise.
28612 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28614         [BZ #14132]
28615         * sysdeps/generic/unwind-dw2-fde.c
28616         (__register_frame_info_bases_internal): Do not declare.
28617         (__register_frame_info_table_bases_internal): Likewise.
28618         (__deregister_frame_info_bases_internal): Likewise.
28619         (__register_frame_info_bases): Declare and use hidden_proto before
28620         definition.  Use hidden_def instead of INTDEF.
28621         (__register_frame_info_table_bases): Likewise.
28622         (__deregister_frame_info_bases): Likewise.
28623         (__register_frame_info): Do not use INTUSE.
28624         (__register_frame): Likewise.
28625         (__register_frame_info_table): Likewise.
28626         (__register_frame_table): Likewise.
28627         (__deregister_frame_info): Likewise.
28628         (__deregister_frame): Likewise.
28630 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28632         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28633         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28634         not undefine.
28635         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28636         Likewise.
28637         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28638         Likewise.
28640 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28642         [BZ #14138]
28643         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28644         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28645         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28646         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28647         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28648         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28649         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28650         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28651         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28652         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28653         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28654         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28655         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28656         syscall.
28657         (setfsuid): Likewise.
28658         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28659         (setfsuid): Likewise.
28660         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28661         (setfsuid): Likewise.
28662         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28663         Likewise.
28664         (setfsuid): Likewise.
28665         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28666         (setfsuid): Likewise.
28667         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28668         Likewise.
28669         (setfsuid): Likewise.
28671 2014-10-27  Andreas Schwab  <schwab@suse.de>
28673         [BZ #17501]
28674         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28675         check for Slow_SSE4_2 feature bit.
28676         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28677         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28678         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28679         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28681 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28683         * configure.ac: Validate compiler version with a empirical test of
28684         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28685         $CC -v output.
28686         * configure: Regenerated.
28688         * inet/htons.c (htons): Prototypify.
28689         * inet/htonl.c (htonl): Likewise.
28691 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28693         * string/strncat.c (strncat): Improve performance by using strlen.
28695 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28697         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28701         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28702         Call libc_fetestexcept_aarch64.
28704 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28706         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28707         Call libc_feholdexcept_aarch64.
28709 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28711         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28712         Call get_rounding_mode.
28714 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28716         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28717         Simplify logic.
28719 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28721         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28722         Simplify logic.
28724 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28726         [BZ #14138]
28727         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28728         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28729         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28730         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28731         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28732         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28733         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28734         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28735         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28736         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28737         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28738         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28739         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28740         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28741         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28742         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28743         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28744         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28745         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28746         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28747         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28748         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28749         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28750         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28751         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28752         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28753         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28754         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28755         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28756         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28757         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28758         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28759         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28760         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28761         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28762         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28763         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28764         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28765         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28766         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28767         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28768         syscall.
28769         (geteuid): Likewise.
28770         (getgid): Likewise.
28771         (getuid): Likewise.
28772         (getresgid): Likewise.
28773         (getresuid): Likewise.
28774         (getgroups): Likewise.
28775         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28776         (geteuid): Likewise.
28777         (getgid): Likewise.
28778         (getuid): Likewise.
28779         (getresgid): Likewise.
28780         (getresuid): Likewise.
28781         (getgroups): Likewise.
28782         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28783         (geteuid): Likewise.
28784         (getgid): Likewise.
28785         (getuid): Likewise.
28786         (getresgid): Likewise.
28787         (getresuid): Likewise.
28788         (getgroups): Likewise.
28789         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28790         Likewise.
28791         (geteuid): Likewise.
28792         (getgid): Likewise.
28793         (getuid): Likewise.
28794         (getresgid): Likewise.
28795         (getresuid): Likewise.
28796         (getgroups): Likewise.
28797         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28798         (geteuid): Likewise.
28799         (getgid): Likewise.
28800         (getuid): Likewise.
28801         (getresgid): Likewise.
28802         (getresuid): Likewise.
28803         (getgroups): Likewise.
28804         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28805         Likewise.
28806         (geteuid): Likewise.
28807         (getgid): Likewise.
28808         (getuid): Likewise.
28809         (getgroups): Likewise.
28811         [BZ #14138]
28812         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28813         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28814         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28815         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28816         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28817         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28818         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28819         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28820         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28821         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28822         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28823         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28824         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28825         __chown.
28826         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28827         (lchown): Likewise.
28828         (fchown): Likewise.
28829         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28830         Likewise.
28831         (lchown): Likewise.
28832         (fchown): Likewise.
28833         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28834         (lchown): Likewise.
28835         (fchown): Likewise.
28836         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28837         Likewise.
28838         (lchown): Likewise.
28839         (fchown): Likewise.
28841 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28843         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28844         Simplify logic.
28846 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28848         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28849         Cleanup logic.
28851 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28853         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28854         Remove unused include.
28856 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28858         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28860         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28861         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28863 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28864             Helge Deller <deller@gmx.de>
28866         [BZ #17508]
28867         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28868         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28869         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28871 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28873         [BZ #14132]
28874         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28875         Remove macro definition.
28876         (__ashrdi3_v_glibc20): Likewise.
28877         (__lshrdi3_v_glibc20): Likewise.
28878         (__cmpdi2_v_glibc20): Likewise.
28879         (__ucmpdi2_v_glibc20): Likewise.
28880         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28881         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28882         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28883         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28884         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28885         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28887 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28889         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28890         old GNU extension [0] syntax.
28891         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28892         alloca rather than an array member with variable length.
28893         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28894         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28895         (parse_opt): ... here.  Likewise use alloca there.
28896         Validate the -i argument before checking for rootness.
28897         (send_shutdown): New function, broken out of ...
28898         (parse_opt): ... here.
28900 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28902         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28903         macro to get at the _rt_local_ro field.
28904         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28905         ([PIC] case) or _dl_hwcap ([!PIC] case).
28906         * sysdeps/arm/setjmp.S: Likewise.
28908         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28909         * sysdeps/arm/configure.ac: New check to define it.
28910         * sysdeps/arm/configure: Regenerated.
28911         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28912         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28913         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28914         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28915         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28916         Use move/movt pair instead of a load.
28917         (LDST_GLOBAL): Macro removed.
28918         (LDR_GLOBAL): New macro replaces it.
28919         (LDR_HIDDEN): New macro.
28920         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28921         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28923         * setjmp/tst-setjmp-static.c: New file.
28924         * setjmp/Makefile (tests): Add it.
28925         (tests-static): New variable.
28927 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28929         [BZ #17485]
28930         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28932 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28934         [BZ #14132]
28935         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28937 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28939         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28941 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28943         * io/fts.c (dirent_not_directory): New function.
28944         (fts_build): Call it.
28946 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28948         * nptl/version.c (__nptl_main): Use normal __write rather than
28949         INTERNAL_SYSCALL.
28950         (banner): Update copyright years.
28952         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28953         gettimeofday.
28954         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28955         * nptl/pthread_cond_timedwait.c: Likewise.
28956         * nptl/pthread_mutex_timedlock.c: Likewise.
28957         * nptl/sem_timedwait.c: Likewise.
28959         * sysdeps/nptl/bits/libc-lock.h
28960         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28961         (__libc_lock_init_recursive): Return void, not 0.
28962         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28963         (__libc_rwlock_init): Likewise.
28964         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28966 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28968         [BZ #15215]
28969         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28970         (__pthread_once_slow): ... here.
28971         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28972         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28974 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28976         [BZ #15215]
28977         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28978         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28979         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28980         * nptl/pthread_once.c (__pthread_once): Likewise.
28981         Update comments.
28983 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28985         [BZ #14138]
28986         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28987         name.
28988         (writev): Use __libc_writev as strong name.
28989         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28990         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28992 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28994         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28996         * sysdeps/i386/nptl/tls.h
28997         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28998         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28999         New macros.
29000         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29001         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29002         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29003         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29004         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29005         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29007         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29008         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29009         on [__NR_futex].
29010         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29011         broken out of ...
29012         (__pthread_mutex_init): ... here.  Call it.
29013         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29014         Conditionalize PI cases on [__NR_futex].
29015         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29016         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29017         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29019         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29020         conditional on [SIGSETXID].
29021         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29022         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29023         is defined.  Likewise for SIGSETXID.
29024         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29025         Conditionalize definitions on [SIGSETXID].
29026         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29027         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29028         unblocking on [SIGCANCEL].
29030         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29031         [__NR_set_robust_list].
29033 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29035         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29036         (do_compare): Likewise.
29038 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29040         [BZ #15884]
29041         * string/strcoll_l.c: Don't include stdio.h.
29042         (coll_seq): Remove members idxarr and rulearr.
29043         (get_next_seq_cached): Remove function.
29044         (get_next_seq): Likewise.
29045         (get_next_seq_nocache): Rename to get_next_seq.
29046         (do_compare): Remove function.
29047         (do_compare_nocache): Rename to do_compare.
29048         (STRCOLL): Remove weight and rules cache.
29050 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29052         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29053         * sysdeps/arm/sfp-machine.h: ... to here.
29054         * sysdeps/arm/Implies: Remove arm/soft-fp.
29056 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29058         * conform/data/sys/utsname.h-data (*_t): Allow.
29059         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29060         [POSIX] (WEXITED): Do not expect constant.
29061         [POSIX] (WSTOPPED): Likewise.
29062         [POSIX] (WNOHANG): Likewise.
29063         [POSIX] (WNOWAIT): Likewise.
29064         [POSIX] (siginfo_t): Do not expect type or elements.
29065         [POSIX] (pid_t): Do not expect type.
29066         [POSIX] (signal.h): Do not allow header.
29067         [POSIX] (sys/resource.h): Likewise.
29068         [POSIX] (si_*): Do not allow pattern.
29069         [POSIX] (W*): Likewise.
29070         [POSIX] (P_*): Likewise.
29071         [POSIX] (BUS_*): Likewise.
29072         [POSIX] (CLD_*): Likewise.
29073         [POSIX] (FPE_*): Likewise.
29074         [POSIX] (ILL_*): Likewise.
29075         [POSIX] (POLL_*): Likewise.
29076         [POSIX] (SEGV_*): Likewise.
29077         [POSIX] (SI_*): Likewise.
29078         [POSIX] (TRAP_*): Likewise.
29079         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29080         variable.
29082 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29084         [BZ #12926]
29085         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29086         infinite loop when __recvmsg returns 0.
29088 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29090         * CANCEL-FCT-WAIVE: Remove file.
29091         * CANCEL-FILE-WAIVE: Likewise.
29093         [BZ #14132]
29094         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29095         instead of INTVARDEF.
29096         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29097         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29098         rtld_hidden_data_def instead of INTVARDEF.
29099         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29100         * elf/dl-deps.c (expand_dst): Likewise.
29101         * elf/dl-load.c (_dl_dst_count): Likewise.
29102         (_dl_dst_substitute): Likewise.
29103         (decompose_rpath): Likewise.
29104         (_dl_init_paths): Likewise.
29105         (open_path): Likewise.
29106         (_dl_map_object): Likewise.
29107         * elf/rtld.c (dl_main): Likewise.
29108         (process_dl_audit): Likewise.
29109         (process_envvars): Likewise.
29110         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29111         Remove declaration.
29112         (__libc_enable_secure): Use rtld_hidden_proto.
29114 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29116         * elf/dl-load.c
29117         (add_path): New function broken out of _dl_rtld_di_serinfo.
29118         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29120 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29122         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29123         parentheses around macro arguments.
29124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29125         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29129         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29130         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29134         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29135         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29136         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29137         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29138         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29139         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29140         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29147         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29151         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29153         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29154         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29155         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29156         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29157         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29158         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29159         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29160         Likewise.
29161         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29162         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29163         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29164         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29165         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29168         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29169         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29170         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29171         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29172         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29173         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29176         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29177         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29180         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29181         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29182         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29184         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29185         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29186         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29187         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29188         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29189         (_FP_FRAC_SRS_1): Likewise.
29190         (_FP_FRAC_CLZ_1): Likewise.
29191         (_FP_MUL_MEAT_1_imm): Likewise.
29192         (_FP_MUL_MEAT_1_wide): Likewise.
29193         (_FP_MUL_MEAT_1_hard): Likewise.
29194         (_FP_SQRT_MEAT_1): Likewise.
29195         (_FP_FRAC_ASSEMBLE_1): Likewise.
29196         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29197         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29198         (__FP_CLZ_2): Likewise.
29199         (_FP_MUL_MEAT_2_wide): Likewise.
29200         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29201         (_FP_MUL_MEAT_2_gmp): Likewise.
29202         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29203         (_FP_SQRT_MEAT_2): Likewise.
29204         (_FP_FRAC_ASSEMBLE_2): Likewise.
29205         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29206         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29207         (_FP_FRAC_CLZ_4): Likewise.
29208         (_FP_MUL_MEAT_4_wide): Likewise.
29209         (_FP_MUL_MEAT_4_gmp): Likewise.
29210         (_FP_SQRT_MEAT_4): Likewise.
29211         (_FP_FRAC_ASSEMBLE_4): Likewise.
29212         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29213         * soft-fp/op-common.h (_FP_CMP): Likewise.
29214         (_FP_CMP_EQ): Likewise.
29215         (_FP_CMP_UNORD): Likewise.
29216         (_FP_TO_INT): Likewise.
29217         (_FP_FROM_INT): Likewise.
29218         [!__FP_CLZ] (__FP_CLZ): Likewise.
29219         (_FP_DIV_HELP_imm): Likewise.
29220         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29221         Likewise.
29222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29223         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29224         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29228         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29233         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29235         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29236         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29237         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29238         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29241         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29251         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29253         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29254         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29255         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29256         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29257         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29258         (FP_UNPACK_RAW_SP): Likewise.
29259         (FP_PACK_RAW_S): Likewise.
29260         (FP_PACK_RAW_SP): Likewise.
29261         (FP_UNPACK_S): Likewise.
29262         (FP_UNPACK_SP): Likewise.
29263         (FP_UNPACK_SEMIRAW_S): Likewise.
29264         (FP_UNPACK_SEMIRAW_SP): Likewise.
29265         (FP_PACK_S): Likewise.
29266         (FP_PACK_SP): Likewise.
29267         (FP_PACK_SEMIRAW_S): Likewise.
29268         (FP_PACK_SEMIRAW_SP): Likewise.
29269         (_FP_SQRT_MEAT_S): Likewise.
29270         (FP_CMP_S): Likewise.
29271         (FP_CMP_EQ_S): Likewise.
29272         (FP_CMP_UNORD_S): Likewise.
29273         (FP_TO_INT_S): Likewise.
29274         (FP_FROM_INT_S): Likewise.
29276         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29278         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29279         (FP_EX_INVALID_IMZ): Likewise.
29280         (FP_EX_INVALID_IMZ_FMA): Likewise.
29281         (FP_EX_INVALID_ISI): Likewise.
29282         (FP_EX_INVALID_ZDZ): Likewise.
29283         (FP_EX_INVALID_IDI): Likewise.
29284         (FP_EX_INVALID_SQRT): Likewise.
29285         (FP_EX_INVALID_CVI): Likewise.
29286         (FP_EX_INVALID_VC): Likewise.
29287         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29288         "invalid" exceptions.
29289         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29290         (_FP_ADD_INTERNAL): Likewise.
29291         (_FP_MUL): Likewise.
29292         (_FP_FMA): Likewise.
29293         (_FP_DIV): Likewise.
29294         (_FP_CMP_CHECK_NAN): Likewise.
29295         (_FP_SQRT): Likewise.
29296         (_FP_TO_INT): Likewise.
29297         (FP_EXTEND): Likewise.
29299 2014-10-09  Allan McRae  <allan@archlinux.org>
29301         * po/fr.po: Update French translation from translation project.
29303 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29305         [BZ #14132]
29306         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29307         of INTDEF.
29308         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29309         (__cxa_atexit): Use libc_hidden_proto.
29310         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29312         [BZ #14132]
29313         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29314         declaration.
29315         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29316         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29317         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29318         [!_ISOMAC] (__iswctype_internal): Likewise.
29319         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29320         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29321         alias.
29322         (fcntl): Remove __fcntl_internal alias.
29323         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29324         __connect_internal alias.
29325         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29326         Likewise.
29328         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29329         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29330         FP_DENORM_ZERO.
29331         (_FP_CHECK_FLUSH_ZERO): New macro.
29332         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29333         (_FP_CMP): Likewise.
29334         (_FP_CMP_EQ): Likewise.
29335         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29336         FP_DENORM_ZERO.
29337         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29338         (FP_TRUNC): Likewise.
29340         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29341         treated as invalid conversion, not as normal exponent.
29343         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29344         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29345         (_FP_CMP_EQ): Likewise.
29346         (_FP_CMP_UNORD): Likewise.
29347         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29348         (FP_CMP_EQ_D): Likewise.
29349         (FP_CMP_UNORD_D): Likewise.
29350         * soft-fp/extended.h (FP_CMP_E): Likewise.
29351         (FP_CMP_EQ_E): Likewise.
29352         (FP_CMP_UNORD_E): Likewise.
29353         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29354         (FP_CMP_EQ_Q): Likewise.
29355         (FP_CMP_UNORD_Q): Likewise.
29356         * soft-fp/single.h (FP_CMP_S): Likewise.
29357         (FP_CMP_EQ_S): Likewise.
29358         (FP_CMP_UNORD_S): Likewise.
29359         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29360         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29361         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29362         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29363         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29364         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29365         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29366         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29367         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29368         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29369         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29370         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29371         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29372         to FP_CMP_Q.
29373         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29374         FP_CMP_Q.
29375         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29376         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29377         FP_CMP_EQ_Q.
29378         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29379         FP_CMP_Q.
29380         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29381         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29382         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29383         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29384         FP_CMP_EQ_Q.
29385         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29386         FP_CMP_Q.
29387         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29388         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29389         FP_CMP_EQ_Q.
29390         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29391         FP_CMP_Q.
29392         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29393         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29394         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29395         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29396         FP_CMP_EQ_Q.
29398         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29399         a subnormal result, set the underflow exception if trapping on
29400         underflow is enabled.
29401         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29402         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29403         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29404         redefine to 0.
29405         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29406         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29407         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29408         * soft-fp/extendxftf2.c (__extendxftf2): Use
29409         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29411         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29412         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29413         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29414         FP_HANDLE_EXCEPTIONS.
29415         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29416         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29417         FP_HANDLE_EXCEPTIONS.
29418         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29419         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29420         FP_HANDLE_EXCEPTIONS.
29421         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29422         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29423         FP_HANDLE_EXCEPTIONS.
29425 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29427         [BZ #14132]
29428         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29429         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29430         use INTUSE.
29431         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29432         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29433         Remove alias.
29434         (__adjtimex): Define using libc_hidden_ver.
29435         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29436         Remove declaration.
29437         (ntp_gettime): Call __adjtimex directly.
29438         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29439         Remove declaration.
29440         (ntp_gettimex): Call __adjtimex directly.
29441         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29442         __adjtimex_internal alias.
29444 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29446         [BZ #17460]
29447         * nscd/nscd.c (more_help): Rewrite list of tables collection
29448         using xstrdup and asprintf.
29450         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29452 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29453             Roland McGrath  <roland@hack.frob.com>
29455         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29456         (do_lookup_unique): ... local function 'enter' here; update callers.
29458 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29460         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29461         compat_symbol calls on [SHARED].
29462         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29463         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29464         Remove.
29465         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29466         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29467         (oldsetrlimit): Remove.
29468         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29470         (lchown): New syscall entry.
29471         (oldsetrlimit): Remove.
29472         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29473         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29474         (oldsetrlimit): Remove.
29475         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29477         [BZ #14138]
29478         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29479         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29480         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29481         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29482         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29483         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29484         (fchown): Likewise.
29485         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29486         (fchown): Likewise.
29487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29488         Likewise.
29490 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29492         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29493         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29494         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29495         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29496         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29497         Likewise.
29498         (__old_sem_post): Likewise.
29500 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29502         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29503         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29504         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29505         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29506         Use INLINE_VSYSCALL macro.
29507         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29508         __vdso_clock_gettime.
29509         * sysdeps/unix/sysv/linux/tile/init-first.c
29510         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29511         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29512         __vdso_clock_gettime.
29514         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29515         to set up frame more cleanly.
29517         * sysdeps/tile/memcmp.c: New file.
29519         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29521         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29522         * sysdeps/tile/tilegx/strcasestr.c: New file.
29523         * sysdeps/tile/tilegx/strnlen.c: New file.
29524         * sysdeps/tile/tilegx/strstr.c: New file.
29526         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29528 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29530         * nptl/tst-setuid3.c: Write errors to stdout.
29532 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29534         * elf/dl-deps.c
29535         (preload): New functions broken out of _dl_map_object_deps.
29536         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29538 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29540         [BZ #14138]
29541         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29542         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29544 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29546         * sysdeps/mips/strcmp.S: New.
29548 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29550         [BZ #14138]
29551         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29552         (linkat): Likewise.
29553         (mkdirat): Likewise.
29554         (readlinkat): Likewise.
29555         (renameat): Likewise.
29556         (symlinkat): Likewise.
29557         (unlinkat): Likewise.
29558         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29559         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29560         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29561         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29562         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29563         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29564         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29566 2014-09-30  Will Newton  <will.newton@linaro.org>
29568         * math/math.h: Define long double math functions if
29569         _LIBC_TEST is defined.
29570         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29572         * localedata/Makefile: Move assignment to tests-special
29573         into an ifdef testing run-built-tests.
29574         * timezone/Makefile: Likewise.
29576 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29578         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29579         with $(BASH) not $(SHELL).
29581 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29582             Matthew LeGendre  <legendre1@llnl.gov>
29584         [BZ #17411]
29585         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29586         l_reloc_result.
29588 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29590         * stdio-common/printf_fp.c
29591         (hack_digit): New function, broken out of ...
29592         (__printf_fp): ... local function here.  Update call sites.
29593         hack_digit now takes an additional parameter that is a pointer
29594         to a struct of the referenced locals.  Those locals moved inside
29595         the struct and references updated.
29597 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29599         * aclocal.m4: Require autoconf 2.69.
29600         * configure: Regenerated.
29601         * sysdeps/aarch64/configure: Likewise.
29602         * sysdeps/alpha/configure: Likewise.
29603         * sysdeps/arm/armv7/configure: Likewise.
29604         * sysdeps/arm/configure: Likewise.
29605         * sysdeps/ia64/configure: Likewise.
29606         * sysdeps/mach/configure: Likewise.
29607         * sysdeps/mips/configure: Likewise.
29608         * sysdeps/s390/configure: Likewise.
29609         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29612         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29613         file.
29614         * sysdeps/ia64/configure.ac: Likewise.
29616 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29619         specify symbol version for ld.so.  Do not include entry for
29620         libpthread.
29621         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29622         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29623         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29625         [BZ #14171]
29626         * Makeconfig [$(build-shared) = yes]
29627         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29628         makefiles.
29629         [$(build-shared) = yes && $(soversions.mk-done) = t]
29630         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29631         [$(build-shared) = yes && $(soversions.mk-done) = t]
29632         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29633         to Makerules.
29634         [$(build-shared) = yes && $(soversions.mk-done) = t]
29635         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29636         here.
29637         [$(build-shared) = yes && $(soversions.mk-done) = t]
29638         (common-generated): Don't append gnu/lib-names.h and
29639         gnu/lib-names.stmp here.
29640         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29641         (lib-names-h-abi): New variable.
29642         [$(build-shared) = yes && $(soversions.mk-done) = t]
29643         (lib-names-stmp-abi): Likewise.
29644         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29645         abi-variants] (before-compile): Append
29646         $(common-objpfx)$(lib-names-h-abi).
29647         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29648         abi-variants] (common-generated): Append gnu/lib-names.h.
29649         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29650         abi-variants] (install-others-nosubdir): Depend on
29651         $(inst_includedir)/$(lib-names-h-abi).
29652         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29653         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29654         [$(build-shared) = yes && $(soversions.mk-done) = t]
29655         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29656         [$(build-shared) = yes && $(soversions.mk-done) = t]
29657         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29658         [$(build-shared) = yes && $(soversions.mk-done) = t]
29659         (common-generated): Append $(lib-names-h-abi) and
29660         $(lib-names-stmp-abi).
29661         * scripts/lib-names.awk: Do not handle multi being set.
29662         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29663         Remove variable.
29664         (abi-lp64_be-ld-soname): Likewise.
29665         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29666         Likewise.
29667         (abi-hard-ld-soname): Likewise.
29668         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29669         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29670         Remove variable.
29671         (abi-o32_hard-ld-soname): Likewise.
29672         (abi-o32_soft_2008-ld-soname): Likewise.
29673         (abi-o32_hard_2008-ld-soname): Likewise.
29674         (abi-n32_soft-ld-soname): Likewise.
29675         (abi-n32_hard-ld-soname): Likewise.
29676         (abi-n32_soft_2008-ld-soname): Likewise.
29677         (abi-n32_hard_2008-ld-soname): Likewise.
29678         (abi-n64_soft-ld-soname): Likewise.
29679         (abi-n64_hard-ld-soname): Likewise.
29680         (abi-n64_soft_2008-ld-soname): Likewise.
29681         (abi-n64_hard_2008-ld-soname): Likewise.
29682         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29683         Likewise.
29684         (abi-64-v2-ld-soname): Likewise.
29685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29686         ld.so entries.
29687         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29688         variable.
29689         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29690         entry.
29691         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29692         variable.
29693         (abi-64-ld-soname): Likewise.
29694         (abi-x32-ld-soname): Likewise.
29695         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29696         entry.
29697         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29699 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29701         [BZ #14138]
29702         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29703         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29704         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29705         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29706         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29707         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29708         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29709         syscall entry for GLIBC_2.2 symbol version.
29710         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29711         Likewise.
29712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29713         (setrlimit): Likewise.
29714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29715         Likewise.
29717 2014-09-23  Will Newton  <will.newton@linaro.org>
29719         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29720         _LINUX_ARM_SYSDEP_H include guard too.
29721         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29722         define.
29724 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29726         * sysdeps/unix/sysv/linux/eventfd.c:
29727         Make first argument unsigned.
29728         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29729         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29731 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29733         [BZ #16852]
29734         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29735         * socket/sys/socket.h: Likewise.
29736         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29738 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29740         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29742 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29744         * time/tst-ftime.c: New test.
29745         * time/Makefile (tests): Add tst-ftime.
29747 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29749         * soft-fp/extended.h: Fix comment formatting.
29750         * soft-fp/op-1.h: Likewise.
29751         * soft-fp/op-2.h: Likewise.
29752         * soft-fp/op-4.h: Likewise.
29753         * soft-fp/op-8.h: Likewise.
29754         * soft-fp/op-common.h: Likewise.
29755         * soft-fp/soft-fp.h: Likewise.
29757         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29759 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29761         [BZ #6652]
29762         * Makeconfig (soversions-default-setname): Remove variable.
29763         ($(common-objpfx)soversions.i): Don't pass default_setname to
29764         soversions.awk.
29765         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29766         oldest_abi to abi-versions.awk.
29767         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29768         * config.make.in (oldest-abi): Remove variable.
29769         * configure.ac (--enable-oldest-abi): Remove configure option.
29770         * configure: Regenerated.
29771         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29772         text.
29773         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29774         * scripts/soversions.awk: Do not handle default_setname variable.
29775         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29776         variable.
29777         * sysdeps/mach/hurd/configure: Regenerated.
29778         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29779         variable.
29780         * sysdeps/unix/sysv/linux/configure: Regenerated.
29782 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29784         * elf/Makefile (CFLAGS-interp.c): Remove.
29785         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29786         path string.
29787         * elf/interp.c: Include generated runtime-linker.h
29789         * Makerules (lib%.so): Don't include $(+interp) in
29790         prerequisites.
29791         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29792         * dlfcn/eval.c: Remove file.
29794         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29795         macros.
29797         [BZ #17266]
29798         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29799         4.2 and newer.
29801         [BZ #17370]
29802         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29804 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29805             Jakub Jelinek  <jakub@redhat.com>
29807         [BZ #17266]
29808         * libio/stdio.h: Check definition of __fortify_function
29809         instead of __extern_always_inline to include bits/stdio2.h.
29810         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29811         check if __extern_always_inline is defined.
29812         [__USE_MISC || __USE_XOPEN]: Likewise.
29813         [__USE_ISOC99] Likewise.
29814         * misc/sys/cdefs.h (__fortify_function): Define only if
29815         __extern_always_inline is defined.
29816         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29817         __extern_always_inline and __extern_inline only for g++-4.3
29818         and newer or a compatible gcc.
29820 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29822         [BZ #17371]
29823         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29824         last change to handle zero prefix length.
29826 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29828         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29829         _SC_REGEX_VERSION.
29831         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29832         _POSIX_RAW_SOCKETS.
29834 2014-09-13  Allan McRae  <allan@archlinux.org>
29836         * po/ru.po: Update Russian translation from translation project.
29838 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29840         * locale/programs/locale.c (show_locale_vars): Inline local function
29841         into its sole call site.  Clean up some style nits.
29842         (print_item): New function, broken out of ...
29843         (show_info): ... local function here.  Clean up style nits.
29845         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29846         out of ...
29847         (set_class_defaults): ... local function set_default here.
29848         Define set_default as a macro locally to pass constant parameters.
29849         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29850         rather than a shared local.
29852         * stdlib/rpmatch.c (try): New function, broken out of ...
29853         (rpmatch): ... local function here.  Also, prototypify definition.
29855 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29857         * scripts/soversions.awk: Do not handle configuration names.
29858         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29859         vendor and os variables to soversions.awk.
29860         * configure.ac: Do not modify gnu-* host_os.
29861         * configure: Regenerated
29862         * shlib-versions: Remove first column with configuration names.
29863         * nptl/shlib-versions: Likewise.
29864         * nptl_db/shlib-versions: Likewise.
29865         * sysdeps/hppa/shlib-versions: Likewise.
29866         * sysdeps/m68k/shlib-versions: Likewise.
29867         * sysdeps/mach/hurd/shlib-versions: Likewise.
29868         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29869         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29870         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29871         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29872         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29873         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29874         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29875         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29877         Likewise.
29878         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29879         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29880         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29881         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29882         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29883         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29884         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29885         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29888         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29890         Regenerated.
29891         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29893         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29895         * shlib-versions: Remove OS-specific entries.  Moved to files in
29896         sysdeps.
29897         * sysdeps/mach/hurd/shlib-versions: New file.
29898         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29900         * nptl/shlib-versions: Remove architecture-specific entries.
29901         Moved to files in sysdeps.
29902         * shlib-versions: Likewise.
29903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29904         file.
29905         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29906         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29907         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29908         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29910         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29911         (UDP_NO_CHECK6_RX): Likewise.
29913 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29915         * sysdeps/posix/sysconf.c (__sysconf): Spell
29916         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29918 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29920         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29921         loading.
29922         * iconv/Versions (__gconv_transliterate): Export for use from
29923         gconv modules.
29924         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29925         (struct __gconv_trans_data, __gconv_trans_fct,
29926         __gconv_trans_context_fct, __gconv_trans_query_fct,
29927         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29928         definitions.
29929         (struct __gconv_step_data): Remove __trans member.
29930         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29931         longer hidden.  Remove unused trans_data argument.
29932         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29933         (__gconv_translit_find): Remove declaration.
29934         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29935         prototype.
29936         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29937         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29938         trans_data argument.  Add hidden definition.
29939         (__gconv_translit_find): Remove.
29940         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29941         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29942         * iconv/skeleton.c: Remove transliteration initialization.
29943         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29944         __gconv_step_data initialization.
29945         * libio/iofwide.c (__libio_translit_): Remove.
29946         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29947         * wcsmbs/btowc.c (__btowc): Likewise.
29948         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29949         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29950         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29951         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29952         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29953         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29954         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29955         * wcsmbs/wctob.c (wctob): Likewise.
29957 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29959         [BZ #16194]
29960         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29961         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29962         register usage.
29963         * sysdeps/x86/Makefile: Adjust.
29965 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29966             Roland McGrath  <roland@hack.frob.com>
29968         * locale/weight.h: Add include guard.
29969         (findidx): Make static rather than auto; take new parameters
29970         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29971         * locale/weightwc.h: Likewise.
29972         * posix/fnmatch_loop.c
29973         (FCT): Change type of EXTRA from int32_t to wint_t.
29974         Don't include either header inside the function.
29975         Call FINDIDX rather than findidx, and pass new arguments.
29976         #undef FINDIDX at the end of the file.
29977         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29978         FINDIDX before including fnmatch_loop.c for the non-wide version.
29979         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29980         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29981         for the wide version.
29982         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29983         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29984         Pass new arguments to findidx.
29985         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29986         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29987         Don't #include it inside the function.  Pass new arguments to findidx.
29988         * posix/regex_internal.h
29989         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29990         (re_string_elem_size_at): Don't #include it inside the function.
29991         Pass new arguments to findidx.
29992         * string/strcoll_l.c: #include WEIGHT_H at top level.
29993         (get_next_seq): Don't #include it inside the function.
29994         Pass new arguments to findidx.
29995         (get_next_seq_nocache): Likewise.
29996         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29997         (STRXFRM): Don't #include it inside the function.
29998         Pass new arguments to findidx.
30000 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30002         [BZ #17344]
30003         * malloc/malloc.c (unlink): Turn asserts into a call to
30004         malloc_printerr.
30006 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30008         [BZ #17370]
30009         * libio/wfileops (do_ftell_wide): Free OUT.
30011 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30015 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30017         [BZ #17363]
30018         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30019         group if the current group is empty.
30021 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30023         * benchtests/bench-memset.c (test_main): Add more test from size
30024         from 32 to 512 bytes.
30025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30026         Add POWER8 memset object.
30027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30028         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30029         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30030         implementation.
30031         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30032         Likewise.
30033         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30034         multiarch POWER8 memset optimization.
30035         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30036         POWER8 memset optimization.
30038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30039         Remove bzero multiarch objects.
30040         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30041         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30042         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30043         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30044         Remove define.
30045         [__bzero]: Redefine to specific name.
30046         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30047         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30048         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30049         define.
30050         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30051         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30053 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30055         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30056         warnings into errors.
30058         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30059         __cxa_thread_atexit_impl prototype.
30061 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30063         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30064         Fix capitalization of error message.
30066 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30068         * sysdeps/mips/preconfigure: Modify ABI tests.
30070 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30072         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30074 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30075             Carlos O'Donell  <carlos@systemhalted.org>
30077         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30078         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30079         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30080         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30081         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30082         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30083         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30084         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30085         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30086         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30087         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30088         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30089         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30090         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30091         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30092         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30093         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30094         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30095         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30096         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30097         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30098         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30099         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30100         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30101         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30102         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30103         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30104         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30105         Deconditionalize the code that was previously under [RESET_PID].
30106         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30107         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30108         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30109         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30110         include sysdep.h.
30112 2014-09-08  Allan McRae  <allan@archlinux.org>
30114         * version.h (RELEASE): Set to "development".
30115         (VERSION): Set to "2.20.90"
30117 2014-09-07  Allan McRae  <allan@archlinux.org
30119         * version.h (RELEASE): Set to "stable".
30120         (VERSION): Set to "2.20"
30121         * include/features.h (__GLIBC_MINOR__): Set to 20.
30123         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30124         Liebler.
30126         * po/ko.po: Update Korean translation from translation project.
30128 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30130         [BZ #17354]
30131         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30132         macro for handling signed relocations.
30134 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30136         [BZ #17325]
30137         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30138         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30139         assert.
30140         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30141         * iconvdata/ibm935.c (BODY): Likewise.
30142         * iconvdata/ibm937.c (BODY): Likewise.
30143         * iconvdata/ibm939.c (BODY): Likewise.
30144         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30145         assert.
30146         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30147         script.
30148         * iconvdata/run-iconv-test.sh: New test loop for checking for
30149         decoder crashers.
30151 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30153         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30154         libm_hidden_ver.
30156 2014-09-01  Allan McRae  <allan@archlinux.org>
30158         * po/eo.po: Update Esperanto translation from translation project.
30160         * po/ca.po: Update Catalan translation from translation project.
30162 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30164         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30165         __proc_dostop call.
30167 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30169         [BZ #17319]
30170         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30171         to call set_thread_area instead of hand written asm.
30172         (__NR_set_thread_area): Removed define.
30173         (TLS_FLAG_WRITABLE): Likewise.
30174         (__ASSUME_SET_THREAD_AREA): Remove check.
30175         (TLS_EBX_ARG): Remove define.
30176         (TLS_LOAD_EBX): Likewise.
30178 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30180         Simplify atomicity of socket creation in bind.
30182         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30183         looking up the name after linking the file.
30185 2014-08-27  Allan McRae  <allan@archlinux.org>
30187         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30189 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30191         [BZ #17187]
30192         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30193         trans_compare, open_translit, __gconv_translit_find):
30194         Remove module loading code.
30196 2014-08-26  Allan McRae  <allan@archlinux.org>
30198         * po/vi.po: Update Vietnamese translation from translation project.
30200         * po/uk.po: Update Ukrainian translation from translation project.
30202         * po/fr.po: Update French translation from translation project.
30204         * po/ru.po: Update Russian translation from translation project.
30206         * po/pl.po: Update Polish translation from translation project.
30208         * po/cs.po: Update Czech translation from translation project.
30210         * po/de.po: Update German translation from translation project.
30212         * po/bg.po: Update Bulgarian translation from translation project.
30214         * po/sv.po: Update Sweedish translation from translation project.
30216         * po/nl.po: Update Dutch translation from translation project.
30218         * po/es.po: Update Spanish translation from translation project.
30220 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30222         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30224         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30225         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30226         (CPPFLAGS-iconvconfig): Likewise.
30227         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30229         * include/libc-symbols.h: Remove unnecessary check for
30230         NOT_IN_libc.
30231         * nptl/pthreadP.h: Likewise.
30232         * sysdeps/aarch64/setjmp.S: Likewise.
30233         * sysdeps/alpha/setjmp.S: Likewise.
30234         * sysdeps/arm/sysdep.h: Likewise.
30235         * sysdeps/i386/setjmp.S: Likewise.
30236         * sysdeps/m68k/setjmp.c: Likewise.
30237         * sysdeps/posix/getcwd.c: Likewise.
30238         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30239         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30240         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30241         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30242         * sysdeps/sh/sh3/setjmp.S: Likewise.
30243         * sysdeps/sh/sh4/setjmp.S: Likewise.
30244         * sysdeps/unix/alpha/sysdep.h: Likewise.
30245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30247         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30248         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30253         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30256         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30258         * sysdeps/x86_64/setjmp.S: Likewise.
30260 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30262         [BZ #17263]
30263         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30264         <stdint.h>.
30265         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30266         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30268 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30270         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30272         [BZ #17262]
30273         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30274         and __x86_64__ when disabling x87 inline functions.
30276 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30278         [BZ #17259]
30279         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30280         asm statement with __cpuid_count.
30282 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30284         * configure.ac: Change __ehdr_start code to dereference the struct.
30285         Run readelf on the output to look for relocations.
30286         * configure: Regenerated.
30288 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30290         [BZ #17261]
30291         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30292         value to 0.
30293         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30295 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30297         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30299 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30301         [BZ #16892]
30302         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30303         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30305 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30307         * malloc/malloc.c: Fix typo in comment.
30309 2014-08-09  Allan McRae  <allan@archlinux.org>
30311         * Regenerate libc.po.
30313 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30315         * intl/tst-gettext2.sh: Check every lang file for creation.
30317 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30319         * sysdeps/aarch64/fpu/math_private.h
30320         (libc_feholdsetround_noex_aarch64_ctx): New function.
30322 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30324         * sysdeps/arm/armv6/strcpy.S (strcpy):
30325         Fix performance issue in misaligned cases.
30327 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30329         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30330         Move definition from termios.h.
30331         (struct termio): Likewise.
30332         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30333         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30334         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30335         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30336         Likewise.
30337         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30338         Move definition to ioctl-types.h
30339         (struct termio): Likewise.
30340         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30341         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30342         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30343         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30344         Likewise.
30346 2014-08-05  Richard Henderson  <rth@redhat.com>
30348         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30349         exceptions.
30350         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30351         Add fraiseexcpt.
30352         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30353         Use __feraiseexcept.
30354         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30355         Protect libm symbols with IS_IN_libm.
30357         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30359 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30361         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30363 2014-08-04  Will Newton  <will.newton@linaro.org>
30365         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30366         file.
30368 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30370         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30371         variants for each function.
30373 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30375         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30376         appended ...
30377         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30378         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30379         appended ...
30380         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30381         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30382         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30383         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30384         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30385         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30386         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30387         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30388         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30389         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30390         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30391         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30392         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30393         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30394         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30395         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30396         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30397         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30398         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30399         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30400         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30401         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30402         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30403         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30404         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30405         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30406         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30407         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30408         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30409         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30410         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30411         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30412         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30413         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30414         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30415         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30416         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30417         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30418         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30419         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30420         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30422         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30423         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30424         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30425         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30426         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30427         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30428         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30429         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30430         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30431         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30432         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30433         Update #include.
30434         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30435         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30437 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30439         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30440         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30441         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30442         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30443         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30444         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30446 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30448         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30449         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30450         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30451         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30453 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30455         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30456         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30457         (__libc_vfork): Define function under this name.
30458         (__vfork): Define as an alias.
30459         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30460         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30462 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30464         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30465         that was previously under [RESET_PID].
30466         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30468 2014-08-04  Andreas Schwab  <schwab@suse.de>
30470         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30472 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30474         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30475         (main): Likewise.
30477 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30479         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30481 2014-08-01  Richard Henderon  <rth@redhat.com>
30483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30484         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30485         typo in exact zero test.
30486         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30487         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30488         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30490 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30492         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30493         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30494         * sysdeps/arm/sysdep.h: ... here.
30495         [!__ASSEMBLER__]: Include <stdint.h>.
30497 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30499         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30500         (HAVE_WCTYPE_H): Likewise.
30501         (HAVE_ISWCTYPE): Likewise.
30502         (ENABLE_NLS): Likewise.
30503         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30504         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30506         * posix/regex_internal.c: Check if DEBUG is defined and is
30507         set.
30509         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30510         (HAVE_MBSRTOWCS): Likewise.
30511         * posix/fnmatch.c: Include string.h unconditionally.
30513 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30515         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30516         reversal.
30518 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30520         * sysdeps/generic/safe-fatal.h: New file.
30521         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30522         * nptl/forward.c: Include it.
30523         (__pthread_unwind): Use __safe_fatal as default action, rather
30524         than a bogus use of INTERNAL_SYSCALL that could never work.
30526         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30527         * configure.ac (libc_cv_builtin_trap): New test.
30528         * configure: Regenerated.
30529         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30530         (ABORT_INSTRUCTION): Define using __builtin_trap.
30532         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30533         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30534         * sysdeps/nptl/nptl-signals.h: New file.
30535         * nptl/pthreadP.h: Include <nptl-signals.h>.
30537 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30539         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30540         (ONE_DIRECTION): Define.
30541         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30542         (ONE_DIRECTION): Define.
30543         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30544         (ONE_DIRECTION): Define.
30546 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30548         * sysdeps/s390/Makefile: Delete file.
30549         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30550         * sysdeps/s390/__longjmp.c: Delete file.
30551         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30552         Remove fields __flags and __reserved.
30553         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30554         and add versioning.
30555         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30556         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30557         * sysdeps/s390/rtld-setjmp.S: Likewise.
30558         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30559         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30560         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30561         * sysdeps/s390/s390-32/setjmp.S: ... here.
30562         Add versioning.
30563         (__sigsetjmp): Remove setting __flags field.
30564         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30565         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30566         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30567         * sysdeps/s390/s390-64/setjmp.S: ... here.
30568         Add versioning.
30569         (__sigsetjmp): Remove setting __flags field.
30570         * sysdeps/s390/setjmp.S: Delete file.
30571         * sysdeps/s390/sigjmp.c: Likewise.
30572         * sysdeps/s390/v1-longjmp.c: Likewise.
30573         * sysdeps/s390/v1-setjmp.h: Likewise.
30574         * sysdeps/s390/v1-sigjmp.c: Likewise.
30575         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30576         Remove v1-longjmp_chk.
30577         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30578         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30579         Include debug/longjmp_chk.c and add versioning.
30580         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30581         Include nptl/pt-longjmp.c and add versioning.
30582         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30583         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30584         Include __longjmp.c.
30585         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30586         Move to ...
30587         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30588         (__getcontext): Remove setting __flags field.
30589         Add versioning.
30590         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30591         Don't restore upper high grps.
30592         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30593         Likewise.
30594         (__swapcontext): Remove setting uc_flags field.
30595         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30596         Delete file.
30597         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30598         Include __longjmp.c.
30599         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30600         Move to ...
30601         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30602         (__getcontext): Remove setting __flags field.
30603         Add versioning.
30604         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30605         (__swapcontext): Remove setting uc_flags field.
30606         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30607         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30608         Remove fields uc_high_gprs and __reserved.
30609         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30610         New file with reverted content.
30611         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30612         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30613         Regenerated.
30614         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30615         Regenerated.
30617 2014-07-31  Andreas Schwab  <schwab@suse.de>
30619         * config.h.in (HAVE_IFUNC): Define to 0.
30620         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30621         definedness.
30623 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30626         memmove-avx-unaligned, memcpy-avx-unaligned and
30627         mempcpy-avx-unaligned.
30628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30629         Add tests for AVX memcpy functions.
30630         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30631         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30632         memcpy_chk.
30633         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30634         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30635         memmove_chk.
30636         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30637         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30638         mempcpy_chk.
30639         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30640         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30641         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30643 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30645         [BZ #17213]
30646         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30647         powerpc64le.
30649 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30651         [BZ #16839]
30652         * manual/llio.texi: Add section about open file description locks.
30653         * manual/examples/ofdlocks.c: Example of open file description
30654         lock usage.
30655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30656         F_OFD_SETLK, and F_OFD_SETLKW.
30658 2014-07-23  Allan McRae  <allan@archlinux.org>
30660         * po/es.po: Update Spanish translation from translation project.
30662 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30664         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30666 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30668         [BZ #17078]
30669         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30670         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30671         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30673 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30675         [BZ #17088]
30676         * math/fesetenv.c (__fesetenv)
30677         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30678         * math/feupdateenv.c (__feupdateenv)
30679         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30681         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30682         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30683         (__ASSUME_SOCKETCALL): Do not define.
30685         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30686         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30687         (__ASSUME_SOCKETCALL): Do not define.
30688         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30689         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30690         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30691         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30692         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30693         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30695         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30697         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30698         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30699         (__ASSUME_SOCKETCALL): Do not define.
30700         (__ASSUME_IPC64): Define unconditionally.
30701         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30702         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30703         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30705         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30706         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30707         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30708         Likewise.
30710         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30711         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30712         (__ASSUME_SOCKETCALL): Do not define.
30713         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30714         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30715         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30716         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30717         (__ASSUME_REQUEUE_PI): Define unconditionally.
30718         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30719         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30720         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30721         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30722         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30723         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30725         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30726         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30727         (__ASSUME_SOCKETCALL): Do not define.
30728         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30729         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30730         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30731         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30732         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30733         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30735         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30736         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30737         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30738         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30739         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30740         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30741         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30742         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30743         (__ASSUME_GETCPU_SYSCALL): Likewise.
30745         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30746         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30747         cases for individual architectures.
30748         * sysdeps/gnu/configure: Regenerated.
30749         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30750         LIBC_SLIBDIR_RTLDDIR.
30751         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30752         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30753         LIBC_SLIBDIR_RTLDDIR.
30754         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30756         LIBC_SLIBDIR_RTLDDIR.
30757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30758         Regenerated.
30759         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30760         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30761         file.
30762         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30763         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30764         file.
30765         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30766         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30767         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30768         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30770         * sysdeps/aarch64/shlib-versions: Move to ...
30771         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30772         * sysdeps/alpha/shlib-versions: Move to ...
30773         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30774         * sysdeps/arm/shlib-versions: Move to ...
30775         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30776         * sysdeps/hppa/shlib-versions: Move all contents except for
30777         libgcc_s entry to ...
30778         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30779         entry from ...
30780         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30781         * sysdeps/ia64/shlib-versions: Move to ...
30782         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30783         entry from ...
30784         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30785         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30786         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30787         * sysdeps/microblaze/shlib-versions: Move to ...
30788         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30789         * sysdeps/mips/shlib-versions: Move to ...
30790         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30791         entry from ...
30792         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30793         * sysdeps/tile/shlib-versions: Move to ...
30794         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30795         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30796         from ...
30797         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30798         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30799         entry from ...
30800         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30802 2014-07-17  Will Newton  <will.newton@linaro.org>
30804         * sysdeps/arm/bits/atomic.h
30805         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30806         (__arch_compare_and_exchange_bool_16_int): Likewise.
30807         (__arch_compare_and_exchange_bool_64_int): Likewise.
30809         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30810         into an #else block.
30812 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30814         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30815         just Linux configurations.  Test empirically that the compiler sets
30816         __ARM_EABI__, rather than using the tuple to decide.
30817         * sysdeps/arm/preconfigure: Regenerated.
30818         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30819         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30820         contents appended ...
30821         * sysdeps/arm/configure.ac: ... here.
30822         * sysdeps/arm/configure: Regenerated.
30824 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30826         * nptl/pthread_kill.c: New file.
30827         * nptl/pthread_sigmask.c: New file.
30828         * nptl/pthread_sigqueue.c: New file.
30830         * sysdeps/nptl/lowlevellock.h: New file.
30831         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30832         * sysdeps/nptl/lowlevellock-futex.h: New file.
30834         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30835         Remove dead declarations.
30837 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30839         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30840         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30841         config-cflags-avx2.
30842         * sysdeps/x86_64/configure.ac: Likewise.
30843         * sysdeps/i386/configure: Regenerated.
30844         * sysdeps/x86_64/configure: Likewise.
30845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30846         memset-avx2 only if config-cflags-avx2 is yes.
30847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30848         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30849         defined.
30850         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30851         only if HAVE_AVX2_SUPPORT is defined.
30852         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30854 2014-07-14  Alan Modra  <amodra@gmail.com>
30856         [BZ #17153]
30857         * elf/elf.h (DT_PPC64_NUM): Correct value.
30858         * NEWS: Add to fixed bug list.
30860 2014-07-13  Jim Meyering  <meyering@fb.com>
30862         [BZ 17150]
30863         regex: don't deref NULL upon heap allocation failure
30864         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30865         failure in one more place.
30866         To trigger the segfault, configure grep -with-included-regex,
30867         build it, and run these commands:
30868         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30870 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30872         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30874 2014-07-11  Richard Henderson  <rth@redhat.com>
30876         * sysdeps/aarch64/libm-test-ulps: Update.
30878 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30880         [BZ #17135]
30881         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30882         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30883         (__nptl_setxid): Initialize error member.  Call
30884         __nptl_setxid_error.
30885         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30886         * nptl/descr.h (struct xid_command): Add error member.
30887         * nptl/tst-setuid3.c: New file.
30888         * nptl/Makefile (tests): Add it.
30890 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30892         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30893         New define.
30894         (__lll_trylock): Use __lll_base_trylock.
30895         (__lll_cond_trylock): Likewise.
30897 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30899         * nptl/pthread_create.c (start_thread): Use atomic_or and
30900         lll_futex_wake directly rather than lll_robust_dead.
30901         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30902         (lll_robust_dead): Macro removed.
30903         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30904         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30905         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30906         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30907         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30908         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30909         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30910         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30911         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30912         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30913         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30914         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30915         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30916         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30917         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30919         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30920         Use atomic_compare_and_exchange_val_acq directly rather than
30921         lll_robust_trylock.
30922         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30923         (__lll_robust_trylock, lll_robust_trylock): Removed.
30924         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30925         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30926         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30927         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30928         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30929         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30930         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30931         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30932         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30933         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30934         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30935         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30936         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30937         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30939 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30941         * manual/locale.texi (Locale Names): New section documenting
30942         locale name syntax.  Adjust menu and node chaining accordingly.
30943         (Choosing Locale): Reference Locale Names, Locale Categories.
30944         Mention setting LC_ALL=C.  Reflect that name syntax is now
30945         documented.
30946         (Locale Categories): New section title.  Reference Locale Names.
30947         LC_ALL is an environment variable, but not a category.
30948         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30949         description, now in Locale Name.  Reference that section.  Locale
30950         name syntax is now documented.
30952 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30954         [BZ #17137]
30955         * locale/findlocale.c (name_present, valid_locale_name): New
30956         functions.
30957         (_nl_find_locale): Use the loc_name variable to store name
30958         candidates.  Call name_present and valid_locale_name to check and
30959         validate locale names.  Return an error if the locale is invalid.
30961 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30963         * locale/setlocale.c (setlocale): Use strdup for allocating
30964         composite name copy.
30966 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30968         Sync up with gnulib.
30969         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30970         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30971         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30972         and _GL_ARG_NONNULL.
30973         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30974         [!_LIBC]: Include code for Windows and Cygwin.
30975         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30976         Include prototype for int strerror_r.
30977         [!_LIBC] (is_open): New function.
30978         (flush_stdout): New function.
30979         (print_errno_message): Use it.
30980         (error): Likewise.
30981         (error_at_line): Likewise.
30982         (error_tail) Add function attribute macros.  Use
30983         __builtin_expect.
30985         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30987         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30989         * io/ftw.c: Include sys/param.h unconditionally.
30991         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30993         [BZ #17125]
30994         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30995         libc_freeres_ptr.
30996         (freecache): New function to free CACHE on exit.
30998         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30999         initialization.
31001 2014-07-09  David S. Miller  <davem@davemloft.net>
31003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31005         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31006         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31007         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31008         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31009         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31010         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31011         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31012         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31013         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31014         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31015         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31016         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31017         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31019 2014-07-09  Andreas Schwab  <schwab@suse.de>
31021         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31022         output.
31023         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31024         (do_test): Likewise.
31026         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31028 2014-07-09  Will Newton  <will.newton@linaro.org>
31030         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31031         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31032         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31033         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31034         * sysdeps/hppa/start.S (_start): Likewise.
31036 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31038         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31040         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31041         defined.
31043 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31045         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31046         after checking that it is non-NULL.
31048         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31050 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31052         * sysdeps/powerpc/memmove.c: Remove file.
31053         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31054         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31055         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31056         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31057         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31058         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31059         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31060         string memmove instead of removed powerpc one.
31062         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31063         [weak_alias]: Fix compiler warning due trailing data.
31064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31065         [weak_alias]: Likewise.
31066         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31067         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31070         (__libc_ifunc_impl_list): Add memmove functions.
31072 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31074         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31075         Remove code.
31076         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31077         Likewise.
31078         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31079         Likewise.
31080         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31081         Likewise.
31082         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31083         Likewise.
31084         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31085         Likewise.
31086         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31087         Likewise.
31088         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31089         Likewise.
31090         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31091         Likewise.
31092         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31093         Likewise.
31094         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31095         Likewise.
31096         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31097         Likewise.
31098         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31099         Likewise.
31100         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31101         Likewise.
31102         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31103         Likewise.
31104         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31105         Likewise.
31106         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31107         Likewise.
31109 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31111         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31112         to avoid alignment traps in non-cacheable memory.
31113         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31116         multiarch objects.
31117         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31118         file: multiarch power7 memmove.
31119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31120         multiarch default memmove.
31121         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31122         multiarch memove for powerpc32/power4.
31124         * string/bcopy.c: Use full path to include memmove.c.
31125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31126         multiarch objects.
31127         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31128         bcopy for powerpc64.
31129         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31130         bcopy for powerpc64.
31131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31132         and memmove implementations.
31133         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31134         optimized multiarch memmove for POWER7/powerpc64.
31135         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31136         default multiarch memmove for powerpc64.
31137         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31138         multiarch for powerpc64.
31139         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31140         for POWER7/powerpc64.
31141         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31142         memmove for POWER7/powerpc64.
31144         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31145         glibc default one.
31147         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31148         __ELF_NATIVE_CLASS equal to 64.
31150 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31152         * sysdeps/nptl/lowlevellock.h: File removed.
31154         * NEWS: NPTL is no longer an add-on!
31155         * nptl/internaltypes.h: Moved ...
31156         * sysdeps/nptl/internaltypes.h: ... here.
31157         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31158         * sysdeps/nptl/fork.c: Likewise.
31159         * sysdeps/nptl/gai_misc.h: Likewise.
31160         * sysdeps/nptl/librt-cancellation.c: Likewise.
31161         * sysdeps/nptl/jmp-unwind.c: Likewise.
31162         * sysdeps/nptl/setxid.h: Likewise.
31163         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31164         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31165         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31166         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31167         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31168         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31169         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31170         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31171         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31172         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31173         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31174         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31175         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31176         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31177         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31178         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31179         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31180         * nptl/Makeconfig: Moved ...
31181         * sysdeps/nptl/Makeconfig: ... here.
31182         * nptl/configure: File removed.
31183         * nptl/ANNOUNCE: File removed.
31184         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31185         * sysdeps/unix/sysv/linux/configure: Regenerated.
31187         * nptl/Makefile (routines): Add libc_pthread_init,
31188         libc_multiple_threads, register-atfork and unregister-atfork.
31189         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31190         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31191         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31192         pthread-pi-defines.sym, structsem.sym.
31193         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31194         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31195         [$(subdir) = nptl] (tests): Add tst-setgetname.
31196         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31197         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31198         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31199         [!LIBC_SIGACTION]: Remove aliases.
31200         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31201         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31202         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31203         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31204         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31205         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31206         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31208         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31209         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31210         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31211         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31212         __libc_allocate_rtsig_private.
31213         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31214         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31215         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31216         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31217         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31218         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31219         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31220         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31221         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31222         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31223         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31224         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31225         * nptl/internaltypes.h: ... here.
31226         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31227         * sysdeps/nptl/jmp-unwind.c: ... here.
31228         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31229         * nptl/libc-lowlevellock.c: ... here.
31230         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31231         * nptl/libc_multiple_threads.c: ... here.
31232         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31233         * nptl/libc_pthread_init.c: ... here.
31234         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31235         * nptl/lowlevelbarrier.sym: ... here.
31236         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31237         * nptl/lowlevelcond.sym: ... here.
31238         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31239         * nptl/lowlevellock.c: ... here.
31240         * nptl/lowlevellock.h: Moved ...
31241         * sysdeps/nptl/lowlevellock.h: ... here.
31242         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31243         * nptl/lowlevelrobustlock.c: ... here.
31244         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31245         * nptl/lowlevelrobustlock.sym: ... here.
31246         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31247         * nptl/lowlevelrwlock.sym: ... here.
31248         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31249         * nptl/pt-fork.c: ... here.
31250         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31251         * nptl/pthread-pi-defines.sym: ... here.
31252         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31253         * nptl/pthread_attr_getaffinity.c: ... here.
31254         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31255         * nptl/pthread_attr_setaffinity.c: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31257         * nptl/pthread_mutex_cond_lock.c: ... here.
31258         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31259         Update #include.
31260         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31261         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31262         * nptl/pthread_once.c: ... here, replacing old file.
31263         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31264         * nptl/pthread_yield.c: ... here.
31265         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31266         * nptl/register-atfork.c: ... here.
31267         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31268         * nptl/sem_post.c: ... here.
31269         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31270         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31271         * nptl/sem_timedwait.c: ... here.
31272         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31273         * nptl/sem_trywait.c: ... here.
31274         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31275         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31276         * nptl/sem_wait.c: ... here.
31277         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31278         * nptl/structsem.sym: ... here.
31279         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31280         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31281         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31282         * nptl/unregister-atfork.c: ... here.
31283         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31284         * nptl/unwindbuf.sym: ... here.
31285         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31286         * sysdeps/nptl/fork.c: ... here.
31287         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31288         * sysdeps/nptl/fork.h: ... here.
31289         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31290         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31291         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31292         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31293         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31294         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31295         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31296         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31297         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31298         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31299         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31300         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31301         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31302         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31303         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31304         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31305         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31306         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31307         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31308         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31309         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31310         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31311         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31312         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31313         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31314         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31315         * sysdeps/unix/sysv/linux/raise.c: ... here.
31316         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31317         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31318         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31319         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31321         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31322         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31323         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31324         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31325         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31326         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31327         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31328         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31329         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31330         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31332 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31334         * sysdeps/generic/memcopy.h: Add comment for
31335         MEMCPY_OK_FOR_FWD_MEMMOVE.
31337 2014-07-04  Will Newton  <will.newton@linaro.org>
31339         * string/memchr.c: Merge from gnulib.
31340         [_LIBC]: Remove conditionals.
31341         (__ptr_t): Remove define.
31342         (LONG_MAX_32_BITS): Likewise.
31343         (LONG_MAX): Likewise.
31344         (MEMCHR): Use ANSI prototype and optimize algorithm.
31346         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31348 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31350         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31351         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31353         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31354         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31355         in a bare environment with no <stdlib.h> installed.
31356         * sysdeps/nptl/configure: Regenerated.
31358         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31360         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31361         AC_EGREP_CPP for kernel header checks, so they only succeed if
31362         including <linux/version.h> actually works right.
31363         * sysdeps/unix/sysv/linux/configure: Regenerated.
31365         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31366         value so it's not diagnosed as unused.
31368         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31369         thing) with "ifeq ($(subdir),rt)".
31371 2014-07-03  Richard Henderson  <rth@redhat.com>
31373         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31374         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31375         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31377         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31378         (math_force_eval): New.
31380         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31381         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31383         * sysdeps/alpha/fpu/s_round.c: Remove file.
31384         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31386         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31387         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31388         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31389         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31390         (_dl_start, print_statistics): Likewise.
31391         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31392         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31394         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31395         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31396         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31397         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31398         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31399         (HP_SMALL_TIMING_AVAIL): Define.
31400         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31401         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31402         (HP_SMALL_TIMING_AVAIL): Define.
31403         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31404         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31406         * sysdeps/aarch64/hp-timing.h: New file.
31408         * sysdeps/generic/hp-timing.h: Remove dead comment.
31409         * sysdeps/generic/hp-timing-common.h: New file.
31410         * sysdeps/alpha/hp-timing.h: Include it.
31411         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31412         * sysdeps/i386/i686/hp-timing.h: Likewise.
31413         * sysdeps/ia64/hp-timing.h: Likewise.
31414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31415         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31416         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31417         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31418         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31419         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31420         (hp_timing_t): New.
31422         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31423         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31424         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31425         * elf/rtld.c (_dl_start_final): Likewise.
31426         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31427         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31428         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31429         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31430         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31431         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31432         (HP_TIMING_DIFF_INIT): Remove.
31433         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31434         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31435         (HP_TIMING_DIFF_INIT): Remove.
31436         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31437         * sysdeps/i386/i686/hp-timing.c: Remove file.
31438         * sysdeps/x86_64/hp-timing.c: Remove file.
31439         * sysdeps/ia64/hp-timing.c: Remove file.
31440         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31441         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31443         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31445         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31446         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31447         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31448         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31449         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31450         (HP_TIMING_ACCUM): Remove.
31451         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31452         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31453         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31455         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31456         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31457         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31458         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31459         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31460         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31461         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31462         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31464         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31466 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31468         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31470 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31472         Sync up with gettext.
31473         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31474         [_MSC_VER]: Include malloc.h
31475         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31476         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31477         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31478         TEMP_FAILURE_RETRY.  Cast return of alloca.
31479         [!_LIBC] Call gl_rwlock_init.
31480         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31482 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31484         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31485         before checking its value.
31487 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31489         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31491         * debug/memcpy_chk.c: Don't include pagecopy.h.
31492         * debug/mempcpy_chk.c: Likewise.
31493         * string/memcpy.c: Likewise.
31494         * string/memmove.c: Likewise.
31495         * sysdeps/powerpc/memmove.c: Likewise.
31496         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31497         definition of PAGE_COPY_FWD_MAYBE here...
31498         * sysdeps/generic/pagecopy.h: ... from here.
31499         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31501 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31502             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31504         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31506         optimizations.
31507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31508         (__libc_ifunc_impl_list): Likewise.
31509         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31510         multiarch strcat for PPC64.
31511         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31512         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31514 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31516         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31518 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31520         * intl/loadmsgcat.c: Remove declaration of
31521         get_sysdep_segment_value.
31522         (get_sysdep_segment_value): Use ISO C style.
31523         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31524         semicolon.  Fix typo and formatting in comment.
31525         (_nl_unload_domain): Use ISO C style.
31527         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31529 2014-07-02  Will Newton  <will.newton@linaro.org>
31531         * malloc/obstack.c: Merge from gnulib master.
31532         [HAVE_CONFIG_H]: Remove conditional code.
31533         [!_LIBC]: Include config.h.
31534         [!ELIDE_CODE]: Don't include inttypes.h, include
31535         stdint.h unconditionally.
31536         (print_and_abort): Mark as _Noreturn.
31537         (_obstack_allocated_p): Mark as __attribute_pure__.
31538         (obstack_free): Rename to __obstack_free.
31539         [!__attribute__]: Remove conditional code.
31540         * malloc/obstack.h: Merge from gnulib master.
31541         [__cplusplus]: Move conditional down.
31542         [!__attribute_pure__]: Define __attribute_pure__ here
31543         if it is not already defined.
31544         (_obstack_memory_used): Mark as __attribute_pure__.
31545         [!__obstack_free]: Define as obstack_free.
31546         [__GNUC__]: Remove check for ancient NeXT gcc.
31548 2014-07-02  Will Newton  <will.newton@linaro.org>
31549             Paul Eggert  <eggert@cs.ucla.edu>
31551         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31553 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31555         * resolv/gethnamaddr.c: Add comment warning that the file is
31556         not maintained.
31558 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31560         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31561         entries.
31563         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31564         entry for aio_cancel and aio_cancel64.
31565         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31566         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31567         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31568         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31569         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31570         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31571         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31572         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31573         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31574         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31575         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31576         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31577         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31579 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31581         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31582         * nptl/pthread_mutex_lock.c: Likewise.
31583         * nptl/pthread_mutex_timedlock.c: Likewise.
31584         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31586 2014-07-01  Richard henderson  <rth@redhat.com>
31588         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31589         (__isnan, __isnanl): Remove.
31590         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31592         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31594 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31596         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31598 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31600         * resolv/nss_dns/dns-host.c (getanswer_r)
31601         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31603 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31605         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31606         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31607         undefine.
31608         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31609         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31611 2014-07-01  Roland McGrath <roland@hack.frob.com>
31613         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31614         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31616         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31617         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31619         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31620         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31621         ... here.
31622         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31623         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31625         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31626         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31627         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31628         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31630         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31631         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31632         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31633         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31634         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31635         Moved ...
31636         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31637         ... here.
31638         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31639         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31640         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31641         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31642         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31643         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31644         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31645         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31646         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31647         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31648         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31649         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31650         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31651         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31652         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31653         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31654         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31655         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31656         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31657         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31658         ... here.
31659         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31660         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31661         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31662         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31663         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31664         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31665         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31666         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31668 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31670         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31671         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31672         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31673         Add sysdep.
31675 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31679 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31681         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31682         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31684         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31686         * sysdeps/arm/libm-test-ulps: Regenerated.
31688 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31689             Roland McGrath <roland@hack.frob.com>
31691         * test-skeleton.c (signal_handler): Kill the whole process group
31692         before killing the child individually.
31693         (main): Report any failure on `setpgid'.
31695 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31697         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31698         from _TLS_H to _ARM_NPTL_TLS_H.
31699         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31700         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31702 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31704         [BZ #16539]
31705         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31706         (__expm1l): Return argument unchanged when small but not
31707         subnormal.
31709         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31710         include macro name.
31711         (_FP_UNPACK_RAW_1_P): Likewise.
31712         (_FP_PACK_RAW_1): Likewise.
31713         (_FP_PACK_RAW_1_P): Likewise.
31714         (_FP_MUL_MEAT_1_wide): Likewise.
31715         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31716         (_FP_MUL_MEAT_1_hard): Likewise.
31717         (_FP_DIV_MEAT_1_imm): Likewise.
31718         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31719         (_FP_DIV_MEAT_1_udiv): Likewise.
31720         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31721         (_FP_UNPACK_RAW_2): Likewise.
31722         (_FP_UNPACK_RAW_2_P): Likewise.
31723         (_FP_PACK_RAW_2): Likewise.
31724         (_FP_PACK_RAW_2_P): Likewise.
31725         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31726         (_FP_MUL_MEAT_2_wide): Likewise.
31727         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31728         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31729         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31730         (_FP_MUL_MEAT_2_gmp): Likewise.
31731         (_FP_DIV_MEAT_2_udiv): Likewise.
31732         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31733         (_FP_FRAC_SRL_4): Likewise.
31734         (_FP_FRAC_SRST_4): Likewise.
31735         (_FP_FRAC_SRS_4): Likewise.
31736         (_FP_UNPACK_RAW_4): Likewise.
31737         (_FP_UNPACK_RAW_4_P): Likewise.
31738         (_FP_PACK_RAW_4): Likewise.
31739         (_FP_PACK_RAW_4_P): Likewise.
31740         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31741         (_FP_MUL_MEAT_4_wide): Likewise.
31742         (_FP_MUL_MEAT_4_gmp): Likewise.
31743         (umul_ppppmnnn): Likewise.
31744         (_FP_DIV_MEAT_4_udiv): Likewise.
31745         (__FP_FRAC_ADD_4): Likewise.
31746         (__FP_FRAC_SUB_3): Likewise.
31747         (__FP_FRAC_SUB_4): Likewise.
31748         (__FP_FRAC_DEC_3): Likewise.
31749         (__FP_FRAC_DEC_4): Likewise.
31750         (__FP_FRAC_ADDI_4): Likewise.
31751         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31752         (_FP_FRAC_SRL_8): Likewise.
31753         (_FP_FRAC_SRS_8): Likewise.
31755         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31756         include macro name.
31757         (FP_UNPACK_RAW_EP): Likewise.
31758         (FP_PACK_RAW_E): Likewise.
31759         (FP_PACK_RAW_EP): Likewise.
31760         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31761         (_FP_ISSIGNAN): Likewise.
31762         (_FP_ADD_INTERNAL): Likewise.
31763         (_FP_FMA): Likewise.
31764         (_FP_CMP): Likewise.
31765         (_FP_SQRT): Likewise.
31766         (_FP_TO_INT): Likewise.
31767         (_FP_FROM_INT): Likewise.
31768         (FP_EXTEND): Likewise.
31769         (_FP_DIV_MEAT_N_loop): Likewise.
31771 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31773         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31774         throughout.
31776 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31778         [BZ #17097]
31779         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31780         result with correct sign in case of exponents that produce
31781         overflow except for X very close to 1.
31783 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31785         mktime: merge #if/#ifdef usage from glibc
31786         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31787         as that works with both Glibc's and Gnulib's style.
31788         See thread starting at Siddhesh Poyarekar's bug report at:
31789         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31791 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31793         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31794         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31795         * sysdeps/tile/tilegx/memmove.c: Remove file.
31797 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31799         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31800         abi-name definition.
31801         * scripts/soversions.awk: Do not handle or generate ABI lines.
31802         * shlib-versions: Remove ABI entries.
31803         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31804         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31806 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31809         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31810         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31811         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31815         Moved ...
31816         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31817         ... here.
31818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31819         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31821         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31823         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31825         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31827         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31829         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31831         Moved ...
31832         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31834         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31836         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31838         Moved ...
31839         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31841         Moved ...
31842         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31844         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31846         Moved ...
31847         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31849         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31851         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31853         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31855         Moved ...
31856         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31858         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31859         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31860         Moved ...
31861         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31862         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31863         Moved ...
31864         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31866         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31868         Moved ...
31869         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31870         ... here.
31871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31872         Identical file removed.
31873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31874         Moved ...
31875         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31877         Identical file removed.
31878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31879         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31881         Moved ...
31882         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31884         Identical file removed.
31885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31886         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31888         Identical file removed.
31889         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31890         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31892         Identical file removed.
31893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31894         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31896         Identical file removed.
31897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31898         Moved ...
31899         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31901         Identical file removed.
31902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31903         Moved ...
31904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31905         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31906         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31907         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31908         Identical file removed.
31909         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31910         Moved ...
31911         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31912         ... here.
31913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31914         Identical file removed.
31915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31916         Moved ...
31917         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31919         Identical file removed.
31920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31921         Moved ...
31922         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31924         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31926         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31927         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31928         Moved ...
31929         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31930         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31931         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31933         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31934         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31935         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31936         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31937         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31939 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31941         [BZ #17092]
31942         * nscd/nscd.c (monitor_child): Return exit status of child
31943         instead of return value from wait syscall.
31945 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31947         * configure.ac (libc_commonpagesize): Remove variable.
31948         (libc_relro_required): Likewise.
31949         (libc_cv_z_relro): Remove configure test.
31950         * configure: Regenerated.
31951         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31952         variable.
31953         (libc_relro_required): Likewise.
31954         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31955         (libc_relro_required): Likewise.
31956         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31957         (libc_relro_required): Likewise.
31958         * sysdeps/arm/preconfigure: Regenerated.
31959         * sysdeps/ia64/preconfigure: Remove file.
31960         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31961         variable.
31962         (libc_relro_required): Likewise.
31964         [BZ #16561]
31965         [BZ #16562]
31966         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31967         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31968         recompute overflowing results in original rounding mode.
31969         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31970         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31971         recompute overflowing results in original rounding mode.
31972         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31973         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31974         recompute overflowing results in original rounding mode.
31975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31976         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31977         recompute overflowing results in original rounding mode.
31978         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31979         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31980         recompute overflowing results in original rounding mode.
31981         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31982         (libc_feholdsetround_ctx): New macro.
31983         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31984         * sysdeps/i386/fpu/libm-test-ulps: Update.
31985         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31987 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31989         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31990         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31991         corresponding .cpsetup call.
31993 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31995         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31996         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31997         * sysdeps/arm/Makefile [$(subdir) = csu]
31998         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31999         (static-only-routines): Add aeabi_read_tp here.
32000         (shared-only-routines): Add libc-aeabi_read_tp here.
32001         (CFLAGS-libc-start.c): Add -fexceptions here.
32002         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32003         (sysdep_routines, static-only-routines, shared-only-routines):
32004         Don't add to these here.
32005         (CFLAGS-libc-start.c): Likewise.
32007         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32008         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32009         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32010         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32011         * sysdeps/arm/Makefile [$(subdir) = rt]
32012         (librt-sysdep_routines, librt-shared-only-routines):
32013         Append rt-aeabi_unwind_cpp_pr1 here.
32014         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32015         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32016         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32017         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32018         Append nptl-aeabi_unwind_cpp_pr1 here.
32019         (tests): Filter out tst-cleanupx4 here.
32020         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32021         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32022         Don't do those here.
32024 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32026         * scripts/list-sources.sh: Do not handle ports specially.
32028 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32030         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32031         * sysdeps/arm/feupdateenv.c: Likewise.
32033         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32035 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32037         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32038         trailing whitespace removed.
32039         * scripts/config.guess: Update to version 2014-03-23.
32040         * scripts/config.sub: Update to version 2014-05-01
32041         * scripts/install-sh: Update to version 2013-12-25.23.
32042         * scripts/move-if-change: Update from gnulib.
32044 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32046         * debug/memmove_chk.c: Remove pagecopy.h include.
32048 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32050         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32051         identical to gnulib mktime.
32053 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32055         * configure.ac: Do not test for machine being rs6000.  Do not test
32056         for powerpc*-*soft.
32057         * configure: Regenerated.
32059         [BZ #11505]
32060         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32061         test.
32062         * configure: Regenerated.
32063         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32064         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32065         Remove configure test.
32066         * sysdeps/arm/configure: Regenerated.
32067         * sysdeps/nptl/configure.ac: Do not check
32068         libc_cv_asm_cfi_directives.
32069         * sysdeps/nptl/configure: Regenerated.
32070         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32071         * sysdeps/x86_64/nptl/configure: Remove generated file.
32072         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32073         unconditional.
32074         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32076 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32078         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32079         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32080         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32081         it is defined.
32083         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32084         instead of whether it is defined.
32085         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32086         * sysdeps/hppa/dl-machine.h: Likewise.
32087         * sysdeps/ia64/dl-machine.h: Likewise.
32088         * sysdeps/m68k/dl-machine.h: Likewise.
32089         * sysdeps/microblaze/dl-machine.h: Likewise.
32090         * sysdeps/mips/dl-machine.: Likewise.
32091         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32092         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32093         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32094         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32095         * sysdeps/sh/dl-machine.h: Likewise.
32096         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32097         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32098         * sysdeps/tile/dl-machine.h: Likewise.
32099         * sysdeps/x86_64/dl-machine.h: Likewise.
32101         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32102         code.
32103         (verify_persistent_db): Likewise.
32105 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32108         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32110         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32112         Moved ...
32113         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32114         ... here.
32115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32116         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32118         Identical file removed.
32119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32120         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32122         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32124         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32126         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32128         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32130         Moved ...
32131         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32133         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32135         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32137         Moved ...
32138         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32140         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32142         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32144         Identical file removed.
32145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32146         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32148         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32150         Moved ...
32151         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32152         ... here.
32153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32154         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32156         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32158         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32160         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32162         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32164         Moved ...
32165         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32167         Moved ...
32168         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32170         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32172         Moved ...
32173         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32175         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32177         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32178         folded into ...
32179         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32180         * sysdeps/unix/sysv/linux/s390/Versions
32181         (libpthread: GLIBC_2.19): New version set.
32182         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32183         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32184         (librt: GLIBC_2.3.3): New version set.
32185         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32186         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32187         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32188         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32189         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32190         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32191         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32192         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32193         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32194         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32195         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32196         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32197         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32198         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32199         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32200         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32201         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32202         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32203         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32204         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32205         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32207         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32209         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32210         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32211         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32213         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32214         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32215         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32216         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32218         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32219         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32221         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32223         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32225         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32227         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32228         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32229         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32231         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32232         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32233         (__libc_vfork): Define the function under this name.
32234         [!NOT_IN_libc] (__vfork): Make this an alias.
32235         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32237         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32238         (__libc_vfork): Define the function under this name.
32239         [!NOT_IN_libc] (__vfork): Make this an alias.
32240         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32241         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32242         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32245         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32247         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32248         code that was previously under [RESET_PID].
32249         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32250         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32253         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32254         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32255         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32256         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32257         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32258         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32259         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32260         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32261         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32262         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32263         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32264         Moved ...
32265         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32266         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32267         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32268         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32269         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32270         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32271         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32272         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32273         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32274         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32275         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32276         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32277         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32278         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32279         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32280         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32281         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32282         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32283         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32284         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32285         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32286         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32287         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32288         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32289         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32290         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32291         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32293         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32295 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32297         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32298         that was previously under [RESET_PID].
32299         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32301 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32303         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32304         not undefine and redefine.
32305         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32306         [O_CLOEXEC]: Make code unconditional.
32307         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32308         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32309         <kernel-features.h>.
32310         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32311         conditional variable definition.
32312         (shm_open) [O_CLOEXEC]: Make code unconditional.
32313         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32314         code.
32316         * configure.ac (USE_REGPARMS): Don't define here.
32317         * configure: Regenerated.
32318         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32319         * sysdeps/i386/configure: Regenerated.
32321         * nptl/createthread.c: Don't include kernel-features.h.
32322         * nptl/pthread_cancel.c: Likewise.
32323         * nptl/pthread_condattr_setclock.c: Likewise.
32324         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32325         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32326         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32327         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32328         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32329         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32330         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32333         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32334         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32335         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32336         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32337         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32338         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32339         * nscd/gai.c: Likewise.
32340         * nss/nss_db/db-open.c: Likewise.
32341         * sysdeps/generic/ldsodefs.h: Likewise.
32342         * sysdeps/sh/nptl/tls.h: Likewise.
32343         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32344         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32345         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32346         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32347         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32348         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32349         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32350         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32351         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32352         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32353         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32354         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32355         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32356         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32357         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32358         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32359         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32360         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32361         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32362         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32363         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32365         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32366         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32369         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32370         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32371         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32372         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32373         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32374         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32375         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32376         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32377         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32378         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32379         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32380         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32381         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32382         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32383         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32384         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32385         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32386         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32387         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32388         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32389         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32390         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32391         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32392         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32393         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32394         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32395         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32396         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32397         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32398         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32399         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32400         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32423         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32424         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32425         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32426         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32427         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32428         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32429         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32430         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32431         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32432         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32433         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32434         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32435         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32436         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32437         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32438         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32439         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32440         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32441         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32442         * sysdeps/unix/sysv/linux/system.c: Likewise.
32443         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32444         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32445         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32446         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32447         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32448         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32449         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32451         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32452         * configure: Regenerated.
32453         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32455         * configure.ac (base_machine): Do not set specially for particular
32456         machines here.
32457         * configure: Regenerated.
32458         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32459         settings from configure.ac.
32460         * sysdeps/i386/preconfigure: New file.
32461         * sysdeps/s390/preconfigure: Likewise.
32462         * sysdeps/sh/preconfigure: Likewise.
32463         * sysdeps/sparc/preconfigure: Likewise.
32465 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32467         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32468         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32469         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32470         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32471         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32472         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32473         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32474         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32475         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32476         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32477         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32478         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32479         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32481         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32482         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32484         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32485         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32487         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32488         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32489         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32490         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32491         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32492         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32493         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32494         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32495         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32496         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32497         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32498         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32499         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32500         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32501         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32502         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32503         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32504         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32505         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32506         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32507         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32508         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32510         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32511         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32512         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32513         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32514         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32515         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32516         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32518         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32519         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32520         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32521         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32522         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32523         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32524         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32527         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32529         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32531         Moved ...
32532         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32533         ... here.
32534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32535         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32537         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32539         Moved ...
32540         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32542         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32544         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32546         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32548         Moved ...
32549         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32551         Moved ...
32552         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32554         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32556         Moved ...
32557         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32559         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32561         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32563         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32565         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32567         Moved ...
32568         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32569         ... here.
32570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32571         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32573         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32575         Moved ...
32576         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32578         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32580         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32582         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32584         Moved ...
32585         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32587         Moved ...
32588         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32590         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32592         Moved ...
32593         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32595         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32597         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32599 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32601         * timezone/checktab.awk: Update from tzcode 2014e.
32602         * timezone/private.h: Likewise.
32603         * timezone/tzfile.h: Likewise.
32604         * timezone/zdump.c: Likewise.
32605         * timezone/zic.c: Likewise.
32607         * sysdeps/unix/sysv/linux/kernel-features.h
32608         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32609         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32610         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32611         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32612         Remove conditional code.
32614 2014-06-25  Will Newton  <will.newton@linaro.org>
32616         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32617         (_dl_arm_cap_flags): Add HWCAP2 values.
32618         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32619         (_DL_HWCAP_COUNT): Increase to 37.
32620         (_DL_HWCAP_LAST): New define.
32621         (_DL_HWCAP2_LAST): New define.
32622         (_dl_procinfo): Add support for printing
32623         AT_HWCAP2 entries.
32624         (_dl_string_hwcap): Use _dl_hwcap_string.
32626 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32630 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32632         * README: Do not mention ports directory.
32634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32635         Remove macro.
32636         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32637         <kernel-features.h>.
32638         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32639         conditional variable definition.
32640         (__futimes): Update comment.
32641         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32642         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32644         [BZ #16560]
32645         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32646         arguments close to 0.
32647         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32648         Likewise.
32649         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32650         Likewise.
32651         * math/auto-libm-test-in: Add more tests of exp10.
32652         * math/auto-libm-test-out: Regenerated.
32653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32655         * sysdeps/unix/sysv/linux/kernel-features.h
32656         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32657         * sysdeps/unix/sysv/linux/readv.c: Do not include
32658         <kernel-features.h>.
32659         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32660         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32661         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32662         unconditional.
32663         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32664         conditional code.
32665         * sysdeps/unix/sysv/linux/writev.c: Do not include
32666         <kernel-features.h>.
32667         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32668         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32669         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32670         unconditional.
32671         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32672         conditional code.
32674 2014-06-25  Will Newton  <will.newton@linaro.org>
32676         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32677         comment changes throughout the file.  Remove checks
32678         for HAVE_*_H definitions that are not required.
32679         (__gen_tempname): Call abort if an unknown kind value is
32680         passed.
32682 2014-06-25  Andreas Schwab  <schwab@suse.de>
32684         [BZ #17086]
32685         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32686         scalbln, scalblnf, scalblnl in libc.
32688 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32690         [BZ #17086]
32691         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32692         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32693         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32695 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32697         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32698         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32699         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32700         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32701         Update #include.
32702         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32703         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32704         Update #include.
32705         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32706         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32707         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32708         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32709         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32710         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32711         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32712         * sysdeps/x86/bits/semaphore.h: ... here.
32713         * sysdeps/x86/nptl/elide.h: Moved ...
32714         * sysdeps/x86/elide.h: ... here.
32715         * sysdeps/x86_64/nptl/Implies: File removed.
32716         * sysdeps/i386/nptl/Implies: File removed.
32718 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32720         [BZ #16539]
32721         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32722         return the argument for normal arguments with exponent below -64.
32723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32724         Likewise.
32725         * math/auto-libm-test-in: Add another test of expm1.
32726         * math/auto-libm-test-out: Regenerated.
32728         [BZ #16287]
32729         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32730         calling __erfcl for arguments at least 16.
32731         * math/auto-libm-test-in: Add more tests of erf.
32732         * math/auto-libm-test-out: Regenerated.
32734         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32735         individual architectures.
32736         * sysdeps/unix/sysv/linux/configure: Regenerated.
32737         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32738         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32739         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32740         (ldd_rewrite_script): Define variable.
32741         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32743         file.
32744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32745         generated file.
32746         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32747         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32748         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32749         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32750         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32751         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32752         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32753         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32755 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32757         [BZ #17084]
32758         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32759         Rename member __data.d to __data.__elision_data.
32761 2014-06-24  Wilco  <wdijkstr@arm.com>
32763         * NEWS: Add 16918 to fixed bug list.
32765 2014-06-24  Wilco  <wdijkstr@arm.com>
32767         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32769 2014-06-24  Wilco  <wdijkstr@arm.com>
32771         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32772         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32773         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32774         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32775         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32776         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32777         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32778         Use _FPU_MASK_RM.
32780 2014-06-24  Wilco  <wdijkstr@arm.com>
32782         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32784 2014-06-24  Wilco  <wdijkstr@arm.com>
32786         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32787         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32788         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32789         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32791 2014-06-24  Wilco  <wdijkstr@arm.com>
32793         [BZ #16918]
32794         * sysdeps/arm/feupdateenv.c (feupdateenv):
32795         Rewrite to reduce FPSCR accesses and fix return value.
32797 2014-06-24  Wilco  <wdijkstr@arm.com>
32799         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32800         Optimize to avoid unnecessary FPSCR writes.
32801         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32802         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32803         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32804         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32806 2014-06-24  Wilco  <wdijkstr@arm.com>
32808         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32809         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32810         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32811         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32812         Call libc_fetestexcept_vfp.
32813         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32814         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32815         __SOFTFP__ ifdef so that they can be built for softfp.
32817 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32819         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32820         argument type signed char.
32822         * Makerules (check-abi): Dump diff of symlist if the test
32823         fails.
32825 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32827         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32828         using abort.
32830         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32831         Remove unused variable ST.
32833 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32835         [BZ #16354]
32836         [BZ #17061]
32837         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32838         small arguments before calling __expm1.
32839         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32840         small arguments before calling __expm1f.
32841         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32842         small arguments before calling __expm1l.
32843         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32844         Likewise.
32845         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32846         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32847         spurious underflow for some cosh tests.
32848         * math/auto-libm-test-out: Regenerated.
32849         * sysdeps/i386/fpu/libm-test-ulps: Update.
32851         [BZ #17050]
32852         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32853         (__ieee754_y1): Set errno if return value overflows.
32854         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32855         (__ieee754_y1f): Set errno if return value overflows.
32856         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32857         (__ieee754_y1l): Set errno if return value overflows.
32858         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32859         (__ieee754_y1l): Set errno if return value overflows.
32860         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32861         * math/auto-libm-test-out: Regenerated.
32863         * math/gen-auto-libm-tests.c: Document use of
32864         ignore-zero-inf-sign.
32865         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32866         (input_flags): Add ignore-zero-inf-sign.
32867         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32868         * math/gen-libm-test.pl (generate_testfile): Handle
32869         ignore-zero-inf-sign.
32870         * math/auto-libm-test-in: Mark some cpow tests with
32871         ignore-zero-inf-sign and some with xfail-rounding.
32872         * math/auto-libm-test-out: Regenerated.
32873         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32874         * sysdeps/i386/fpu/libm-test-ulps: Update.
32875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32877         [BZ #16315]
32878         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32879         overflowing or underflowing operations take place with sign of
32880         result.
32881         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32882         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32883         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32884         (__ieee754_pow): Recompute overflowing and underflowing results in
32885         original rounding mode.
32886         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32887         (__powl_helper): Allow negative argument X and scale negated value
32888         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32889         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32890         overflowing or underflowing operations take place with sign of
32891         result.
32892         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32893         Include <math.h>.
32894         * math/auto-libm-test-in: Add more tests of pow.
32895         * math/auto-libm-test-out: Regenerated.
32896         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32897         (pow_tonearest_test_data): Remove.
32898         (pow_test_tonearest): Likewise.
32899         (pow_towardzero_test_data): Likewise.
32900         (pow_test_towardzero): Likewise.
32901         (pow_downward_test_data): Likewise.
32902         (pow_test_downward): Likewise.
32903         (pow_upward_test_data): Likewise.
32904         (pow_test_upward): Likewise.
32905         (main): Don't call removed functions.
32906         * sysdeps/i386/fpu/libm-test-ulps: Update.
32907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32909 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32912         Moved ...
32913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32915         Moved ...
32916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32918         Moved ...
32919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32921         Moved ...
32922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32924         File removed.
32925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32926         File removed.
32927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32928         File removed.
32929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32930         File removed.
32931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32932         File removed.
32933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32934         File removed.
32935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32936         File removed.
32937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32938         File removed.
32939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32940         File removed.
32941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32942         File removed.
32943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32944         File removed.
32945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32946         File removed.
32947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32948         Moved ...
32949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32951         Moved ...
32952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32953         ... here.
32954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32955         Moved ...
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32958         Moved ...
32959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32961         Moved ...
32962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32964         Moved ...
32965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32967         Moved ...
32968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32970         Moved ...
32971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32973         Moved ...
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32977         ... here.
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32979         Moved ...
32980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32982         Moved ...
32983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32984         ... here.
32985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32986         Moved ...
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32988         ... here.
32989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32990         Moved ...
32991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32992         ... here.
32993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32994         Moved ...
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32997         Moved ...
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33002         Moved ...
33003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33004         ... here.
33005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33006         Moved ...
33007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33008         ... here.
33009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33010         Moved ...
33011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33013         Moved ...
33014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33016         Moved ...
33017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33019         Moved ...
33020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33022         Moved ...
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33024         ... here.
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33026         Moved ...
33027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33029         Moved ...
33030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33032         Moved ...
33033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33035         Moved ...
33036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33040         Moved ...
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33046         Moved ...
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33048         ... here.
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33050         Moved ...
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33052         ... here.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33054         Moved ...
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33056         ... here.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33058         Moved ...
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33061         Moved ...
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33064         Moved ...
33065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33067         Moved ...
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33069         ... here.
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33071         Moved ...
33072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33073         ... here.
33074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33075         Moved ...
33076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33077         ... here.
33078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33079         Moved ...
33080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33082         Moved ...
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33085 2014-06-23  Will Newton  <will.newton@linaro.org>
33086             Wilco  <wdijkstr@arm.com>
33088         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33089         implementation.  Include get-rounding-mode.h.
33090         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33091         [!libc_feholdsetround_noex_ctx]: Define
33092         libc_feholdsetround_noex_ctx.
33093         [!libc_feholdsetround_noexf_ctx]: Define
33094         libc_feholdsetround_noexf_ctx.
33095         [!libc_feholdsetround_noexl_ctx]: Define
33096         libc_feholdsetround_noexl_ctx.
33097         (libc_feholdsetround_ctx): New function.
33098         (libc_feresetround_ctx): New function.
33099         (libc_feholdsetround_noex_ctx): New function.
33100         (libc_feresetround_noex_ctx): New function.
33102 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33104         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33105         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33106         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33107         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33108         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33109         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33111         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33112         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33113         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33114         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33115         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33116         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33118         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33120         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33122         Moved ...
33123         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33124         ... here.
33125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33126         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33128         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33130         Moved ...
33131         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33133         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33135         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33137         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33139         Moved ...
33140         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33141         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33142         Moved ...
33143         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33145         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33147         Moved ...
33148         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33150         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33151         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33152         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33153         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33154         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33156         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33158         Moved ...
33159         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33160         ... here.
33161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33162         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33164         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33166         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33167         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33168         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33169         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33170         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33172         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33173         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33174         Moved ...
33175         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33177         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33179         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33181         Moved ...
33182         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33183         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33184         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33185         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33186         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33188         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33189         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33190         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33191         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33192         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33193         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33194         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33195         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33197         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33199         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33200         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33201         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33202         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33203         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33205         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33206         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33207         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33208         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33209         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33211         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33212         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33213         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33214         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33215         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33217 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33220         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33221         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33222         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33223         (IPV6_PMTUDISC_INTERFACE): Likewise.
33224         (IPV6_PMTUDISC_OMIT): Likewise.
33226 2014-06-23  Andreas Schwab  <schwab@suse.de>
33228         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33229         Remove unused errout label.
33231 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33233         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33234         macro: hardware supports Vector Crypto instructions.
33236 2014-06-23  Will Newton  <will.newton@linaro.org>
33238         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33239         rather than __builtin_expect.
33241         * elf/dl-lookup.c (undefined_msg): Remove variable.
33242         (_dl_lookup_symbol_x): Replace undefined_msg with string
33243         literal.
33245         * elf/dl-lookup.c (do_lookup_unique): New function.
33246         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33247         to a separate function.
33249 2014-06-23  Andreas Schwab  <schwab@suse.de>
33251         [BZ #17079]
33252         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33253         before reading the next line.
33255 2014-06-23  Will Newton  <will.newton@linaro.org>
33257         * test-skeleton.c (signal_handler): Use printf and %m
33258         rather than perror.  Use printf rather than fprintf to
33259         stderr.  Use puts rather than fputs to stderr.
33260         (main): Likewise.
33262 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33264         * nscd/nscd.c (thread_info_t): Remove typedef.
33265         (thread_info): Remove variable.
33267 2014-06-21  Allan McRae  <allan@archlinux.org>
33269         * NEWS: Mention CVE-2014-4043.
33271 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33273         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33274         * nptl/smp.h: ... here.
33276         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33278         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33279         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33280         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33281         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33283         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33284         * nptl/stack-aliasing.h: New file.
33285         * sysdeps/i386/i686/stack-aliasing.h: New file.
33286         * sysdeps/i386/i686/nptl/Makefile: File removed.
33287         * sysdeps/x86_64/stack-aliasing.h: New file.
33288         * sysdeps/x86_64/nptl/Makefile
33289         (CFLAGS-pthread_create.c): Variable removed.
33291         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33292         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33293         old file.
33294         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33295         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33296         old file.
33298 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33301         (__ASSUME_SIGFRAME_V2): Remove macro.
33302         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33303         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33304         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33305         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33306         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33307         Declare as function.  Remove conditional macro definitions.
33308         (__default_rt_sa_restorer): Likewise.
33309         (__default_sa_restorer_v1): Remove declaration.
33310         (__default_sa_restorer_v2): Likewise.
33311         (__default_rt_sa_restorer_v1): Likewise.
33312         (__default_rt_sa_restorer_v2): Likewise.
33313         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33314         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33315         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33317 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33319         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33320         (libpthread-routines): Add sysdep.
33321         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33322         * sysdeps/unix/sysv/linux/sparc/Versions
33323         (libpthread: GLIBC_2.3.3): New version set.
33324         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33325         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33326         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33327         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33328         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33329         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33330         Moved ...
33331         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33332         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33333         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33334         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33335         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33336         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33337         * sysdeps/sparc/nptl/sem_init.c: ... here.
33338         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33339         * sysdeps/sparc/nptl/sem_post.c: ... here.
33340         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33341         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33342         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33343         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33344         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33345         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33346         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33347         (libpthread-routines): Add cpu_relax.
33348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33349         File removed.
33350         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33351         (librt: GLIBC_2.3.3): New version set.
33352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33353         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33354         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33355         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33358         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33360         Moved ...
33361         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33363         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33365         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33367         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33369         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33371         Moved ...
33372         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33373         Update #include.
33374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33375         Moved ...
33376         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33377         Update #include.
33378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33379         Moved ...
33380         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33381         Update #include.
33382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33383         Moved ...
33384         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33385         Update #include.
33386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33387         Moved ...
33388         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33389         Update #include.
33390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33391         Moved ...
33392         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33393         Update #include.
33394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33395         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33401         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33403         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33405         Moved ...
33406         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33408         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33410         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33412 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33414         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33415         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33416         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33417         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33418         * nscd/nscd.c: Likewise.
33419         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33420         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33421         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33422         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33424         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33425         <kernel-features.h>.
33426         (init_mq_netlink): Remove conditional have_sock_cloexec
33427         definitions.  Remove code conditional on have_sock_cloexec < 0.
33428         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33429         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33430         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33431         <kernel-features.h>.
33432         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33433         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33435 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33438         Add tests for memset_chk and memset.
33440         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33441         with AVX2_Usable.
33443 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33445         [BZ #16046]
33446         * elf/tst-dl-iter-static.c: New file.
33447         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33449         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33450         error.
33452 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33454         * sysdeps/unix/sysv/linux/kernel-features.h
33455         (__ASSUME_F_GETOWN_EX): Remove macro.
33456         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33457         <kernel-features.h>.
33458         (miss_F_GETOWN_EX): Remove variable or macro.
33459         (do_fcntl): Do not check miss_F_GETOWN_EX.
33460         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33463         Remove macro.
33464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33465         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33466         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33468         * sysdeps/unix/sysv/linux/kernel-features.h
33469         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33470         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33471         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33472         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33474 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33476         [BZ #17075]
33477         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33478         Fix calculation of the symbol's value.
33479         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33480         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33481         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33482         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33483         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33484         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33485         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33486         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33487         (modules-names): Add `tst-armtlsdescmod',
33488         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33489         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33490         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33491         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33492         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33493         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33494         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33495         ($(objpfx)tst-armtlsdescloc): New dependency.
33496         ($(objpfx)tst-armtlsdescextnow): Likewise.
33497         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33498         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33499         TLS scheme support.
33500         * sysdeps/arm/configure: Regenerate.
33502 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33504         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33505         (__atfct_seterrno_2): Likewise.
33506         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33507         <kernel-features.h>.
33508         (__ASSUME_ATFCTS): Do not undefine and redefine.
33509         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33510         (__have_atfcts): Remove conditional definition.
33511         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33512         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33513         unreachable if [__ASSUME_ATFCTS].
33514         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33515         not undefine and redefine.
33516         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33517         <kernel-features.h>.
33518         (faccessat) [__NR_faccessat]: Make code unconditional.
33519         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33520         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33521         <kernel-features.h>.
33522         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33523         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33524         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33525         <kernel-features.h>.
33526         (fchownat) [__NR_fchownat]: Make code unconditional.
33527         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33528         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33529         <kernel-features.h>.
33530         (futimesat) [__NR_futimesat]: Make code unconditional.
33531         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33532         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33533         <kernel-features.h>.
33534         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33535         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33536         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33537         <kernel-features.h>.
33538         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33539         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33540         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33541         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33542         <kernel-features.h>.
33543         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33544         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33545         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33546         <kernel-features.h>.
33547         (linkat) [__NR_linkat]: Make code unconditional.
33548         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33549         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33550         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33551         <kernel-features.h>.
33552         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33553         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33554         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33555         <kernel-features.h>.
33556         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33557         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33558         * sysdeps/unix/sysv/linux/openat.c: Do not include
33559         <kernel-features.h>.
33560         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33561         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33562         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33563         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33564         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33565         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33566         <kernel-features.h>.
33567         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33568         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33569         result of INLINE_SYSCALL directly, not via int variable.
33570         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33571         <kernel-features.h>.
33572         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33573         (renameat) [__NR_renameat]: Make code unconditional.
33574         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33575         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33576         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33577         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33578         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33579         (__ASSUME_ATFCTS): Do not undefine and redefine.
33580         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33581         <kernel-features.h>.
33582         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33583         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33584         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33585         <kernel-features.h>.
33586         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33587         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33588         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33589         (__ASSUME_ATFCTS): Do not undefine and redefine.
33590         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33591         <kernel-features.h>.
33592         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33593         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33594         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33595         <kernel-features.h>.
33596         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33597         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33599 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33601         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33603 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33605         [BZ #17069]
33606         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33607         constructed tree before returning error.
33608         * posix/bug-regexp36.c: Expand test case.
33610 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33612         [BZ #6803]
33613         * math/libm-test.inc (scalbln_test_date):
33614         Add errno expectations.
33615         * math/w_scalblnf.c: New File.
33616         Add wrapper which checks for setting errno to ERANGE.
33617         Add weak_alias for corresponding scalbln function.
33618         * math/w_scalbln.c: Likewise.
33619         * math/w_scalblnl.c: Likewise.
33620         * math/Makefile (libm-calls): Add w_scalbln.
33621         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33622         Remove weak_alias for corresponding scalbln function.
33623         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33624         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33625         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33626         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33627         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33628         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33629         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33630         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33631         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33632         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33633         Remove long_double_symbol for scalblnl function in libm, libc.
33634         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33635         Add wrapper which checks for setting errno to ERANGE.
33636         Add long_double_symbol for scalblnl function in libm, libc.
33637         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33638         Remove long_double_symbol for scalblnl in libm.
33639         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33640         Add wrapper which checks for setting errno to ERANGE.
33641         Add long_double_symbol for scalblnl function in libm.
33642         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33643         Do not use wrapper because of own implementation.
33645 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33647         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33648         3 bytes for __pad1 for x32.
33649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33651 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33652             H.J. Lu  <hongjiu.lu@intel.com>
33654         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33655         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33656         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33658         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33660 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33662         [BZ #17069]
33663         * posix/regcomp.c (parse_expression): Deallocate partially
33664         constructed tree before returning error.
33665         * posix/Makefile.c (tests): Add bug-regex36.
33666         (generated): Add bug-regex36.mtrace.
33667         (tests-special): Add $(objpfx)bug-regex36-mem.out
33668         (bug-regex36-ENV): New variable.
33669         ($(objpfx)bug-regex36-mem.out): New rule.
33670         * posix/bug-regex36.c: New file.
33672 2014-06-19  Will Newton  <will.newton@linaro.org>
33674         * malloc/malloc.c (systrim): If extra is zero then return
33675         early.
33677 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33679         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33681 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33683         * sysdeps/aarch64/strchr.S: New file.
33685 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33687         [BZ #17022]
33688         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33689         from arguments -2 or below.
33690         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33691         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33693 2014-06-18  Andreas Schwab  <schwab@suse.de>
33695         [BZ #17062]
33696         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33697         of a bracket expr not to run off the end of the string.
33698         * posix/Makefile (tests): Add tst-fnmatch3.
33699         * posix/tst-fnmatch3.c: New file.
33701 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33703         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33704         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33705         [$(cross-compiling) = no]: Likewise.
33706         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33707         [$(cross-compiling) = no]: Likewise.
33709 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33711         [BZ #17031]
33712         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33713         double, adjusted for any remainder from the high double.
33714         * math/libm-test.inc (nearbyint): Add tests.
33715         (rint): Likewise.
33717 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33719         * nptl/sysdeps/powerpc/Makefile: Moved ...
33720         * sysdeps/powerpc/nptl/Makefile: ... here.
33721         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33722         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33723         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33724         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33725         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33726         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33727         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33728         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33729         * nptl/sysdeps/powerpc/tls.h: Moved ...
33730         * sysdeps/powerpc/nptl/tls.h: ... here.
33732 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33734         [BZ #16681]
33735         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33736         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33737         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33738         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33739         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33740         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33741         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33742         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33743         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33745 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33747         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33749 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33751         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33752         defined operator.
33754         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33755         $TIMEOUTFACTOR.
33757 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33759         [BZ #17058]
33760         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33761         non-executed part of the test.
33763 2014-06-16  Andreas Schwab  <schwab@suse.de>
33765         * string/bits/string2.h (strdup, strndup): Update feature guard.
33767 2014-06-14  David S. Miller  <davem@davemloft.net>
33769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33771 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33773         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33774         that was previously under [RESET_PID].
33775         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33777         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33778         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33779         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33780         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33781         (__libc_vfork): New strong alias.
33782         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33784 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33786         * sysdeps/generic/elide.h: New file.
33788 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33790         * Makefile (installed-headers): Adjust path of pthread.h header.
33792 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33794         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33795         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33796         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33797         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33799         * nptl/sysdeps/s390/Makefile: Moved ...
33800         * sysdeps/s390/nptl/Makefile: ... here.
33801         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33802         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33803         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33804         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33805         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33806         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33807         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33808         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33809         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33810         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33811         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33812         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33813         * nptl/sysdeps/s390/tls.h: Moved ...
33814         * sysdeps/s390/nptl/tls.h: ... here.
33816         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33817         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33819 2014-06-13  David S. Miller  <davem@davemloft.net>
33821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33824         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33828         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33829         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33830         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33831         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33832         Remove RESET_PID cpp guards.
33833         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33834         Remove RESET_PID cpp guards.
33835         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33837 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33839         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33840         __sp to uintptr_t.
33842 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33847         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33848         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33850         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33852         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33853         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33856         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33858         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33862         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33863         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33865         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33866         (pthread_rwlock_rdlock): Add elision.
33867         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33868         (pthread_rwlock_wrlock): Add elision.
33869         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33870         (pthread_rwlock_trywrlock): Add elision.
33871         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33872         (pthread_rwlock_tryrdlock): Add elision.
33873         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33874         (pthread_rwlock_tryrdlock): Add elision unlock.
33875         * nptl/sysdeps/pthread/pthread.h:
33876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33877         (PTHREAD_RWLOCK_INITIALIZER,
33878         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33879         Handle new elision field.
33880         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33881         * sysdeps/arm/nptl/bits/pthreadtypes.h
33882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33883         * sysdeps/sh/nptl/bits/pthreadtypes.h
33884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33885         * sysdeps/tile/nptl/bits/pthreadtypes.h
33886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33887         * sysdeps/a/nptl/bits/pthreadtypes.h
33888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33889         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33891         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33893         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33894         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33895         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33896         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33897         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33899         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33900         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33901         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33902         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33903         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33904         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33905         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33906         (elision_init): Set try_xbegin to zero when no RTM.
33907         * sysdeps/x86/nptl/bits/pthreadtypes.h
33908         (pthread_rwlock_t): Change __pad1 to __rwelision.
33909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33911 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33913         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33914         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33915         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33916         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33918 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33920         [BZ #16996]
33921         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33922         that the cached result has been set before returning it.
33924 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33926         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33927         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33928         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33929         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33930         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33931         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33933         * nptl/sysdeps/sparc/Makefile: Moved ...
33934         * sysdeps/sparc/nptl/Makefile: ... here.
33935         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33936         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33937         * nptl/sysdeps/sparc/tls.h: Moved ...
33938         * sysdeps/sparc/nptl/tls.h: ... here.
33939         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33940         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33941         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33942         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33943         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33944         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33945         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33946         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33947         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33948         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33949         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33950         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33951         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33952         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33953         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33954         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33955         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33956         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33957         Update #include.
33958         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33960         Update #include.
33961         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33963         Update #include.
33964         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33965         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33966         Update #include.
33968         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33970         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33971         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33973         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33974         (struct list_links): Type removed.
33975         (struct thread_node, struct timer_node): Replace struct list_links
33976         with struct list_head.
33977         (list_unlink_ip): Likewise.
33978         * sysdeps/pthread/timer_routines.c
33979         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33980         (list_append, list_insbefore): Likewise.
33981         (list_init): Function removed.
33982         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33983         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33984         * sysdeps/pthread/Makefile: ... here, new file.
33986         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33987         * sysdeps/nptl/Implies: ... here.
33988         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33989         * nptl/sysdeps/pthread/list.h: Moved ...
33990         * include/list.h: ... here.
33991         * nptl/sysdeps/pthread/createthread.c: Moved ...
33992         * nptl/createthread.c: ... here.
33993         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33994         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33995         * nptl/pt-longjmp.c: ... here.
33996         * nptl/sysdeps/pthread/Makefile: Moved ...
33997         * sysdeps/nptl/Makefile: ... here.
33998         * nptl/sysdeps/pthread/Subdirs: Moved ...
33999         * sysdeps/nptl/Subdirs: ... here.
34000         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34001         * sysdeps/nptl/aio_misc.h: ... here.
34002         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34003         * sysdeps/nptl/bits/libc-lock.h: ... here.
34004         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34005         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34006         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34007         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34008         * nptl/sysdeps/pthread/configure: Moved ...
34009         * sysdeps/nptl/configure: ... here.
34010         * nptl/sysdeps/pthread/configure.ac: Moved ...
34011         * sysdeps/nptl/configure.ac: ... here.
34012         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34013         * sysdeps/nptl/gai_misc.h: ... here.
34014         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34015         * sysdeps/nptl/librt-cancellation.c: ... here.
34016         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34017         * sysdeps/nptl/malloc-machine.h: ... here.
34018         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34019         * sysdeps/nptl/pthread-functions.h: ... here.
34020         * nptl/sysdeps/pthread/pthread.h: Moved ...
34021         * sysdeps/nptl/pthread.h: ... here.
34022         * nptl/sysdeps/pthread/setxid.h: Moved ...
34023         * sysdeps/nptl/setxid.h: ... here.
34024         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34025         * sysdeps/nptl/sigfillset.c: ... here.
34026         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34027         * sysdeps/nptl/tcb-offsets.h: ... here.
34028         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34029         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34030         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34031         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34032         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34033         * sysdeps/pthread/allocalim.h: ... here.
34034         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34035         * sysdeps/pthread/bits/sigthread.h: ... here.
34036         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34037         * sysdeps/pthread/flockfile.c: ... here.
34038         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34039         * sysdeps/pthread/ftrylockfile.c: ... here.
34040         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34041         * sysdeps/pthread/funlockfile.c: ... here.
34042         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34043         * sysdeps/pthread/posix-timer.h: ... here.
34044         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34045         * sysdeps/pthread/timer_create.c: ... here.
34046         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34047         * sysdeps/pthread/timer_delete.c: ... here.
34048         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34049         * sysdeps/pthread/timer_getoverr.c: ... here.
34050         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34051         * sysdeps/pthread/timer_gettime.c: ... here.
34052         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34053         * sysdeps/pthread/timer_routines.c: ... here.
34054         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34055         * sysdeps/pthread/timer_settime.c: ... here.
34056         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34057         * sysdeps/pthread/tst-timer.c: ... here.
34058         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34059         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34061         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34062         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34064         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34065         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34066         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34067         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34068         Update #include target.
34069         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34070         * sysdeps/i386/i686/nptl/Makefile: ... here.
34071         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34072         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34073         Update #include target.
34074         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34075         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34076         * nptl/sysdeps/i386/Makefile: Moved ...
34077         * sysdeps/i386/nptl/Makefile: ... here.
34078         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34079         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34080         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34081         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34082         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34083         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34084         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34085         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34086         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34087         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34088         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34089         * nptl/sysdeps/i386/tls.h: Moved ...
34090         * sysdeps/i386/nptl/tls.h: ... here.
34092         * sysdeps/sh/Makefile [$(subdir) = csu]
34093         (gen-as-const-headers): Add tcb-offsets.sym.
34094         * nptl/sysdeps/sh/Makefile: File removed.
34095         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34096         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34097         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34098         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34099         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34100         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34101         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34102         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34103         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34104         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34105         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34106         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34107         * nptl/sysdeps/sh/tls.h: Moved ...
34108         * sysdeps/sh/nptl/tls.h: ... here.
34109         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34110         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34111         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34112         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34113         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34114         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34115         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34116         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34117         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34118         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34120         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34122         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34123         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34124         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34125         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34126         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34128         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34129         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34130         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34131         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34133         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34134         Moved ...
34135         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34137         Moved ...
34138         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34139         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34141         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34142         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34143         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34144         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34145         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34146         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34147         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34148         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34149         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34150         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34151         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34152         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34153         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34154         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34155         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34156         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34158 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34160         * posix/spawn_faction_addopen.c: Include string.h.
34162 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34164         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34165         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34166         * nptl/sysdeps/x86_64/Makefile: Moved ...
34167         * sysdeps/x86_64/nptl/Makefile: ... here.
34168         * nptl/sysdeps/x86_64/configure: Moved ...
34169         * sysdeps/x86_64/nptl/configure: ... here.
34170         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34171         * sysdeps/x86_64/nptl/configure.ac: ... here.
34172         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34173         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34174         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34175         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34176         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34177         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34178         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34179         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34180         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34181         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34182         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34183         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34184         * nptl/sysdeps/x86_64/tls.h: Moved ...
34185         * sysdeps/x86_64/nptl/tls.h: ... here.
34186         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34187         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34188         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34189         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34191         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34193 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34197 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34199         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34200         type.
34201         [POSIX] (off_t): Likewise.
34202         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34203         [POSIX] (S_ISBLK): Require macro.
34204         [POSIX] (S_ISCHR): Likewise.
34205         [POSIX] (S_ISDIR): Likewise.
34206         [POSIX] (S_ISFIFO): Likewise.
34207         [POSIX] (S_ISREG): Likewise.
34208         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34209         optional-macro.
34210         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34211         type.
34212         [POSIX] (time_t): Likewise.
34213         [POSIX] (timer_t): Likewise.
34215 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34217         [BZ #17048]
34218         * posix/spawn_int.h (struct __spawn_action): Make the path string
34219         non-const to support deallocation.
34220         * posix/spawn_faction_addopen.c
34221         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34222         * posix/spawn_faction_destroy.c
34223         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34224         path in all spawn_do_open actions.
34225         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34226         posix_spawn_file_actions_addopen.
34228 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34230         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34231         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34232         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34233         conditional code always true.
34234         (__libc_vfork): New alias.
34236 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34238         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34239         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34241         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34243         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34244         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34246         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34247         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34249         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34250         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34252 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34254         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34255         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34256         multiarch strcmp for PPC64.
34257         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34258         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34260         multiarch optimizations.
34261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34262         (__libc_ifunc_impl_list): Likewise.
34264 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34266         * benchtests/scripts/validate_benchout.py: New script.
34267         * benchtests/Makefile (bench-func): Call it.
34268         * benchtests/scripts/benchout.schema.json: New file.
34270 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34272         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34273         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34274         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34275         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34276         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34277         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34278         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34279         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34280         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34281         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34282         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34283         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34284         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34285         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34286         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34287         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34289         Moved ...
34290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34291         ... here.
34292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34293         Moved ...
34294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34296         Moved ...
34297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34298         ... here.
34299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34300         Moved ...
34301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34302         ... here.
34303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34304         Moved ...
34305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34307         Moved ...
34308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34309         ... here.
34310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34311         Moved ...
34312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34313         ... here.
34314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34315         Moved ...
34316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34318         Moved ...
34319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34320         ... here.
34321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34322         Moved ...
34323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34324         ... here.
34325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34326         Moved ...
34327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34328         ... here.
34329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34330         Moved ...
34331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34333         Moved ...
34334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34335         ... here.
34336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34337         Moved ...
34338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34339         ... here.
34340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34341         Moved ...
34342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34343         ... here.
34344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34345         Moved ...
34346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34348         Moved ...
34349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34350         ... here.
34351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34352         Moved ...
34353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34354         ... here.
34355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34356         Moved ...
34357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34359         Moved ...
34360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34361         ... here.
34362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34363         Moved ...
34364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34366         Moved ...
34367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34369         Moved ...
34370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34371         ... here.
34372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34373         Moved ...
34374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34375         ... here.
34376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34377         Moved ...
34378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34379         ... here.
34380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34381         Moved ...
34382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34384         Moved ...
34385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34386         ... here.
34387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34388         Moved ...
34389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34390         ... here.
34391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34392         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34394         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34396         Moved ...
34397         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34398         ... here.
34399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34400         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34401         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34402         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34404         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34406         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34407         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34408         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34409         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34410         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34411         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34412         Moved ...
34413         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34415         Moved ...
34416         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34418         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34419         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34420         Moved ...
34421         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34423         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34424         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34425         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34426         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34427         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34429 2014-06-10  Wilco  <wdijkstr@arm.com>
34431         * math/test-fenv-return.c: New file.
34432         * math/Makefile: Add new test test-fenv-return.
34434 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34436         [BZ #17042]
34437         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34438         when x - 1 is zero.
34439         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34440         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34441         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34442         0.0L for an argument of 1.0L.
34443         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34444         Likewise.
34445         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34446         value when x - 1 is zero.
34447         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34448         * sysdeps/i386/fpu/libm-test-ulps: Update.
34449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34451 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34453         [BZ #15119]
34454         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34456 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34458         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34459         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34461 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34463         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34464         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34466         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34467         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34469         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34470         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34472         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34473         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34475         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34476         if not already defined.
34477         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34478         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34479         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34480         (TLS_INIT_TP): Use it.
34481         (TLS_DEFINE_INIT_TP): New macro.
34482         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34484 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34486         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34487         constant.
34488         [POSIX] (IXANY): Likewise.
34489         [POSIX] (OLCUC): Likewise.
34490         [POSIX || POSIX2008] (CBAUD): Do not allow.
34491         [POSIX || POSIX2008] (DEFECHO): Likewise.
34492         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34493         [POSIX || POSIX2008] (ECHOKE): Likewise.
34494         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34495         [POSIX || POSIX2008] (EXTA): Likewise.
34496         [POSIX || POSIX2008] (EXTB): Likewise.
34497         [POSIX || POSIX2008] (FLUSHO): Likewise.
34498         [POSIX || POSIX2008] (LOBLK): Likewise.
34499         [POSIX || POSIX2008] (PENDIN): Likewise.
34500         [POSIX || POSIX2008] (SWTCH): Likewise.
34501         [POSIX || POSIX2008] (VDISCARD): Likewise.
34502         [POSIX || POSIX2008] (VDSUSP): Likewise.
34503         [POSIX || POSIX2008] (VLNEXT): Likewise.
34504         [POSIX || POSIX2008] (VREPRINT): Likewise.
34505         [POSIX || POSIX2008] (VSTATUS): Likewise.
34506         [POSIX || POSIX2008] (VWERASE): Likewise.
34507         (B*): Change to B[0123456789]*.
34508         * conform/data/time.h-data [POSIX || UNIX98]
34509         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34510         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34511         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34512         [POSIX] (tm_*): Do not allow.
34514 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34516         * Makefile (install): Don't set LANGUAGE.
34517         * Makefile.in (install): Likewise.
34518         * assert/Makefile (test-assert-ENV): Remove variable.
34519         (test-assert-perr-ENV): Likewise.
34520         * elf/Makefile (neededtest4-ENV): Likewise.
34521         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34522         [$(cross-compiling) = no]: Don't set LANGUAGE.
34523         * io/ftwtest-sh (LANG): Remove variable.
34524         * libio/Makefile (tst-widetext-ENV): Likewise.
34525         * manual/install.texi (Running make install): Don't refer to
34526         environment settings for make install.
34527         * INSTALL: Regenerated.
34528         * nptl/tst-tls6.sh: Don't set LANG.
34529         * posix/globtest.sh (LANG): Remove variable.
34530         * string/Makefile (tester-ENV): Likewise.
34531         (inl-tester-ENV): Likewise.
34532         (noinl-tester-ENV): Likewise.
34533         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34534         [$(cross-compiling) = no]: Don't set LANGUAGE.
34535         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34536         without explicit environment settings.
34538 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34540         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34541         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34542         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34543         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34545 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34547         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34548         other files in the crypt directory.
34549         * crypt/crypt.c: Remove duplicate includes.
34550         * crypt/crypt-entry.c: Likewise.
34551         * crypt/crypt_util.c: Likewise.
34553 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34555         * Makeconfig (run-program-env): New variable.
34556         (run-program-prefix-before-env): Likewise.
34557         (run-program-prefix-after-env): Likewise.
34558         (run-program-prefix): Define in terms of new variables.
34559         (built-program-cmd-before-env): New variable.
34560         (built-program-cmd-after-env): Likewise.
34561         (built-program-cmd): Define in terms of new variables.
34562         (test-program-prefix-before-env): New variable.
34563         (test-program-prefix-after-env): Likewise.
34564         (test-program-prefix): Define in terms of new variables.
34565         (test-program-cmd-before-env): New variable.
34566         (test-program-cmd-after-env): Likewise.
34567         (test-program-cmd): Define in terms of new variables.
34568         * Rules (make-test-out): Use $(run-program-env).
34569         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34570         (help): Do not mention environment variables.  Mention
34571         --timeoutfactor option.
34572         (timeoutfactor): New variable.
34573         (blacklist_exports): Remove function.
34574         (exports): Remove variable.
34575         (command): Do not include ${exports}.
34576         * manual/install.texi (Configuring and compiling): Do not mention
34577         test wrappers preserving environment variables.  Mention that last
34578         assignment to a variable must take precedence.
34579         * INSTALL: Regenerated.
34580         * benchtests/Makefile (run-bench): Use $(run-program-env).
34581         * catgets/Makefile ($(objpfx)test1.cat): Use
34582         $(built-program-cmd-before-env), $(run-program-env) and
34583         $(built-program-cmd-after-env).
34584         ($(objpfx)test2.cat): Do not specify environment variables
34585         explicitly.
34586         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34587         $(run-program-env) and $(built-program-cmd-after-env).
34588         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34589         $(run-program-env) and $(test-program-cmd-after-env).
34590         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34591         explicitly.
34592         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34593         run_program_env and test_program_cmd_after_env arguments.
34594         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34595         * elf/tst-pathopt.sh: Use run_program_env argument.
34596         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34597         $(test-wrapper-env) and $(run-program-env).
34598         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34599         run_program_env arguments.
34600         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34601         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34602         $(test-program-prefix-before-env), $(run-program-env) and
34603         $(test-program-prefix-after-env).
34604         ($(objpfx)tst-gettext2.out): Likewise.
34605         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34606         run_program_env and test_program_prefix_after_env arguments.
34607         * intl/tst-gettext2.sh: Likewise.
34608         * intl/tst-gettext4.sh: Do not set environment variables
34609         explicitly.
34610         * intl/tst-gettext6.sh: Likewise.
34611         * intl/tst-translit.sh: Likewise.
34612         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34613         $(test-program-prefix-before-env), $(run-program-env) and
34614         $(test-program-prefix-after-env).
34615         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34616         run_program_env and test_program_prefix_after_env arguments.
34617         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34618         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34619         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34620         explicitly with each use of ${test_wrapper_env}.
34621         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34622         $(test-program-prefix-before-env), $(run-program-env) and
34623         $(test-program-prefix-after-env).
34624         * posix/tst-getconf.sh: Do not set environment variables
34625         explicitly.
34626         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34627         run_program_env and test_program_prefix_after_env arguments.
34628         * stdio-common/tst-printf.sh: Do not set environment variables
34629         explicitly.
34630         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34631         $(test-program-prefix-before-env), $(run-program-env) and
34632         $(test-program-prefix-after-env).
34633         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34634         run_program_env and test_program_prefix_after_env arguments.
34635         Split $test calls into $test_pre and $test.
34636         * timezone/Makefile (build-testdata): Use
34637         $(built-program-cmd-before-env), $(run-program-env) and
34638         $(built-program-cmd-after-env).
34640 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34642         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34643         strlen for non SHARED builds.
34645 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34647         * nptl/allocatestack.c (check_list): Inlined function...
34648         (__reclaim_stacks): ... here.
34650 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34652         [BZ #15698]
34653         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34654         memory overrun.
34656 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34658         * Rules (make-test-out): Include
34659         LOCPATH=$(common-objpfx)localedata in default environment.
34660         * debug/Makefile (tst-chk1-ENV): Remove variable.
34661         (tst-chk2-ENV): Likewise.
34662         (tst-chk3-ENV): Likewise.
34663         (tst-chk4-ENV): Likewise.
34664         (tst-chk5-ENV): Likewise.
34665         (tst-chk6-ENV): Likewise.
34666         (tst-lfschk1-ENV): Likewise.
34667         (tst-lfschk2-ENV): Likewise.
34668         (tst-lfschk3-ENV): Likewise.
34669         (tst-lfschk4-ENV): Likewise.
34670         (tst-lfschk5-ENV): Likewise.
34671         (tst-lfschk6-ENV): Likewise.
34672         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34673         (tst-iconv7-ENV): Likewise.
34674         * intl/Makefile (LOCPATH-ENV): Likewise.
34675         (tst-codeset-ENV): Likewise.
34676         (tst-gettext3-ENV): Likewise.
34677         (tst-gettext5-ENV): Likewise.
34678         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34679         (tst-fopenloc-ENV): Likewise.
34680         (tst-fgetws-ENV): Remove variable.
34681         (tst-ungetwc1-ENV): Likewise.
34682         (tst-ungetwc2-ENV): Likewise.
34683         (bug-ungetwc2-ENV): Likewise.
34684         (tst-swscanf-ENV): Likewise.
34685         (bug-ftell-ENV): Likewise.
34686         (tst-fgetwc-ENV): Likewise.
34687         (tst-fseek-ENV): Likewise.
34688         (tst-ftell-partial-wide-ENV): Likewise.
34689         (tst-ftell-active-handler-ENV): Likewise.
34690         (tst-ftell-append-ENV): Likewise.
34691         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34692         (tst-regexloc-ENV): Likewise.
34693         (bug-regex1-ENV): Likewise.
34694         (tst-regex-ENV): Likewise.
34695         (tst-regex2-ENV): Likewise.
34696         (bug-regex5-ENV): Likewise.
34697         (bug-regex6-ENV): Likewise.
34698         (bug-regex17-ENV): Likewise.
34699         (bug-regex18-ENV): Likewise.
34700         (bug-regex19-ENV): Likewise.
34701         (bug-regex20-ENV): Likewise.
34702         (bug-regex22-ENV): Likewise.
34703         (bug-regex23-ENV): Likewise.
34704         (bug-regex25-ENV): Likewise.
34705         (bug-regex26-ENV): Likewise.
34706         (bug-regex30-ENV): Likewise.
34707         (bug-regex32-ENV): Likewise.
34708         (bug-regex33-ENV): Likewise.
34709         (bug-regex34-ENV): Likewise.
34710         (bug-regex35-ENV): Likewise.
34711         (tst-rxspencer-ENV): Likewise.
34712         (tst-rxspencer-no-utf8-ENV): Likewise.
34713         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34714         (tst-sscanf-ENV): Likewise.
34715         (tst-swprintf-ENV): Likewise.
34716         (tst-swscanf-ENV): Likewise.
34717         (test-vfprintf-ENV): Likewise.
34718         (scanf13-ENV): Likewise.
34719         (bug14-ENV): Likewise.
34720         (tst-grouping-ENV): Likewise.
34721         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34722         (tst-strtod3-ENV): Likewise.
34723         (tst-strtod4-ENV): Likewise.
34724         (tst-strtod5-ENV): Likewise.
34725         (testmb2-ENV): Likewise./
34726         * string/Makefile (tst-strxfrm-ENV): Likewise.
34727         (tst-strxfrm2-ENV): Likewise.
34728         (bug-strcoll1-ENV): Likewise.
34729         (test-strcasecmp-ENV): Likewise.
34730         (test-strncasecmp-ENV): Likewise.
34731         * time/Makefile (tst-strptime-ENV): Likewise.
34732         (tst-ftime_l-ENV): Likewise.
34733         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34734         (tst-mbrtowc-ENV): Likewise.
34735         (tst-wcrtomb-ENV): Likewise.
34736         (tst-mbrtowc2-ENV): Likewise.
34737         (tst-c16c32-1-ENV): Likewise.
34738         (tst-mbsnrtowcs-ENV): Likewise.
34740 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34742         * manual/resource.texi (How to get information about the memory
34743         subsystem?): Fix typo.
34744         Reported by Peon de la Parra Ivan <peon@keba.com>
34746 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34748         [BZ #16882]
34749         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34750         (pthread_spin_lock): Branch out of spin loop to proper location.
34751         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34752         (pthread_spin_lock): Likewise.
34754         * nptl/tst-spin4.c: New test.
34755         * nptl/Makefile (tests): Add tst-spin4.
34757 2014-06-03  Andreas Schwab  <schwab@suse.de>
34759         [BZ #15946]
34760         * resolv/res_send.c (send_dg): Reload file descriptor after
34761         calling reopen.
34763 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34765         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34767 2014-06-03  Richard Henderson  <rth@redhat.com>
34769         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34770         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34771         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34772         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34773         in the SAVE_PID block.
34774         (__libc_vfork): New alias.
34775         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34777         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34778         child in registers, not on the stack.  Remove RESET_PID conditionals.
34779         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34781 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34783         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34785 2014-06-03  Wilco  <wdijkstr@arm.com>
34787         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34788         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34789         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34790         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34791         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34792         Likewise.
34794 2014-06-03  Wilco  <wdijkstr@arm.com>
34796         * sysdeps/aarch64/fpu/math_private.h
34797         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34798         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34799         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34800         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34801         Fix declarations.
34803 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34805         * crypt/crypt-private.h: Include ufc-crypt.h.
34806         (__b64_from_24bit): Declare extern.
34807         * crypt/crypt_util.c(__b64_from_24bit): New function.
34808         (b64t): New static const variable.
34809         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34810         (b64t): Remove variable.
34811         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34812         * crypt/sha256-crypt.c: Include crypt-private.h.
34813         (b64t): Remove variable.
34814         (__sha256_crypt_r): Remove b64_from_24bit and replace
34815         with __b64_from_24bit.
34816         * crypt/sha512-crypt.c: Likewise.
34818 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34820         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34821         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34822         Label the code __libc_vfork rather than __vfork.
34823         [!NOT_IN_libc] (vfork): Define as weak alias.
34824         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34825         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34826         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34828 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34830         * malloc/malloc.c (malloc_info): Fix format specifier for
34831         n_mmaps.
34833 2014-06-02  Wilco  <wdijkstr@arm.com>
34835         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34836         FPCR write.
34838 2014-06-02  Wilco  <wdijkstr@arm.com>
34840         [BZ #17009]
34841         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34842         Rewrite to reduce FPCR/FPSR accesses.
34844 2014-06-01  David S. Miller  <davem@davemloft.net>
34846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34848 2014-05-31  David S. Miller  <davem@davemloft.net>
34850         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34851         to occur in round to nearest mode when |x| >= 2.0
34853 2014-05-30  Richard Henderson  <rth@twiddle.net>
34855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34856         (PSEUDO_RET_NOERRNO): Remove.
34857         (ret): Don't redefine.
34858         (ret_NOERRNO): Define in terms of ret.
34859         (ret_ERRVAL): Likewise.
34861         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34862         use of PSEUDO_RET; perform the error check directly.
34864 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34866         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34867         with __int128_t.
34869 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34871         * malloc/malloc (malloc_info): Fix formatting.
34873 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34874             Roland McGrath  <roland@hack.frob.com>
34876         * malloc/malloc (malloc_info): Also print mmapped statistics.
34878 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34880         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34881         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34883 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34885         * malloc/malloc.c (malloc_info): Inline mi_arena.
34887 2014-05-29  Richard Henderson  <rth@twiddle.net>
34889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34890         Remove comma before expanding ASM_ARGS_##nr.
34891         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34892         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34893         of ASM_ARGS_##nr.
34894         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34895         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34896         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34897         (ASM_ARGS_1): Add leading comma.
34899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34900         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34901         to __errno_location.
34902         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34903         Remove the expected plt for __errno_location.
34905         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34906         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34907         call to __read_tp.
34909         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34910         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34911         it and break it down.
34912         (DOCARGS_0, DOCARGS_1): Do nothing.
34913         (DOCARGS_2): Update to store into the new stack frame.
34914         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34915         (UNDOCARGS_1): Update to restore from the new stack frame.
34916         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34917         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34919         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34920         (SINGLE_THREAD_P): New parameter for result regno.
34921         (PSEUDO): Update to match; use cbz instead of beq.
34923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34924         Use ENTRY to define the _nocancel entry point.  Share the syscall
34925         and syscall error check paths with the cancel path.
34926         (PSEUDO_END): New.
34928         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34929         whitespace; tabs before and after asm mnemonics.
34931 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34933         [BZ #15132]
34934         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34935         Call fstat64 or stat64 internally, depending on arguments passed.
34936         Replace stat buffer argument with file descriptor argument.
34937         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34938         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34939         Pass fd to __internal_statvfs instead of calling fstat64.
34940         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34941         Pass fd to __internal_statvfs64 instead of calling fstat64.
34942         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34943         Pass -1 to __internal_statvfs instead of calling stat64.
34944         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34945         Pass -1 to __internal_statvfs64 instead of calling stat64.
34947 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34949         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34950         that was previously under [RESET_PID].
34951         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34953         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34954         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34956 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34958         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34960         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34961         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34963 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34965         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34967 2014-05-27  Andreas Schwab  <schwab@suse.de>
34969         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34970         TLS_INIT_TP macro.
34971         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34972         * elf/rtld.c (init_tls, dl_main): Likewise.
34973         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34974         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34975         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34976         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34977         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34978         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34979         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34980         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34981         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34982         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34983         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34984         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34985         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34986         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34987         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34988         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34989         * sysdeps/generic/tls.h: Update description.
34991 2014-05-27  Will Newton  <will.newton@linaro.org>
34993         [BZ #16990]
34994         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34995         and restore r2 rather than just restoring.
34997 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34999         [BZ #16724]
35000         * libio/tst-ftell-append.c: New test case.
35001         * libio/Makefile (tests): Add test case.
35002         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35003         append mode.
35004         * libio/wfileops.c (do_ftell_wide): Likewise.
35006 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35010         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35011         ...
35012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35014         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35015         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35016         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35017         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35018         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35019         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35021         Moved ...
35022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35023         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35024         Moved ...
35025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35026         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35027         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35028         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35029         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35030         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35031         ...
35032         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35033         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35034         Moved ...
35035         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35036         here.
35037         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35038         ...
35039         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35040         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35041         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35043         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35044         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35045         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35046         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35049         merge into ...
35050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35052         ...
35053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35055         ...
35056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35058         Moved ...
35059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35060         here.
35061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35062         Moved ...
35063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35065         Moved ...
35066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35069         conditional [RESET_PID].
35070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35072         removed.
35073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35074         removed.
35076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35077         <tcb-offsets.h>.
35078         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35079         (__libc_vfork): New strong alias.
35080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35081         removed.
35082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35083         Removed.
35085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35086         <tcb-offsets.h>.
35087         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35088         (__libc_vfork): New strong alias.
35089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35090         removed.
35091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35092         removed.
35094 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35096         * malloc/malloc.c (mi_arena): New function.
35097         (malloc_info): Remove nested function mi_arena. Call non-nosted
35098         function mi_arena.
35100 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35102         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35103         by insrwi.
35104         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35105         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35106         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35107         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35108         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35109         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35110         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35112 2014-05-26  Andreas Schwab  <schwab@suse.de>
35114         [BZ #16984]
35115         * locale/programs/repertoire.c (repertoire_read): Add slash
35116         between I18NPATH element and file name.
35117         * locale/programs/locfile.c (locfile_read): Likewise.
35119 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35121         * nptl/pthread_mutexattr_settype.c
35122         (__pthread_mutexattr_settype):
35123         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35125 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35127         * nptl/tst-mutex5 (do_test):
35128         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35130 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35132         * benchtests/README: Document 'init' directive.
35133         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35134         BENCH_INIT.
35135         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35136         (parse_file): Recognize 'init' directive.
35138 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35140         [BZ #16796]
35141         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35142         alignment of struct pthread.
35144 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35146         [BZ #16878]
35147         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35148         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35149         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35150         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35152 2014-05-25  Richard Henderson  <rth@twiddle.net>
35154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35155         (SINGLE_THREAD_P_PIC): Remove.
35156         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35157         (SINGLE_THREAD_P_PIC): Remove.
35159         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35160         branch to syscall error ...
35161         (PSEUDO): ... here.
35162         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35163         from __local_syscall_error to .Lsyscall_error.
35164         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35165         (SYSCALL_ERROR): Update label name.
35167         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35168         Do not use DOARGS/UNDOARGS.
35169         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35170         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35171         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35172         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35173         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35176         block comment.
35178         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35179         define if !NOT_IN_libc.
35180         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35181         define with non-default symbol versions.
35183 2014-05-23  Richard Henderson  <rth@twiddle.net>
35185         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35186         (vfork, __vfork): Define via compat_symbol.
35188         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35189         [!HAVE_IFUNC] (vfork_compat): Remove.
35190         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35192 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35194         [BZ #16978]
35195         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35196         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35197         variable.
35199 2014-05-23  Richard Henderson  <rth@twiddle.net>
35201         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35202         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35203         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35204         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35206         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35207         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35208         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35209         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35210         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35211         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35212         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35213         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35214         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35215         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35216         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35217         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35218         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35219         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35220         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35221         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35222         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35223         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35224         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35225         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35226         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35227         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35228         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35229         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35230         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35231         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35232         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35233         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35234         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35235         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35236         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35237         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35238         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35239         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35240         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35241         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35242         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35243         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35244         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35245         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35246         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35247         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35248         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35249         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35250         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35251         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35253         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35255         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35256         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35257         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35258         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35259         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35260         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35261         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35263         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35264         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35265         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35266         before exiting on error.
35267         (__libc_vfork): New strong alias.
35268         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35269         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35271         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35272         that was previously under [RESET_PID].
35273         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35275         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35277 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35279         [BZ #16977]
35280         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35281         value when x - 1 is zero.
35282         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35283         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35284         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35285         0.0L for an argument of 1.0L.
35286         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35287         Likewise.
35288         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35289         value when x - 1 is zero.
35290         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35291         * sysdeps/i386/fpu/libm-test-ulps: Update.
35292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35294 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35296         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35297         alphasort and versionsort.
35299 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35301         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35302         macro.
35303         [copysignf]: Likewise.
35305 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35307         * crypt/md5-crypt.c: Fix formatting.
35309 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35311         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35312         (b64_from_24bit): New function.
35314 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35316         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35317         libc_hidden_builtin_def to ifunc.
35318         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35319         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35321 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35323         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35324         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35326 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35328         * nscd/Depend (linuxthreads): Remove.
35329         (nptl): Add.
35330         * resolv/Depend (linuxthreads): Remove.
35331         * rt/Depend (linuxthreads): Remove.
35333         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35334         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35335         $(common-objpfx)elf/.
35336         (link-libc-before-gnulib): Likewise.
35337         (elfobjdir): Remove variable.
35338         * Makefile (install): Use $(elf-objpfx) instead of
35339         $(common-objpfx)elf/.
35340         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35341         $(elfobjdir)/.
35342         (link-libc-deps): Likewise.
35343         ($(common-objpfx)libc.so): Likewise.
35344         ($(common-objpfx)linkobj/libc.so): Likewise.
35345         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35346         instead of $(common-objpfx)elf/.
35347         (symbolic-link-list): Likewise.
35348         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35349         [$(cross-compiling) = no]: Likewise.
35350         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35351         $(elfobjdir)/.
35352         (static-gnulib-arch): Likewise.
35353         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35354         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35355         $(common-objpfx)elf/.
35357 2014-05-21  Richard Henderson  <rth@redhat.com>
35359         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35360         (SINGLE_THREAD_P): Use the correct width load.  Fold
35361         into the ldr offset.
35363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35364         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35366 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35368         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35369         (libgcc_s_resume): Use __attribute_used__.
35370         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35371         Likewise.
35373 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35375         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35376         optimization when used with float constants.
35378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35380 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35382         [BZ #16915]
35383         * locale/nl_langinfo_l.c: Make direct reference to every
35384         _nl_current_CATEGORY symbol.
35385         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35386         (tests-static): Add tst-langinfo-static.
35387         (tests-special): Add tst-langinfo-static.out.
35388         ($(objpfx)tst-langinfo.out): Redirect output.
35389         ($(objpfx)tst-langinfo-static.out): New.
35390         * localedata/tst-langinfo.sh: Send output to stdout.
35391         * localedata/tst-langinfo-static.c: New file.
35393         [BZ #16965]
35394         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35395         when the shift amount is modulo the limb size.
35397 2014-05-20  Richard Henderson  <rth@redhat.com>
35399         [BZ #16967]
35400         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35401         Change type of sa_flags from unsigned int to int.
35403         [BZ #16966]
35404         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35406         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35408 2014-05-20  Will Newton  <will.newton@linaro.org>
35410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35411         Test the return value of the system call in the nocancel case.
35413 2014-05-20  Will Newton  <will.newton@linaro.org>
35414             Yvan Roux  <yvan.roux@linaro.org>
35416         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35417         #include of asm/ptrace.h.
35418         (PTRACE_GET_THREAD_AREA): Remove #undef.
35419         (PTRACE_GETHBPREGS): Likewise.
35420         (PTRACE_SETHBPREGS): Likewise.
35421         (struct user_regs_struct): New structure.
35422         (struct user_fpsimd_struct): New structure.
35423         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35424         #include of asm/ptrace.h and second #include of sys/user.h.
35425         (PTRACE_GET_THREAD_AREA): Remove #undef.
35426         (PTRACE_GETHBPREGS): Likewise.
35427         (PTRACE_SETHBPREGS): Likewise.
35428         (ELF_NGREG): Use new struct user_regs_struct.
35429         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35431 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35433         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35434         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35436 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35438         [BZ #16958]
35439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35440         membar to avoid block loads/stores to overlap previous stores.
35442 2014-05-17  Richard Henderson  <rth@redhat.com>
35444         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35445         Create the __##syscall_name##_nocancel entry point.
35446         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35447         Remove; let the sysdep-cancel.h code create it.
35449 2014-05-17  David S. Miller  <davem@davemloft.net>
35451         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35452         Protect with __USE_GNU.
35453         (TIOCSET_TEMPT): Likewise.
35454         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35455         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35456         these are already provided in bits/ioctl-types.h
35458 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35460         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35461         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35463         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35464         Use wait4 regardless of [__NR_waitpid].
35466 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35468         PR libgcc/60166
35469         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35470         (_FP_NANSIGN_Q): Set the quiet bit.
35472 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35474         * benchtests/Makefile
35475         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35476         not $(common-objpfx)math/libm.so.
35477         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35478         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35479         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35480         $(common-objpfx)dlfcn/libdl.so.
35481         ($(objpfx)tst-audit8): Depend on $(libm), not
35482         $(common-objpfx)math/libm.so.
35483         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35484         not $(common-objpfx)dlfcn/libdl.so.
35485         * math/Makefile
35486         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35487         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35488         [$(build-shared) = yes].
35489         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35490         $(common-objpfx)nptl/libpthread.so.
35491         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35492         $(common-objpfx)math/libm.so$(libm.so-version) or
35493         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35494         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35495         $(common-objpfx)dlfcn/libdl.so.
35496         * setjmp/Makefile (link-libm): Remove variable.
35497         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35498         * stdio-common/Makefile (link-libm): Remove variable.
35499         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35500         * stdlib/Makefile (link-libm): Remove variable.
35501         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35502         ($(objpfx)tst-strtod-round): Likewise.
35503         ($(objpfx)tst-tininess): Likewise.
35504         ($(objpfx)tst-strtod-underflow): Likewise.
35505         ($(objpfx)tst-strtod6): Likewise.
35506         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35507         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35508         $(common-objpfx)dlfcn/libdl.so.
35510 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35512         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35513         BSD terminal modes definitions.
35515 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35517         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35518         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35520         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35521         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35522         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35523         Don't do #include_next.
35524         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35525         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35526         Don't do #include_next.
35527         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35528         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35529         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35530         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35532 2014-05-16  Allan McRae  <allan@archlinux.org>
35534         * po/sv.po: Update Swedish translation from translation project.
35536         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35537         in sed expression.
35539 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35541         [BZ #16917]
35542         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35543         errno if the TIOCGPTN ioctl fails with an error different than
35544         EINVAL.
35545         * login/tst-ptsname.c: New file.
35546         * login/Makefile (tests): Add tst-ptsname.
35548         [BZ #16943]
35549         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35550         and prlimit64.
35552 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35554         [BZ #16849]
35555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35556         herrno to return EAI_AGAIN.
35558 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35560         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35561         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35562         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35563         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35564         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35565         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35566         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35567         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35569         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35570         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35571         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35572         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35573         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35574         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35575         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35576         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35577         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35578         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35579         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35580         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35581         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35582         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35583         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35584         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35585         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35586         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35587         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35588         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35589         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35591         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35593         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35595         Moved ...
35596         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35598         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35600         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35602         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35604         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35606         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35608         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35610         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35612         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35614         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35616         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35618         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35620         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35622         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35624         Moved ...
35625         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35627         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35629         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35631         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35633         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35635         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35637         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35639         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35641         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35643         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35645         Moved ...
35646         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35648         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35650         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35651         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35652         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35653         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35654         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35655         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35656         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35657         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35658         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35659         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35660         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35661         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35662         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35663         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35664         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35665         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35666         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35667         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35668         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35669         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35670         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35671         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35672         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35673         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35674         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35675         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35676         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35677         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35678         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35679         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35680         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35682         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35683         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35685         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35686         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35687         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35688         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35689         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35691         Moved ...
35692         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35694         Moved ...
35695         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35697         Moved ...
35698         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35699         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35700         Moved ...
35701         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35702         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35703         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35705         Moved ...
35706         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35707         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35708         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35709         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35710         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35711         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35712         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35713         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35714         Moved ...
35715         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35716         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35717         Moved ...
35718         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35719         ... here.
35720         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35721         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35722         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35723         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35725         Moved ...
35726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35727         ... here.
35728         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35729         Moved ...
35730         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35731         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35732         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35733         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35734         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35736         Moved ...
35737         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35739         Moved ...
35740         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35742         Moved ...
35743         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35744         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35745         Moved ...
35746         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35747         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35748         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35750         Moved ...
35751         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35752         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35753         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35754         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35755         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35756         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35757         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35758         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35759         Moved ...
35760         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35761         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35762         Moved ...
35763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35764         ... here.
35765         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35766         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35767         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35768         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35770         Moved ...
35771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35772         ... here.
35773         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35774         Moved ...
35775         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35776         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35777         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35778         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35779         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35780         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35781         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35782         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35783         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35785         Moved ...
35786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35787         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35788         Moved ...
35789         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35790         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35791         Moved ...
35792         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35794         Moved ...
35795         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35796         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35797         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35798         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35799         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35801         Moved ...
35802         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35803         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35804         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35805         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35806         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35807         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35808         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35809         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35810         Moved ...
35811         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35812         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35813         Moved ...
35814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35815         ... here.
35816         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35817         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35818         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35819         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35820         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35821         Moved ...
35822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35823         ... here.
35824         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35825         Moved ...
35826         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35827         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35828         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35829         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35830         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35831         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35832         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35833         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35834         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35835         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35836         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35838         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35839         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35841         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35842         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35844         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35845         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35846         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35847         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35848         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35849         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35850         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35851         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35852         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35853         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35854         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35856         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35858         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35860         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35862         Moved ...
35863         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35867         Moved ...
35868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35870         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35872         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35874         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35875         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35876         Moved ...
35877         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35879         Moved ...
35880         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35882         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35883         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35884         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35885         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35886         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35887         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35888         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35889         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35890         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35891         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35892         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35894         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35895         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35896         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35898         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35899         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35900         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35901         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35902         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35904         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35905         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35906         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35907         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35908         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35909         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35910         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35911         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35912         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35913         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35918         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35919         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35920         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35921         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35923         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35924         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35925         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35926         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35927         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35928         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35929         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35930         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35931         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35933         Update #include.
35934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35935         Likewise.
35936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35937         Likewise.
35938         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35939         Likewise.
35940         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35941         Likewise.
35942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35943         Likewise.
35944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35945         Likewise.
35946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35947         Likewise.
35948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35949         Likewise.
35950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35951         Likewise.
35952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35955         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35961         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35965         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35966         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35968         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35969         that was previously under [RESET_PID].
35970         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35971         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35972         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35974         * sysdeps/i386/nptl/Implies: New file.
35975         * sysdeps/x86_64/nptl/Implies: New file.
35976         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35977         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35978         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35979         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35981         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35982         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35983         (__libc_vfork): New strong alias.
35984         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35985         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35987         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35988         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35989         (__libc_vfork): New strong alias.
35990         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35991         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35993         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35994         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35995         (__libc_vfork): New strong alias.
35996         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35997         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35998         * nptl/pt-vfork.c: New file.
35999         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36000         (libpthread: GLIBC_2.20): New version set (empty).
36002 2014-05-14  Will Newton  <will.newton@linaro.org>
36004         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36005         rather than #if.
36007 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36009         [BZ #16564]
36010         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36011         arguments with exponent 65 or above.
36012         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36013         arguments 0x1p113L or above.
36014         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36015         to arguments 0x1p107L or above.
36016         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36017         positive arguments with exponent 65 or above.
36018         * math/auto-libm-test-in: Add more tests of log1p.
36019         * math/auto-libm-test-out: Regenerated.
36021         [BZ #16928]
36022         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36023         non-finite arguments is +0.
36024         * math/s_cacosf.c (__cacosf): Likewise.
36025         * math/s_cacosl.c (__cacosl): Likewise.
36026         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36027         * sysdeps/i386/fpu/libm-test-ulps: Update.
36028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36030         [BZ #16927]
36031         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36032         value.
36033         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36034         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36035         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36036         for explicit high bit of mantissa when testing for argument equal
36037         to 1.
36038         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36039         * sysdeps/i386/fpu/libm-test-ulps: Update.
36040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36042         [BZ #16516]
36043         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36044         (__erf): Scale by 16 instead of 8 in potentially underflowing
36045         case.  Ensure exception if result actually underflows.
36046         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36047         (__erff): Scale by 16 instead of 8 in potentially underflowing
36048         case.  Ensure exception if result actually underflows.
36049         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36050         (efx8): Remove variable.
36051         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36052         case.  Ensure exception if result actually underflows.
36053         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36054         (efx8): Remove variable.
36055         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36056         case.  Ensure exception if result actually underflows.
36057         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36058         (efx8): Remove variable.
36059         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36060         case.  Ensure exception if result actually underflows.
36061         * math/auto-libm-test-in: Add more tests of erf.
36062         * math/auto-libm-test-out: Regenerated.
36064 2014-05-14  Andreas Schwab  <schwab@suse.de>
36066         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36067         Remove code conditionalized on USE___THREAD.
36069         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36070         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36071         not definedness.
36073 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36075         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36076         Define unconditionally.
36077         (__ASSUME_O_CLOEXEC): Likewise.
36078         (__ASSUME_SOCK_CLOEXEC): Likewise.
36079         (__ASSUME_IN_NONBLOCK): Likewise.
36080         (__ASSUME_PIPE2): Likewise.
36081         (__ASSUME_EVENTFD2): Likewise.
36082         (__ASSUME_SIGNALFD4): Likewise.
36083         (__ASSUME_DUP3): Likewise.
36084         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36085         (__ASSUME_DUP3): Do not define.
36086         (__ASSUME_EVENTFD2): Likewise.
36087         (__ASSUME_IN_NONBLOCK): Likewise.
36088         (__ASSUME_O_CLOEXEC): Likewise.
36089         (__ASSUME_PIPE2): Likewise.
36090         (__ASSUME_SIGNALFD4): Likewise.
36091         (__ASSUME_SOCK_CLOEXEC): Likewise.
36092         (__ASSUME_UTIMES): Undefine.
36093         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36094         (__ASSUME_UTIMES): Do not define.
36095         (__ASSUME_O_CLOEXEC): Likewise.
36096         (__ASSUME_SOCK_CLOEXEC): Likewise.
36097         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36098         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36099         0x020621].
36100         (__ASSUME_PIPE2): Likewise.
36101         (__ASSUME_EVENTFD2): Likewise.
36102         (__ASSUME_SIGNALFD4): Likewise.
36103         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36104         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36105         Do not define.
36106         (__ASSUME_EVENTFD2): Likewise.
36107         (__ASSUME_SIGNALFD4): Likewise.
36108         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36109         (__ASSUME_32BITUIDS): Likewise.
36110         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36111         (__ASSUME_IPC64): Likewise.
36112         (__ASSUME_ST_INO_64_BIT): Likewise.
36113         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36114         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36115         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36116         (__ASSUME_UTIMES): Do not define.
36117         (__ASSUME_PSELECT): Likewise.
36118         (__ASSUME_PPOLL): Likewise.
36119         (__ASSUME_O_CLOEXEC): Likewise.
36120         (__ASSUME_SOCK_CLOEXEC): Likewise.
36121         (__ASSUME_IN_NONBLOCK): Likewise.
36122         (__ASSUME_PIPE2): Likewise.
36123         (__ASSUME_EVENTFD2): Likewise.
36124         (__ASSUME_SIGNALFD4): Likewise.
36125         (__ASSUME_DUP3): Likewise.
36126         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36127         (__ASSUME_UTIMES): Likewise.
36128         (__ASSUME_O_CLOEXEC): Likewise.
36129         (__ASSUME_SOCK_CLOEXEC): Likewise.
36130         (__ASSUME_IN_NONBLOCK): Likewise.
36131         (__ASSUME_PIPE2): Likewise.
36132         (__ASSUME_EVENTFD2): Likewise.
36133         (__ASSUME_SIGNALFD4): Likewise.
36134         (__ASSUME_DUP3): Likewise.
36135         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36136         (__ASSUME_UTIMES): Likewise.
36137         (__ASSUME_O_CLOEXEC): Likewise.
36138         (__ASSUME_SOCK_CLOEXEC): Likewise.
36139         (__ASSUME_IN_NONBLOCK): Likewise.
36140         (__ASSUME_PIPE2): Likewise.
36141         (__ASSUME_EVENTFD2): Likewise.
36142         (__ASSUME_SIGNALFD4): Likewise.
36143         (__ASSUME_DUP3): Likewise.
36144         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36145         Likewise.
36146         (__ASSUME_UTIMES): Likewise.
36147         (__ASSUME_EVENTFD2): Likewise.
36148         (__ASSUME_SIGNALFD4): Likewise.
36149         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36150         (__ASSUME_O_CLOEXEC): Likewise.
36151         (__ASSUME_SOCK_CLOEXEC): Likewise.
36152         (__ASSUME_IN_NONBLOCK): Likewise.
36153         (__ASSUME_PIPE2): Likewise.
36154         (__ASSUME_EVENTFD2): Likewise.
36155         (__ASSUME_SIGNALFD4): Likewise.
36156         (__ASSUME_DUP3): Likewise.
36157         (__ASSUME_UTIMES): Undefine.
36159         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36160         feclearexcept.  Remove symbol versioning code.
36161         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36162         symbol versioning code.
36163         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36164         symbol versioning code.
36165         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36166         feupdateenv.  Remove symbol versioning code.
36167         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36168         fegetexceptflag.  Remove symbol versioning code.
36169         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36170         fesetexceptflag.  Remove symbol versioning code.
36171         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36172         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36173         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36174         (__posix_fadvise64_l32): Remove prototype.
36175         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36176         code.
36178 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36180         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36181         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36182         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36183         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36185 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36187         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36188         current working directory
36190 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36192         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36193         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36194         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36195         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36196         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36197         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36198         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36199         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36200         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36201         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36202         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36203         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36204         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36205         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36206         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36207         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36208         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36209         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36210         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36211         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36212         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36213         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36214         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36215         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36216         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36217         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36218         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36219         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36220         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36221         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36222         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36223         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36224         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36225         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36226         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36227         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36228         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36229         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36230         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36231         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36232         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36233         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36235         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36236         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36238         * sysdeps/unix/sysv/linux/arm/Makefile
36239         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36240         Add rt-aeabi_unwind_cpp_pr1.
36241         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36242         Add nptl-aeabi_unwind_cpp_pr1.
36243         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36244         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36245         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36246         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36247         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36248         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36250         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36251         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36252         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36253         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36255         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36256         Deconditionalize the code that was previously under [RESET_PID].
36257         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36259         * sysdeps/generic/exit-thread.h: New file.
36260         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36261         * include/unistd.h (__exit_thread): Remove declaration.
36262         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36263         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36264         * csu/libc-start.c: Include <exit-thread.h>.
36265         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36266         * nptl/pthread_create.c: Include <exit-thread.h>.
36267         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36268         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36269         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36270         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36271         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36272         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36273         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36274         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36275         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36276         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36277         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36278         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36279         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36280         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36281         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36282         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36283         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36285 2014-05-13  Andreas Schwab  <schwab@suse.de>
36287         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36289 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36291         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36292         (__ASSUME_UTIMES): Do not condition on kernel version.
36293         (__ASSUME_PSELECT): Define unconditionally.
36294         (__ASSUME_PPOLL): Likewise.
36295         (__ASSUME_ATFCTS): Likewise.
36296         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36297         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36298         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36299         (__ASSUME_UTIMENSAT): Define unconditionally.
36300         (__ASSUME_PRIVATE_FUTEX): Likewise.
36301         (__ASSUME_FALLOCATE): Likewise.
36302         (__ASSUME_O_CLOEXEC): Likewise.
36303         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36304         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36305         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36306         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36307         (__ASSUME_IN_NONBLOCK): Likewise.
36308         (__ASSUME_PIPE2): Likewise.
36309         (__ASSUME_EVENTFD2): Likewise.
36310         (__ASSUME_SIGNALFD4): Likewise.
36311         (__ASSUME_DUP3): Likewise.
36312         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36313         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36314         (__ASSUME_AT_RANDOM): Likewise.
36315         (__ASSUME_PREADV): Likewise.
36316         (__ASSUME_PWRITEV): Likewise.
36317         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36318         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36319         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36320         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36321         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36322         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36323         (__ASSUME_O_CLOEXEC): Define unconditionally.
36324         (__ASSUME_PSELECT): Do not undefine conditionally.
36325         (__ASSUME_PPOLL): Likewise.
36326         (__ASSUME_ATFCTS): Likewise.
36327         (__ASSUME_SET_ROBUST_LIST): Likewise.
36328         (__ASSUME_UTIMENSAT): Likewise.
36329         (__ASSUME_FDATASYNC): Define unconditionally.
36330         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36331         (__ASSUME_SIGFRAME_V2): Likewise.
36332         )__ASSUME_EVENTFD2): Likewise.
36333         (__ASSUME_SIGNALFD4): Likewise.
36334         (__ASSUME_PSELECT): Do not undefine conditionally.
36335         (__ASSUME_PPOLL): Likewise.
36336         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36337         (__ASSUME_PSELECT): Define unconditionally.
36338         (__ASSUME_PPOLL): Likewise.
36339         (__ASSUME_O_CLOEXEC): Likewise.
36340         (__ASSUME_SOCK_CLOEXEC): Likewise.
36341         (__ASSUME_IN_NONBLOCK): Likewise.
36342         (__ASSUME_PIPE2): Likewise.
36343         (__ASSUME_EVENTFD2): Likewise.
36344         (__ASSUME_SIGNALFD4): Likewise.
36345         (__ASSUME_DUP3): Likewise.
36346         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36347         (__ASSUME_O_CLOEXEC): Likewise.
36348         (__ASSUME_SOCK_CLOEXEC): Likewise.
36349         (__ASSUME_IN_NONBLOCK): Likewise.
36350         (__ASSUME_PIPE2): Likewise.
36351         (__ASSUME_EVENTFD2): Likewise.
36352         (__ASSUME_SIGNALFD4): Likewise.
36353         (__ASSUME_DUP3): Likewise.
36354         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36355         (__ASSUME_EVENTFD2): Likewise.
36356         (__ASSUME_SIGNALFD4): Likewise.
36357         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36359 2014-05-12  Andreas Schwab  <schwab@suse.de>
36361         [BZ #16932]
36362         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36363         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36364         than maximum RPC packet size.
36365         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36366         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36367         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36368         (_nss_nis_getservbyport_r): Likewise.
36370 2014-05-12  Will Newton  <will.newton@linaro.org>
36372         * malloc/Makefile (tests): Add tst-mallopt.
36373         * malloc/tst-mallopt.c: New file.
36375 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36377         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36378         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36380 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36382         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36383         (tst-tlsmod6.so): Likewise.
36385 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36387         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36389 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36391         [BZ #16064]
36392         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36393         and <dl-procinfo.h>.
36394         (__fegetenv): Save SSE state in envp->__eip if supported.
36395         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36396         envp->__eip if supported.
36397         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36398         and <dl-procinfo.h>.
36399         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36400         __data_offset and __data_selector in environment to 0.  Set SSE
36401         state if supported.
36402         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36403         test-fenv-sse.
36404         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36405         -mfpmath=sse.
36406         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36408 2014-05-09  Will Newton  <will.newton@linaro.org>
36410         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36411         and libc_relro_required for ARM.
36412         * sysdeps/arm/preconfigure: Regenerate.
36414 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36415             Stefan Liebler  <stli@linux.vnet.ibm.com>
36417         * config.make.in (enable-lock-elision): New Makefile variable.
36418         * configure.ac: Likewise.
36419         * configure: Regenerate.
36420         * sysdeps/s390/configure.ac:
36421         Add check for gcc transactions support.
36422         * sysdeps/s390/configure: Regenerate.
36423         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36424         Build elision files if enabled.
36425         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36426         Add lock elision support for s390.
36427         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36428         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36429         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36430         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36431         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36432         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36434         Likewise.
36435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36436         Likewise.
36437         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36438         Likewise.
36439         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36440         Likewise.
36441         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36442         (__lll_timedlock_elision, __lll_lock_elision)
36443         (__lll_unlock_elision, __lll_trylock_elision)
36444         (lll_timedlock_elision, lll_lock_elision)
36445         (lll_unlock_elision, lll_trylock_elision): Add.
36446         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36447         (pthread_mutex_t): Add lock elision support for s390.
36449 2014-05-14  Wilco  <wdijkstr@arm.com>
36451         * sysdeps/arm/fclrexcpt.c: Cleanup.
36452         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36453         * sysdeps/arm/feenablxcpt.c: Cleanup.
36454         * sysdeps/arm/fegetenv.c: Cleanup.
36455         * sysdeps/arm/fegetexcept.c: Cleanup.
36456         * sysdeps/arm/fegetround.c: Cleanup.
36457         * sysdeps/arm/feholdexcpt.c: Cleanup.
36458         * sysdeps/arm/fesetenv.c: Cleanup.
36459         * sysdeps/arm/fesetround.c: Cleanup.
36460         * sysdeps/arm/feupdateenv.c: Cleanup.
36461         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36462         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36463         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36464         * sysdeps/arm/ftestexcept.c: Cleanup.
36465         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36466         * sysdeps/arm/setfpucw.c: Cleanup.
36468 2014-05-09  Will Newton  <will.newton@linaro.org>
36470         * sysdeps/arm/armv7/strcmp.S: New file.
36471         * NEWS: Mention addition of ARMv7 optimized strcmp.
36473 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36475         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36476         look for %.ac rather than %.in.
36478         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36479         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36480         * sysdeps/mach/hurd/configure: Regenerated.
36481         * sysdeps/unix/sysv/linux/configure: Regenerated.
36483         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36485 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36487         [BZ# 16922]
36488         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36489         (LONG_SUB): Ditto.
36490         (PTR_SUB): Ditto.
36492 2014-05-07  Andreas Schwab  <schwab@suse.de>
36494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36495         when skipping over non-matching result from nscd.
36497 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36499         [BZ #16876]
36500         * nptl/sockperf.c (client): Check socket return value.
36502         [BZ #16877]
36503         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36504         nscd security class.
36506 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36508         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36509         * sysdeps/arm/unwind.h: ... here.
36511 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36513         [BZ# 16916]
36514         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36515         Define.
36517 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36519         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36520         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36521         multiarch strncpy for PPC64.
36522         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36523         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36525         multiarch optimizations.
36526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36527         (__libc_ifunc_impl_list): Likewise.
36528         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36530         multiarch stpncpy for PPC64.
36531         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36532         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36534 2014-05-06  Andreas Schwab  <schwab@suse.de>
36536         [BZ #16912]
36537         * gmon/mcount.c (_MCOUNT_DECL): Use
36538         atomic_compare_and_exchange_bool_acq instead of
36539         catomic_compare_and_exchange_bool_acq.
36541 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36543         * elf/Makefile (others, install-bin): Remove pldd.
36544         (pldd-modules): Variable removed.
36545         ($(objpfx)pldd): Target removed.
36546         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36547         (others, install-bin): Append pldd here.
36548         ($(objpfx)pldd): New target.
36550         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36551         to 0, so the first #if test emitted later doesn't see it undefined.
36552         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36553         * sysdeps/gnu/errlist.c: Regenerated.
36555 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36557         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36558         [libc_hidden_builtin_def]: Define to empty value.
36559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36560         [libc_hidden_builtin_def]: Likewise.
36561         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36562         [libc_hidden_builtin_def]: Likewise.
36563         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36564         [libc_hidden_builtin_def]: Likewise.
36565         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36566         __redirect_memcpy and define ifunc as default hidden symbol.
36567         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36568         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36570 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36572         * locale/iso-4217.def: Reintroduce XDR currency.
36574 2014-05-04  Allan McRae  <allan@archlinux.org>
36576         * po/eo.po: Update Esperanto translation from translation project.
36578 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36580         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36581         and FEATURE_INDEX_MAX to 1.
36582         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36584 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36586         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36587         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36588         * iconvdata/big5.c (ONE_DIRECTION): Define.
36589         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36590         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36591         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36592         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36593         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36594         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36595         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36596         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36597         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36598         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36599         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36600         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36601         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36602         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36603         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36604         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36605         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36606         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36607         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36608         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36609         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36610         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36611         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36612         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36613         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36614         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36615         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36616         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36617         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36618         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36619         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36620         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36621         * iconvdata/johab.c (ONE_DIRECTION): Define.
36622         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36623         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36624         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36625         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36626         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36627         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36628         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36629         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36630         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36631         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36633 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36635         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36636         (_IO_JUMPS_OFFSET): Define to 0.
36638         * nptl/sysdeps/pthread/bits/libc-lock.h
36639         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36640         (__libc_lock_define_initialized_recursive): Always define using
36641         initializer.  Modern compilers treat uninitialized (implicit zero) and
36642         explicit zero initializers the same (i.e. put the datum in bss).
36644 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36646         * nscd/nscd-client.h: Include <string.h>.
36648 2014-05-01  David S. Miller  <davem@davemloft.net>
36650         [BZ #16885]
36651         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36652         multiple zero bytes exist at the end of a string.
36653         Reported by Aurelien Jarno <aurelien@aurel32.net>
36655         * string/test-strcmp.c (check): Add explicit test for situations where
36656         there are multiple zero bytes after the first.
36658 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36660         [BZ #16890]
36661         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36662         when compiling wprintf.
36663         * stdio-common/tstdiomisc.c (t3): New function.
36664         (main): Call it.
36666 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36668         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36669         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36670         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36671         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36673 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36675         * stdlib/longlong.h: Updated from GCC.
36677 2014-05-01  Will Newton  <will.newton@linaro.org>
36678             Bernard Ogden  <bernie.ogden@linaro.org>
36680         * NEWS: Update fixed bug list.
36682         [BZ #15119]
36683         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36685 2014-04-30  David S. Miller  <davem@davemloft.net>
36687         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36688         (libc_feholdexcept_setround_sparc_ctx): New function.
36689         (libc_fesetenv_sparc_ctx): Likewise.
36690         (libc_feupdateenv_sparc_ctx): Likewise.
36691         (libc_feholdsetround_sparc_ctx): Likewise.
36692         (libc_feholdexcept_setround_ctx): Define.
36693         (libc_feholdexcept_setroundf_ctx): Likewise.
36694         (libc_feholdexcept_setroundl_ctx): Likewise.
36695         (libc_fesetenv_ctx): Likewise.
36696         (libc_fesetenvf_ctx): Likewise.
36697         (libc_fesetenvl_ctx): Likewise.
36698         (libc_feupdateenv_ctx): Likewise.
36699         (libc_feupdateenvf_ctx): Likewise.
36700         (libc_feupdateenvl_ctx): Likewise.
36701         (libc_feresetround_ctx): Likewise.
36702         (libc_feresetroundf_ctx): Likewise.
36703         (libc_feresetroundl_ctx): Likewise.
36704         (libc_feholdsetround_ctx): Likewise.
36705         (libc_feholdsetroundf_ctx): Likewise.
36706         (libc_feholdsetroundl_ctx): Likewise.
36708         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36709         with __USE_GNU instead of XOPEN cpp guards.
36711         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36712         0.
36714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36715         with XOPEN cpp guards.
36717 2014-04-30  Julian Brown  <julian@codesourcery.com>
36719         [BZ #16888]
36720         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36721         handling.
36723 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36725         [BZ #9894]
36726         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36727         Change to 2.6.32.
36728         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36729         * sysdeps/unix/sysv/linux/configure: Regenerated.
36730         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36731         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36732         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36733         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36734         * README: Update reference to required Linux kernel version.
36735         * manual/install.texi (Linux): Update reference to required Linux
36736         kernel headers version.
36737         * INSTALL: Regenerated.
36739         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36740         header inclusion.
36741         [POSIX] (limits.h): Likewise.
36742         [POSIX] (math.h): Likewise.
36743         [POSIX] (sys/wait.h): Likewise.
36744         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36745         function.
36746         [POSIX] (stddef.h): Do not allow header inclusion.
36748 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36750         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36752 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36754         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36755         Return immediately after lll_futex_wake.
36757 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36759         [BZ #16791]
36760         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36761         structure.
36762         (datahead_init_pos): Call datahead_init_common early.
36763         (datahead_init_neg): Likewise.
36765         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36766         datahead_init_neg): New functions.
36767         * nscd/aicache.c (addhstaiX): Use them.
36768         * nscd/grpcache.c (cache_addgr): Likewise.
36769         * nscd/hstcache.c (cache_addhst): Likewise.
36770         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36771         * nscd/netgroupcache.c (do_notfound): Likewise.
36772         (addgetnetgrentX): Likewise.
36773         (addinnetgrX): Likewise.
36774         * nscd/pwdcache.c (cache_addpw): Likewise.
36775         * nscd/servicescache.c (cache_addserv): Likewise.
36777 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36778             Atsushi Onoe  <atsushi@onoe.org>
36780         [BZ #14308]
36781         [BZ #12994]
36782         [BZ #13651]
36783         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36784         one response is valid.
36785         * resolv/res_send.c (send_dg): Check for validity of other
36786         response if the current response is a referral.
36788 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36790         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36792 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36794         [BZ #16823]
36795         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36796         Always divide by positive zero when computing -Inf result.
36797         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36798         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36800 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36802         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36803         FPSCR if value do not change.
36804         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36805         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36806         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36807         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36808         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36809         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36810         function.
36812 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36814         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36815         * sysdeps/unix/sysv/linux/hppa: Move directory from
36816         ports/systeps/unix/sysv/linux/hppa.
36817         * README: Update listing for hppa-*-linux-gnu.
36819 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36821         [BZ #16754]
36822         * manual/stdio.texi (Hook functions): Fix types of stream hook
36823         functions.
36824         [BZ #16854]
36825         * socket/sys/socket.h: Fix typo in comment.
36827 2014-04-28  Wilco  <wdijkstr@arm.com>
36829         * sysdeps/arm/fenv_private.h: New file.
36830         * sysdeps/arm/math_private.h: New file.
36831         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36833 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36835         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36836         with __int128_t.
36837         (La_x86_64_retval): Likewise.
36839 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36841         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36842         fpsr if value didn't change.
36843         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36844         to fpcr if value didn't change.
36845         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36846         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36847         fpsr or fpcr if value didn't change.
36848         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36849         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36850         fpcr if value didn't change.
36851         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36852         to fpsr if value didn't change.
36854 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36856         * nptl/tst-sem3.c: Use test-skeleton.c
36857         (main): Rename to do_test.  Use return instead of
36858         exit.
36859         * nptl/tst-sem4.c: Use test-skeleton.c
36860         (main): Rename to do_test.
36862 2014-04-22  David S. Miller  <davem@davemloft.net>
36864         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36865         (struct sigaction): New struct member __glibc_reserved0, change
36866         type of sa_flags to int.
36868 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36870         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36871         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36873 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36875         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36876         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36878 2014-04-22  Will Newton  <will.newton@linaro.org>
36879             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36881         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36882         (__longjmp): Add longjmp and longjmp_target SystemTap
36883         probes.
36884         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36885         (__sigsetjmp): Add setjmp SystemTap probe.
36887 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36889         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36890         match manual order.
36892 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36894         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36896         * sysdeps/powerpc/fpu/fenv_private.h
36897         (libc_feholdexcept_setroundl_ctx): Define to
36898         libc_feholdexcept_setround_ppc_ctx.
36899         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36900         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36901         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36902         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36904 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36906         * sysdeps/aarch64/math-tests.h: New file.
36908 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36910         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36911         New.
36912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36913         Check and set bit_AVX2_Usable.
36914         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36915         macro.
36916         (bit_AVX2): Likewise.
36917         (index_AVX2_Usable): Likewise.
36918         (CPUID_AVX2): Likewise.
36919         (HAS_AVX2): Likewise.
36921 2014-04-17  Will Newton  <will.newton@linaro.org>
36923         * manual/setjmp.texi (System V contexts): Add note that
36924         calling setcontext on a context created by a call to a
36925         signal handler is undefined.  Update text to note that
36926         setcontext from a signal handler is possible but not
36927         recommended.
36929         [BZ #16629]
36930         * stdlib/tst-setcontext.c: Include signal.h.
36931         (main): Check that the signal stack before and
36932         after swapcontext is the same.
36934         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36935         Re-implement to restore registers in user code and avoid
36936         rt_sigreturn system call.
36938 2014-04-17  Wilco  <wdijkstr@arm.com>
36940         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36941         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36942         * math/test-fenv.c: Skip exception trap tests on targets which only
36943         support non-stop mode.
36945 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36946             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36948         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36949         (libc_feholdsetround_aarch64_ctx)
36950         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36951         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36952         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36953         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36954         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36955         (libc_feresetround_noexl_ctx): Define.
36957 2014-04-16  Richard Henderson  <rth@redhat.com>
36959         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36961         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36962         unwind tables.
36964         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36965         const from the non-libc, non-ldso copy.
36967         * sysdeps/alpha/libm-test-ulps: Regenerate.
36969 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36970             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36972         * sysdeps/aarch64/fpu/math_private.h: New file.
36974 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36976         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36978 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36980         [BZ #16275]
36981         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36982         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36984         Intel MPX bound registers before _dl_profile_fixup.
36985         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36986         registers after _dl_profile_fixup.  Save and restore bound
36987         registers bnd0/bnd1 when calling _dl_call_pltexit.
36988         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36989         (LR_BND_OFFSET): Likewise.
36990         (LRV_BND0_OFFSET): Likewise.
36991         (LRV_BND1_OFFSET): Likewise.
36993 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36995         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36996         to...
36997         * sysdeps/mach/hurd/i386/tls.h: ... here.
36998         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36999         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37000         fields.
37002 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37004         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37006 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37010 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37012         [BZ #14770]
37013         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37014         * sysdeps/s390/configure: Regenerate.
37016         [BZ #16824]
37017         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37018         Set round-to-nearest internally to reduce error accumulation.
37020 2014-04-16  Alan Modra  <amodra@gmail.com>
37022         [BZ #16740]
37023         [BZ #16619]
37024         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37025         * math/libm-test.inc (frexp_test_data): Add tests.
37026         * NEWS: Update fixed bug list.
37028 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37030         * benchtests/Makefile: Depend on libraries in build directory.
37031         (bench-math): Separate out math tests.
37032         (bench-pthread): Separate out pthread tests.
37033         (bench): Include math and pthread tests.
37035 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37037         [BZ #16831]
37038         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37039         _dl_debug_initialize.
37041         * configure.ac: Remove SELinux header check.
37042         * configure: Regenerate.
37043         * nscd/selinux.c (perms): Array of const char* to permission names.
37044         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37045         default policy. Call string_to_security_class and string_to_av_perm to
37046         translate strings. Enforce default policy and call avs_has_perm with
37047         results of translated strings.
37049 2014-04-13  David S. Miller  <davem@davemloft.net>
37051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37053 2014-04-12  Allan McRae  <allan@archlinux.org>
37055         [BZ #16838]
37056         * manual/string.texi (Collation Functions): Fix qsort argument
37057         order in example.
37058         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37060 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37062         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37063         Make the test a no-op if there are no exceptions defined.
37065 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37067         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37068         enable-hardcoded-path-in-tests
37070 2014-04-11  Will Newton  <will.newton@linaro.org>
37072         * benchtests/Makefile (extra-objs): Add json-lib.o.
37073         (bench-func): Tidy up JSON output.
37074         * benchtests/bench-skeleton.c: Include json-lib.h.
37075         (main): Use JSON library functions to do output of
37076         benchmark results.
37077         * benchtests/bench-timing-type.c (main): Output the
37078         timing type simply, leaving formatting to the user.
37079         * benchtests/json-lib.c: New file.
37080         * benchtests/json-lib.h: Likewise.
37082 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37084         [BZ #15215]
37085         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37086         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37087         memory barriers.  Add comments.
37088         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37089         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37090         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37091         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37092         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37093         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37095 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37097         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37098         * sysdeps/s390/s390-64/configure.ac: ... this ...
37099         * sysdeps/s390/configure.ac: ... to here.
37100         * sysdeps/s390/s390-32/configure: Delete file.
37101         * sysdeps/s390/s390-64/configure: Delete file.
37102         * sysdeps/s390/configure: Regenerate.
37104 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37106         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37108 2014-04-11  Will Newton  <will.newton@linaro.org>
37110         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37111         to zero if it is not defined elsewhere.  (mtrim): Test
37112         the value of MALLOC_DEBUG with #if rather than #ifdef.
37114 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37116         * benchtests/pthread_once-inputs: New file.
37117         * benchtests/pthread_once-source.c: New file.
37118         * benchtests/README: Update documentation.
37120 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37121             H.J. Lu  <hongjiu.lu@intel.com>
37123         [BZ #16275]
37124         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37125         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37126         * sysdeps/x86_64/configure: Regenerated.
37127         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37128         macro.
37129         (REGISTER_SAVE_RAX): Likewise.
37130         (REGISTER_SAVE_RCX): Likewise.
37131         (REGISTER_SAVE_RDX): Likewise.
37132         (REGISTER_SAVE_RSI): Likewise.
37133         (REGISTER_SAVE_RDI): Likewise.
37134         (REGISTER_SAVE_R8): Likewise.
37135         (REGISTER_SAVE_R9): Likewise.
37136         (REGISTER_SAVE_BND0): Likewise.
37137         (REGISTER_SAVE_BND1): Likewise.
37138         (REGISTER_SAVE_BND2): Likewise.
37139         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37140         bound registers when calling _dl_fixup.
37142 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37144         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37145         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37146         of its definition.
37147         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37148         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37149         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37150         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37151         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37152         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37153         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37155 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37157         [BZ #15514]
37158         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37159         pathconf(_PC_NAME_MAX).
37161 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37163         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37164         Remove macro usage.
37165         (__PTHREAD_SPINS): Move definition to ...
37166         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37167         (__PTHREAD_SPINS): ... here.
37168         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37169         (__PTHREAD_SPIN): Likewise.
37170         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37171         (__PTHREAD_SPIN): Likewise.
37172         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37173         (__PTHREAD_SPIN): Likewise.
37174         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37175         (__PTHREAD_SPIN): Likewise.
37176         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37177         (__PTHREAD_SPIN): Likewise.
37178         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37179         (__PTHREAD_SPIN): Likewise.
37180         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37181         (__PTHREAD_SPIN): Likewise.
37182         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37183         (__PTHREAD_SPIN): Likewise.
37184         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37185         (__PTHREAD_SPIN): Likewise.
37186         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37187         (__PTHREAD_SPIN): Likewise.
37188         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37189         (__PTHREAD_SPIN): Likewise.
37190         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37191         (__PTHREAD_SPIN): Likewise.
37193         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37194         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37195         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37196         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37197         imply folder.
37198         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37199         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37200         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37201         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37202         correct imply path.
37203         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37204         strlen symbol for non multi-arch builds.
37205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37206         missing hidden_def and weak_alias.
37208 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37210         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37212 2014-04-07  Will Newton  <will.newton@linaro.org>
37214         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37215         and contents.  [!_LIBC] Remove #ifndef and contents.
37216         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37217         * string/memccpy.c (__memccpy): Use ANSI prototype.
37218         * string/memfrob.c (memfrob): Likewise.
37219         * string/strcoll.c (STRCOLL): Likewise.
37220         * string/strlen.c (strlen): Likewise.
37221         * string/strtok.c (STRTOK): Likewise.
37222         * string/strcat.c: Remove unused #include of memcopy.h.
37223         (strcat): Use ANSI prototype.
37224         * string/strchr.c: Remove unused #include of memcopy.h.
37225         (strchr): Use ANSI prototype.
37226         * string/strcmp.c: Remove unused #include of memcopy.h.
37227         (strcmp): Use ANSI prototype.
37228         * string/strcpy.c: Remove unused #include of memcopy.h.
37229         (strcpy): Use ANSI prototype.
37231 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37233         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37234         * config.make.in (config-extra-cppflags): Set it from
37235         libc_extra_cppflags.
37236         * configure.ac (libc_extra_cflags): Make it accumulate over
37237         configure fragments.
37238         (libc_extra_cppflags): New flag.
37239         * configure. Regenerate.
37240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37241         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37242         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37245         [BZ #16815]
37246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37247         result for FE_DOWNWARD rounding mode.
37248         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37249         Likewise.
37250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37252 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37254         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37255         in function argument name.
37257 2014-04-03  David Svoboda  <svoboda@cert.org>
37259         [BZ #5666]
37260         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37261         explicitly.
37263 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37265         * elf/dl-unmap-segments.h: New file.
37266         * sysdeps/generic/ldsodefs.h
37267         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37268         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37269         * elf/dl-fptr.c: Likewise.
37270         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37271         * sysdeps/aarch64/tlsdesc.c: Likewise.
37272         * sysdeps/arm/tlsdesc.c: Likewise.
37273         * sysdeps/i386/tlsdesc.c: Likewise.
37274         * sysdeps/tile/dl-runtime.c: Likewise.
37275         * sysdeps/x86_64/tlsdesc.c: Likewise.
37276         * elf/dl-load.h: New file.
37277         * elf/dl-load.c: Include it.
37278         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37279         Macros moved to dl-load.h.
37280         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37281         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37282         Use _dl_unmap_segments in place of __munmap.
37283         Break out segment-mapping loop into ...
37284         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37286 2014-04-03  Will Newton  <will.newton@linaro.org>
37288         * elf/dl-lookup.c (do_lookup_x): Remove comment
37289         referring to nested function and move variable
37290         declarations down to before first use.
37292 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37294         [BZ #16799]
37295         [BZ #16800]
37296         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37297         with 0 numerator.
37298         * math/s_catanf.c (__catanf): Likewise.
37299         * math/s_catanh.c (__catanh): Likewise.
37300         * math/s_catanhf.c (__catanhf): Likewise.
37301         * math/s_catanhl.c (__catanhl): Likewise.
37302         * math/s_catanl.c (__catanl): Likewise.
37303         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37304         by positive zero when computing -Inf result.
37305         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37306         (catanh_test): Likewise.
37307         * sysdeps/i386/fpu/libm-test-ulps: Update.
37308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37310         [BZ #16789]
37311         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37312         instead of using underflowing value in computing result.
37313         * math/s_clog10.c (__clog10): Likewise.
37314         * math/s_clog10f.c (__clog10f): Likewise.
37315         * math/s_clog10l.c (__clog10l): Likewise.
37316         * math/s_clogf.c (__clogf): Likewise.
37317         * math/s_clogl.c (__clogl): Likewise.
37318         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37319         (clog10_test): Likewise.
37320         * sysdeps/i386/fpu/libm-test-ulps: Update.
37321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37323 2014-04-02  Alan Modra  <amodra@gmail.com>
37325         [BZ #16739]
37326         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37327         output when value is near a power of two.  Use int64_t for lx and
37328         remove casts.  Use decimal rather than hex exponent constants.
37329         Don't use long double multiplication when double will suffice.
37330         * math/libm-test.inc (nextafter_test_data): Add tests.
37331         * NEWS: Add 16739 and 16786 to bug list.
37333         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37335         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37337 2014-04-01  Will Newton  <will.newton@linaro.org>
37339         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37340         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37342 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37344         [BZ #13347]
37345         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37346         * nptl/tst-setuid2.c: New file.
37347         * nptl/Makefile (xtests): Add tst-setuid2.
37349 2014-04-01  Alan Modra  <amodra@gmail.com>
37351         [BZ #16786]
37352         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37354 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37356         [BZ #6803]
37357         [BZ #6804]
37358         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37359         set errno as appropriate.
37360         * math/w_scalbf.c (__scalbf): Likewise.
37361         * math/w_scalbl.c (__scalbl): Likewise.
37362         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37363         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37364         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37365         Add more NaN tests.
37367         [BZ #16349]
37368         * math/w_atan2.c: Include <errno.h>.
37369         (__atan2): Set errno for result underflowing to zero.
37370         * math/w_atan2f.c: Include <errno.h>.
37371         (__atan2f): Set errno for result underflowing to zero.
37372         * math/w_atan2l.c: Include <errno.h>.
37373         (__atan2l): Set errno for result underflowing to zero.
37374         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37375         tests.
37376         * math/auto-libm-test-out: Regenerated.
37378 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37380         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37381         Encode instruction correctly in little endian.
37382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37383         Likewise.
37384         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37385         Likewise.
37386         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37387         Likewise.
37388         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37389         Likewise.
37391 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37393         [BZ #9894]
37394         * sysdeps/unix/sysv/linux/kernel-features.h
37395         [__sparc__ && !__arch64__ && !__sparc_v9__]
37396         (__ASSUME_SET_ROBUST_LIST): Do not define.
37397         [__sparc__ && !__arch64__ && !__sparc_v9__]
37398         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37399         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37400         Likewise.
37401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37402         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37403         (__ASSUME_REQUEUE_PI): Likewise.
37404         (__ASSUME_SET_ROBUST_LIST): Likewise.
37405         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37406         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37407         Undefine.
37408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37409         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37410         Likewise.
37411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37412         Likewise.
37413         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37414         Likewise.
37415         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37416         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37417         Undefine.
37418         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37419         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37420         Likewise.
37422         [BZ #16648]
37423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37424         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37425         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37427 2014-03-31  Will Newton  <will.newton@linaro.org>
37429         * benchtests/Makefile (bench): Add ffs and ffsll to list
37430         of tests.
37431         * benchtests/ffs-inputs: New file.
37432         * benchtests/ffsll-inputs: Likewise.
37434 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37436         [BZ #16770]
37437         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37438         too large before casting to int.
37439         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37440         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37441         * math/libm-test.inc (scalb_test_data): Add more tests.
37443 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37445         * benchtests/Makefile (DETAILED_OPT): New make option.
37446         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37447         set.
37448         * benchtests/bench-skeleton.c: Include stdbool.h.
37449         (main): Store and print timings per input.
37450         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37451         member to each argument value.
37452         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37453         (_print_arg_data): Initialize per-input timing to 0.
37455         * benchtests/Makefile (timing-type): New binary.
37456         (bench-clean): Also remove bench-timing-type.
37457         (bench): New target for timing-type.
37458         (bench-func): Print output in JSON format.
37459         * benchtests/bench-skeleton.c (main): Print output in JSON
37460         format.
37461         * benchtests/bench-timing-type.c: New file.
37462         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37463         (TIMING_PRINT_STATS): Remove.
37464         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37465         name separately.
37467         * benchtests/bench-modf.c: Remove.
37468         * benchtests/modf-inputs: New inputs file.
37470 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37472         [BZ #16362]
37473         * math/s_clog10.c (M_PI_LOG10E): New macro.
37474         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37475         imaginary parts are 0.
37476         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37477         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37478         imaginary parts are 0.
37479         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37480         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37481         imaginary parts are 0.
37482         * math/libm-test.inc (clog10_test_data): Update expected results
37483         for when real and imaginary parts are 0.
37485 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37487         * elf/dl-load.c: Finish conversion of __builtin_expect into
37488         __glibc_{un}likely.
37490 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37492         [BZ #16348]
37493         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37494         1+x for argument with exponent below -67.
37495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37496         Likewise.
37497         * math/auto-libm-test-in: Add more tests of exp.
37498         * math/auto-libm-test-out: Regenerated.
37500 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37502         [BZ #16759]
37503         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37504         (nscd_getnetgrent): Use it.
37506         [BZ #16760]
37507         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37508         of stpcpy.
37510 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37512         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37513         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37514         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37515         (lll_robust_unlock): Remove out of line section. Use cfi
37516         intrinsics.
37517         (LLL_STUB_UNWIND_INFO*): Remove.
37518         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37519         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37520         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37521         (lll_robust_unlock): Remove out of line section. Use cfi
37522         intrinsics.
37523         (LLL_STUB_UNWIND_INFO*): Remove.
37525 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37527         [BZ #16758]
37528         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37529         blank values.
37531 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37533         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37535 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37537         [BZ #16198]
37538         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37539         fnstenv.
37540         * math/test-fenv-preserve.c: New file.
37541         * math/Makefile (tests): Add test-fenv-preserve.
37543 2014-03-26  Will Newton <will.newton@linaro.org>
37545         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37547 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37549         * scripts/versionlist.awk: Partition the version sets and emit all
37550         GLIBC_* (sorted) before all others (sorted).
37552 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37554         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37555         GLIBC_2.2.5 version.
37557 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37559         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37560         calls.
37562         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37563         previous change.
37565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37567 2014-03-25  Andreas Schwab  <schwab@suse.de>
37569         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37570         label to be used after in6ailist is initialized.
37572 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37574         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37575         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37577 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37579         [BZ #16357]
37580         [BZ #16599]
37581         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37582         min_plus_half.
37583         (fp_formats): Update initializers.
37584         (init_fp_formats): Initialize new field.
37585         (output_for_one_input_case): Allow underflow for results up to
37586         min_plus_half.
37587         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37588         * math/auto-libm-test-in: Don't mark some underflows from asin and
37589         atanh as spurious.
37590         * math/auto-libm-test-out: Regenerated.
37591         * sysdeps/i386/fpu/libm-test-ulps: Update.
37592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37594 2014-03-25  Andreas Schwab  <schwab@suse.de>
37596         * libio/Makefile (tst-ftell-partial-wide-ENV)
37597         (tst-ftell-active-handler-ENV): Define.
37599 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37601         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37603 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37605         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37607 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37609         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37610         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37611         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37613 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37615         [BZ #16634]
37616         * elf/dl-load.c (open_verify): Add mode parameter.
37617         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37618         (open_path): Change from boolean 'secure' to complete flag 'mode'
37619         (_dl_map_object): Adjust.
37620         * elf/Makefile (tests): Add tst-dlopen-aout.
37621         * elf/tst-dlopen-aout.c: New test.
37623 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37625         [BZ #16714]
37626         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37627         (struct stat): Rename member pad0 to __glibc_reserved0.
37629         [BZ #16712]
37630         * sysdeps/s390/s390-32/bits/wordsize.h
37631         (__WORDSIZE32_SIZE_ULONG): New define.
37632         * sysdeps/s390/s390-64/bits/wordsize.h
37633         (__WORDSIZE32_SIZE_ULONG): Likewise.
37634         * sysdeps/generic/stdint.h (SIZE_MAX):
37635         Define as UL if __WORDSIZE32_SIZE_ULONG.
37637         [BZ #16713]
37638         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37639         (__glibc_reserved0): New variable.
37640         (sa_flags): Change type to int.
37642         * posix/Makefile (before-compile): Use += before-compile instead
37643         of a :=.
37645         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37646         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37648 2014-03-20  Andreas Schwab  <schwab@suse.de>
37650         [BZ #16743]
37651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37652         non-matching result from nscd.
37654 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37656         * scripts/bench.py: Moved to ...
37657         * benchtests/scripts/bench.py: ... here.
37658         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37660 2014-03-24  Andreas Schwab  <schwab@suse.de>
37662         [BZ #16002]
37663         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37664         alloca_account and account alloca use for struct in6ailist.
37666 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37668         [BZ #16284]
37669         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37670         rounding mode to recompute results that overflow to infinity or
37671         underflow to zero.
37672         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37673         bug 16284.
37674         * math/auto-libm-test-out: Regenerated.
37675         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37676         (ccosh_test): Likewise.
37677         (csin_test_data): Use plus_oflow.
37678         (csin_test): Use ALL_RM_TEST.
37679         (csinh_test_data): Use plus_oflow.
37680         (csinh_test): Use ALL_RM_TEST.
37681         * sysdeps/i386/fpu/libm-test-ulps: Update.
37682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37684 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37686         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37687         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37688         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37690         [BZ #16731]
37691         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37692         when x - 1 is zero.
37693         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37694         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37695         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37696         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37697         argument is 1.
37698         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37699         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37700         zero.
37701         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37702         * sysdeps/i386/fpu/libm-test-ulps: Update.
37703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37705 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37707         * scripts/bench.pl: Remove file.
37708         * scripts/bench.py: New benchmark script.
37709         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37710         * benchtests/README: Mention python dependency.
37711         * scripts/pylintrc: New file.
37712         * scripts/pylint: New file.
37714         * bits/mathdef.h: Use #ifdef instead of #if.
37715         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37716         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37717         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37718         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37719         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37720         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37722 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37723             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37725         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37727         and strpbrk-ppc64 objects.
37728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37729         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37730         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37731         multiarch strpbrk for POWER7.
37732         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37733         multiarch strpbrk for PPC64.
37734         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37735         ifunc selector.
37736         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37737         strpbrk for POWER7.
37739 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37741         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37742         (atan_test): Likewise.
37743         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37744         (atanh_test): Use ALL_RM_TEST.
37745         (atan2_test_data): Likewise.
37746         (cabs_test): Likewise.
37747         (cacosh_test): Likewise.
37748         (carg_test): Likewise.
37749         (casin_test): Likewise.
37750         (casinh_test): Likewise.
37751         (cbrt_test): Likewise.
37752         (csqrt_test): Likewise.
37753         (erf_test): Likewise.
37754         (erfc_test): Likewise.
37755         (pow10_test): Likewise.
37756         (exp2_test): Likewise.
37757         (hypot_test): Likewise.
37758         (j0_test): Likewise.
37759         (j1_test): Likewise.
37760         (lgamma_test): Likewise.
37761         (gamma_test): Likewise.
37762         (sincos_test): Likewise.
37763         (tanh_test): Likewise.
37764         (y0_test): Likewise.
37765         (y1_test): Likewise.
37766         * sysdeps/i386/fpu/libm-test-ulps: Update.
37767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37769 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37771         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37773         and strcspn-ppc64 objects.
37774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37775         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37776         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37777         multiarch strcspn for POWER7.
37778         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37779         multiarch strcspn for PPC64.
37780         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37781         ifunc selector.
37782         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37783         strcspn for POWER7.
37785 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37787         * math/gen-libm-test.pl (generate_testfile): Expect only function
37788         name as argument to AUTO_TESTS_* and pass results for all rounding
37789         modes to parse_args.
37790         (parse_auto_input): Separate inputs of automatic tests from
37791         outputs before storing in %auto_tests.
37792         * math/libm-test.inc (acos_test_data): Update call to
37793         AUTO_TESTS_f_f.
37794         (acos_test): Use ALL_RM_TEST.
37795         (acos_tonearest_test_data): Remove.
37796         (acos_test_tonearest): Likewise.
37797         (acos_towardzero_test_data): Likewise.
37798         (acos_test_towardzero): Likewise.
37799         (acos_downward_test_data): Likewise.
37800         (acos_test_downward): Likewise.
37801         (acos_upward_test_data): Likewise.
37802         (acos_test_upward): Likewise.
37803         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37804         (asin_test_data): Likewise.
37805         (asin_test): Use ALL_RM_TEST.
37806         (asin_tonearest_test_data): Remove.
37807         (asin_test_tonearest): Likewise.
37808         (asin_towardzero_test_data): Likewise.
37809         (asin_test_towardzero): Likewise.
37810         (asin_downward_test_data): Likewise.
37811         (asin_test_downward): Likewise.
37812         (asin_upward_test_data): Likewise.
37813         (asin_test_upward): Likewise.
37814         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37815         (atan_test_data): Likewise.
37816         (atanh_test_data): Likewise.
37817         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37818         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37819         (carg_test_data): Likewise.
37820         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37821         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37822         (ccosh_test_data): Likewise.
37823         (cexp_test_data): Likewise.
37824         (clog_test_data): Likewise.
37825         (clog10_test_data): Likewise.
37826         (cos_test_data): Update call to AUTO_TESTS_f_f.
37827         (cos_test): Use ALL_RM_TEST.
37828         (cos_tonearest_test_data): Remove.
37829         (cos_test_tonearest): Likewise.
37830         (cos_towardzero_test_data): Likewise.
37831         (cos_test_towardzero): Likewise.
37832         (cos_downward_test_data): Likewise.
37833         (cos_test_downward): Likewise.
37834         (cos_upward_test_data): Likewise.
37835         (cos_test_upward): Likewise.
37836         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37837         (cosh_test): Use ALL_RM_TEST.
37838         (cosh_tonearest_test_data): Remove.
37839         (cosh_test_tonearest): Likewise.
37840         (cosh_towardzero_test_data): Likewise.
37841         (cosh_test_towardzero): Likewise.
37842         (cosh_downward_test_data): Likewise.
37843         (cosh_test_downward): Likewise.
37844         (cosh_upward_test_data): Likewise.
37845         (cosh_test_upward): Likewise.
37846         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37847         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37848         (ctan_test_data): Likewise.
37849         (ctan_test): Use ALL_RM_TEST.
37850         (ctan_tonearest_test_data): Remove.
37851         (ctan_test_tonearest): Likewise.
37852         (ctan_towardzero_test_data): Likewise.
37853         (ctan_test_towardzero): Likewise.
37854         (ctan_downward_test_data): Likewise.
37855         (ctan_test_downward): Likewise.
37856         (ctan_upward_test_data): Likewise.
37857         (ctan_test_upward): Likewise.
37858         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37859         (ctanh_test): Use ALL_RM_TEST.
37860         (ctanh_tonearest_test_data): Remove.
37861         (ctanh_test_tonearest): Likewise.
37862         (ctanh_towardzero_test_data): Likewise.
37863         (ctanh_test_towardzero): Likewise.
37864         (ctanh_downward_test_data): Likewise.
37865         (ctanh_test_downward): Likewise.
37866         (ctanh_upward_test_data): Likewise.
37867         (ctanh_test_upward): Likewise.
37868         (erf_test_data): Update call to AUTO_TESTS_f_f.
37869         (erfc_test_data): Likewise.
37870         (exp_test_data): Likewise.
37871         (exp_test): Use ALL_RM_TEST.
37872         (exp_tonearest_test_data): Remove.
37873         (exp_test_tonearest): Likewise.
37874         (exp_towardzero_test_data): Likewise.
37875         (exp_test_towardzero): Likewise.
37876         (exp_downward_test_data): Likewise.
37877         (exp_test_downward): Likewise.
37878         (exp_upward_test_data): Likewise.
37879         (exp_test_upward): Likewise.
37880         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37881         (exp10_test): Use ALL_RM_TEST.
37882         (exp10_tonearest_test_data): Remove.
37883         (exp10_test_tonearest): Likewise.
37884         (exp10_towardzero_test_data): Likewise.
37885         (exp10_test_towardzero): Likewise.
37886         (exp10_downward_test_data): Likewise.
37887         (exp10_test_downward): Likewise.
37888         (exp10_upward_test_data): Likewise.
37889         (exp10_test_upward): Likewise.
37890         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37891         (expm1_test_data): Likewise.
37892         (expm1_test): Use ALL_RM_TEST.
37893         (expm1_tonearest_test_data): Remove.
37894         (expm1_test_tonearest): Likewise.
37895         (expm1_towardzero_test_data): Likewise.
37896         (expm1_test_towardzero): Likewise.
37897         (expm1_downward_test_data): Likewise.
37898         (expm1_test_downward): Likewise.
37899         (expm1_upward_test_data): Likewise.
37900         (expm1_test_upward): Likewise.
37901         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37902         (fma_test): Use ALL_RM_TEST.
37903         (fma_towardzero_test_data): Remove.
37904         (fma_test_towardzero): Likewise.
37905         (fma_downward_test_data): Likewise.
37906         (fma_test_downward): Likewise.
37907         (fma_upward_test_data): Likewise.
37908         (fma_test_upward): Likewise.
37909         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37910         (j0_test_data): Update call to AUTO_TESTS_f_f.
37911         (j1_test_data): Likewise.
37912         (jn_test_data): Update call to AUTO_TESTS_if_f.
37913         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37914         (log_test_data): Update call to AUTO_TESTS_f_f.
37915         (log10_test_data): Likewise.
37916         (log1p_test_data): Likewise.
37917         (log2_test_data): Likewise.
37918         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37919         (pow_tonearest_test_data): Likewise.
37920         (sin_test_data): Update call to AUTO_TESTS_f_f.
37921         (sin_test): Use ALL_RM_TEST.
37922         (sin_tonearest_test_data): Remove.
37923         (sin_test_tonearest): Likewise.
37924         (sin_towardzero_test_data): Likewise.
37925         (sin_test_towardzero): Likewise.
37926         (sin_downward_test_data): Likewise.
37927         (sin_test_downward): Likewise.
37928         (sin_upward_test_data): Likewise.
37929         (sin_test_upward): Likewise.
37930         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37931         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37932         (sinh_test): Use ALL_RM_TEST.
37933         (sinh_tonearest_test_data): Remove.
37934         (sinh_test_tonearest): Likewise.
37935         (sinh_towardzero_test_data): Likewise.
37936         (sinh_test_towardzero): Likewise.
37937         (sinh_downward_test_data): Likewise.
37938         (sinh_test_downward): Likewise.
37939         (sinh_upward_test_data): Likewise.
37940         (sinh_test_upward): Likewise.
37941         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37942         (sqrt_test): Use ALL_RM_TEST.
37943         (sqrt_tonearest_test_data): Remove.
37944         (sqrt_test_tonearest): Likewise.
37945         (sqrt_towardzero_test_data): Likewise.
37946         (sqrt_test_towardzero): Likewise.
37947         (sqrt_downward_test_data): Likewise.
37948         (sqrt_test_downward): Likewise.
37949         (sqrt_upward_test_data): Likewise.
37950         (sqrt_test_upward): Likewise.
37951         (tan_test_data): Update call to AUTO_TESTS_f_f.
37952         (tan_test): Use ALL_RM_TEST.
37953         (tan_tonearest_test_data): Remove.
37954         (tan_test_tonearest): Likewise.
37955         (tan_towardzero_test_data): Likewise.
37956         (tan_test_towardzero): Likewise.
37957         (tan_downward_test_data): Likewise.
37958         (tan_test_downward): Likewise.
37959         (tan_upward_test_data): Likewise.
37960         (tan_test_upward): Likewise.
37961         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37962         (tgamma_test_data): Likewise.
37963         (y0_test_data): Likewise.
37964         (y1_test_data): Likewise.
37965         (yn_test_data): Update call to AUTO_TESTS_if_f.
37966         (main): Do not call removed functions.
37968 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37970         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37971         (ldexp_test_data): Remove.
37972         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37973         scalbn_test_data.
37974         (scalb_test): Use ALL_RM_TEST.
37976 2014-03-19  Andreas Schwab  <schwab@suse.de>
37978         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37980 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37982         [BZ #16649]
37983         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37984         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37985         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37986         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37987         (__ASSUME_PREADV): Undefine.
37988         (__ASSUME_PWRITEV): Likewise.
37990 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37992         * bits/mman-linux.h: Add comment about non-Linux use.
37993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37994         bits/mman-linux.h resting place.
37996         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37997         * bits/mman-linux.h: ... here.
37999 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38001         * conform/conformtest.pl: Add standard definition when calling C
38002         preprocessor on data files.
38003         (checknamespace): Remove unused variable.
38005 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38007         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38008         minus_oflow, plus_uflow and minus_uflow in expected results.
38009         * math/libm-test.inc (scalbn_test_data): Add more tests of
38010         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38011         minus_uflow.
38012         (scalbn_test): Use ALL_RM_TEST.
38013         (scalbln_test_data): Add more tests of negative arguments.  Use
38014         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38015         (scalbln_test): Use ALL_RM_TEST.
38017 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38019         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38021 2014-03-18  Will Newton  <will.newton@linaro.org>
38023         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38024         inaccurate comment.
38026 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38028         * Makerules [!subdir] (check-abi): Exit with error status if a
38029         test failed.
38031 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38033         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38034         for rint.  Include results for all rounding modes.
38035         (nearbyint_test): Use ALL_RM_TEST.
38036         (rint_test_data): Include all tests used for nearbyint.
38038 2014-03-17  Will Newton  <will.newton@linaro.org>
38040         * nptl/sysdeps/pthread/pthread.h: Revert previous
38041         change.
38043         * sysdeps/generic/ldsodefs.h: Revert previous
38044         change.
38046         * libio/genops.c: Revert previous change.
38047         * libio/libioP.h: Likewise.
38048         * stdio-common/vfprintf.c: Likewise.
38050         * sysdeps/generic/math_private.h: Revert previous
38051         change.
38053         * sysdeps/generic/math_private.h: Check whether
38054         HAVE_RM_CTX is defined with #ifdef rather
38055         than #if.
38057         * argp/argp-fmtstream.h: Check whether
38058         __STRICT_ANSI__ is defined with #ifdef rather
38059         than #if.
38060         * argp/argp.h: Likewise.
38062         * libio/genops.c: Check whether
38063         _IO_JUMPS_OFFSET is defined with #ifdef rather
38064         than #if.
38065         * libio/libioP.h: Likewise.
38066         * stdio-common/vfprintf.c: Likewise.
38068         * sysdeps/generic/ldsodefs.h: Check whether
38069         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38070         than #if.
38072         * nptl/sysdeps/pthread/pthread.h: Check
38073         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38074         its value.
38076 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38078         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38079         setting O_APPEND.
38080         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38081         test case.
38083         [BZ #16680]
38084         * libio/fileops.c (_IO_file_open): Seek to end of file but
38085         don't cache the offset.
38086         (get_file_offset): Remove function.
38087         (do_ftell): Use cached offset when available.
38088         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38089         don't cache the offset.
38090         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38091         case.
38092         (do_one_test): Call it.
38093         (do_ftell_test): Fix up expected old offset for a+ mode.
38094         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38095         available.
38097         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38098         up test status with function return status.
38099         (do_write_test): Likewise.
38100         (do_append_test): Likewise.
38102         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38103         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38104         Remove.
38106 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38108         * math/gen-libm-test.pl (parse_args): Handle results specified for
38109         each rounding mode separately.
38110         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38111         tests and results from lrint_tonearest_test_data,
38112         lrint_towardzero_test_data, lrint_downward_test_data and
38113         lrint_upward_test_data.
38114         (lrint_test): Use ALL_RM_TEST.
38115         (lrint_tonearest_test_data): Remove.
38116         (lrint_test_tonearest): Likewise.
38117         (lrint_towardzero_test_data): Likewise.
38118         (lrint_test_towardzero): Likewise.
38119         (lrint_downward_test_data): Likewise.
38120         (lrint_test_downward): Likewise.
38121         (lrint_upward_test_data): Likewise.
38122         (lrint_test_upward): Likewise.
38123         (llrint_test_data): Merge in per-rounding-mode tests and results
38124         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38125         llrint_downward_test_data and llrint_upward_test_data.
38126         (llrint_test): Use ALL_RM_TEST.
38127         (llrint_tonearest_test_data): Remove.
38128         (llrint_test_tonearest): Likewise.
38129         (llrint_towardzero_test_data): Likewise.
38130         (llrint_test_towardzero): Likewise.
38131         (llrint_downward_test_data): Likewise.
38132         (llrint_test_downward): Likewise.
38133         (llrint_upward_test_data): Likewise.
38134         (llrint_test_upward): Likewise.
38135         (rint_test_data): Merge in per-rounding-mode tests and results
38136         from rint_tonearest_test_data, rint_towardzero_test_data,
38137         rint_downward_test_data and rint_upward_test_data.  Add
38138         per-rounding-mode results for tests not in those arrays.
38139         (rint_test): Use ALL_RM_TEST.
38140         (rint_tonearest_test_data): Remove.
38141         (rint_test_tonearest): Likewise.
38142         (rint_towardzero_test_data): Likewise.
38143         (rint_test_towardzero): Likewise.
38144         (rint_downward_test_data): Likewise.
38145         (rint_test_downward): Likewise.
38146         (rint_upward_test_data): Likewise.
38147         (rint_test_upward): Likewise.
38148         (main): Don't call removed functions.
38150 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38152         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38153         "Compiled on ..." crapola.  It is anti-useful.
38155 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38157         * scripts/evaluate-test.sh: Handle fourth argument to determine
38158         whether test run should stop on failure.
38159         * Makeconfig (stop-on-test-failure): New variable.
38160         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38161         $(stop-on-test-failure).
38162         * Makefile (tests): Give a summary of results from testing and
38163         exit with failure status if they include an ERROR or FAIL.
38164         (xtests): Likewise.
38165         * manual/install.texi (Configuring and compiling): Mention
38166         stop-on-test-failure=y.
38167         * INSTALL: Regenerated.
38169 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38171         * scripts/versionlist.awk: New file.
38172         * Makerules [$(build-shared) = yes]
38173         (postclean-generated): Add Versions.def, not Versions.def.v and
38174         Versions.def.v.i.
38175         ($(common-objpfx)Versions.def.v.i): Target removed.
38176         ($(common-objpfx)Versions.def): New target.
38177         ($(common-objpfx)Versions.all): Depend on that rather that
38178         $(common-objpfx)Versions.def.v.
38179         * Versions.def: File removed.
38181         * Makeconfig (+gccwarn): Add -Wundef.
38182         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38183         a dl-sysdep.h breaking its contract.
38184         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38185         * include/stackinfo.h: New file.
38186         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38187         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38188         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38189         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38190         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38191         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38192         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38193         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38194         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38195         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38196         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38197         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38198         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38199         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38200         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38202 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38204         [BZ #16707]
38205         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38206         implementation.
38207         * math/libm-test.inc (round_test_data): Add more tests.
38209         [BZ #16706]
38210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38211         implementation.
38212         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38214         [BZ #16701]
38215         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38216         implementation.
38217         * math/libm-test.inc (ceil_test_data): Add more tests.
38219         * math/libm-test.inc (trunc_test_data): Add more tests related to
38220         BZ#16414.
38222 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38224         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38225         with #if rather than #ifdef.
38226         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38228 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38230         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38231         first.  Disable AVX-512 GCC support if assembler doesn't support
38232         it.
38233         * sysdeps/x86_64/configure: Regenerated.
38235 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38237         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38238         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38239         (__old_pthread_attr_setstack): Likewise.
38240         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38241         [!_STACK_GROWS_DOWN]: Likewise.
38243 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38245         * config.make.in (have-bash2): Delete.
38246         * configure.ac (libc_cv_have_bash2): Delete.
38247         * configure: Regenerate.
38248         * elf/Makefile (common-ldd-rewrite): Rename to ...
38249         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38250         (sh-ldd-rewrite): Delete.
38251         (bash-ldd-rewrite): Delete.
38252         (have-bash2): Delete checks.
38253         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38254         ldd-rewrite.
38256         * config.make.in (have-ksh): Delete.
38257         (KSH): Delete.
38258         * configure.ac (libc_cv_have_ksh): Delete.
38259         * configure: Regenerate.
38261         * elf/Makefile: Delete $(have-ksh) check.
38262         ($(objpfx)sotruss): Change KSH to BASH.
38263         * elf/sotruss.ksh: Rename to ...
38264         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38265         function style to match POSIX.  Drop ksh vim mode setting.
38267         * manual/time.texi (Specifying the Time Zone with TZ): Change
38268         Tuesday to Thursday.
38270         * debug/tst-longjmp_chk2.c: Update header comment.
38271         (stackoverflow_handler): Add comment.  Call assert on pass value.
38273 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38275         [BZ #16194]
38276         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38277         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38278         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38279         (La_x86_64_vector): Add zmm.
38280         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38281         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38282         ($(objpfx)tst-audit10): New target.
38283         ($(objpfx)tst-audit10.out): Likewise.
38284         (tst-audit10-ENV): New.
38285         (AVX512-CFLAGS): Likewise.
38286         (CFLAGS-tst-audit10.c): Likewise.
38287         (CFLAGS-tst-auditmod10a.c): Likewise.
38288         (CFLAGS-tst-auditmod10b.c): Likewise.
38289         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38290         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38291         * sysdeps/x86_64/configure: Regenerated.
38292         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38293         AVX-512 zmm register support.
38294         (_dl_x86_64_save_sse): Likewise.
38295         (_dl_x86_64_restore_sse): Likewise.
38296         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38297         size vector registers.
38298         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38299         (ZMM_SIZE): Likewise.
38300         * sysdeps/x86_64/tst-audit10.c: New file.
38301         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38302         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38304 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38306         * configure.ac (HAVE_EHDR_START): New check.
38307         * configure: Regenerated.
38308         * config.h.in (HAVE_EHDR_START): New #undef.
38309         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38310         assuming the lowest-addressed segment maps the start of the file.
38312 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38314         * INSTALL: Regenerated.
38316 2014-03-13  Will Newton  <will.newton@linaro.org>
38318         * manual/setjmp.texi (System V contexts): Improve
38319         clarity and grammar of documentation.
38321 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38323         [BZ #16381]
38324         * elf/Makefile (tests): Add tst-pie2.
38325         (tests-pie): Add tst-pie2.
38326         * elf/tst-pie2.c: New file.
38327         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38328         for ET_EXEC.
38329         * elf/rtld.c (map_doit): Load executable as lt_executable.
38330         (dl_main): Likewise.
38332 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38334         [BZ #16642]
38335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38336         (__ASSUME_PSELECT): Undefine.
38338 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38340         [BZ #16689]
38341         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38342         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38343         static build.
38344         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38345         selector for static builds.
38347 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38349         [BZ #16695]
38350         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38351         key in the buffer.
38353 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38355         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38356         IFUNC selector for static builds.
38358 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38360         * sysdeps/mips/math_private.h [__mips_hard_float]
38361         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38362         libc_feresetround_mips_ctx.
38363         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38364         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38365         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38367         [BZ #16677]
38368         * math/s_nextafter.c (__nextafter): Do not return value from
38369         overflowing computation.
38370         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38371         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38372         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38373         Likewise.
38374         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38375         Likewise.
38376         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38377         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38379 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38381         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38382         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38383         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38384         the new mov targetting sp.
38386 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38388         [BZ #16683]
38389         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38390         Define it for static builds as well.
38391         (NO_BZERO_IMPL): Likewise.
38393 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38395         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38396         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38397         multiarch strspn for PPC64.
38398         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38399         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38401         (__libc_ifunc_impl_list): Likewise.
38402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38403         multiarch optimizations
38404         * string/strspn.c (strspn): Using macro to redefine symbol name.
38406 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38409         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38410         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38411         multiarch strncat for PPC64.
38412         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38413         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38415         (__libc_ifunc_impl_list): Likewise.
38416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38417         multiarch optimizations
38419 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38421         [BZ #16639]
38422         * nscd/nscd.service: Make service type forking.
38424 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38426         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38427         sign in non default rounding modes.
38428         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38430 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38432         * math/libm-test.inc (ALL_RM_TEST): New macro.
38433         (ceil_test): Use ALL_RM_TEST.
38434         (cimag_test): Likewise.
38435         (conj_test): Likewise.
38436         (copysign_test): Likewise.
38437         (cproj_test): Likewise.
38438         (creal_test): Likewise.
38439         (fabs_test): Likewise.
38440         (floor_test): Likewise.
38441         (fmax_test): Likewise.
38442         (fmin_test): Likewise.
38443         (fmod_test): Likewise.
38444         (fpclassify_test): Likewise.
38445         (frexp_test): Likewise.
38446         (ilogb_test): Likewise.
38447         (isfinite_test): Likewise.
38448         (finite_test): Likewise.
38449         (isgreater_test): Likewise.
38450         (isgreaterequal_test): Likewise.
38451         (isinf_test): Likewise.
38452         (isless_test): Likewise.
38453         (islessequal_test): Likewise.
38454         (islessgreater_test): Likewise.
38455         (isnan_test): Likewise.
38456         (isnormal_test): Likewise.
38457         (issignaling_test): Likewise.
38458         (isunordered_test): Likewise.
38459         (logb_test): Likewise.
38460         (logb_downward_test_data): Remove.
38461         (logb_test_downward): Likewise.
38462         (lround_test): Use ALL_RM_TEST.
38463         (llround_test): Likewise.
38464         (modf_test): Likewise.
38465         (nexttoward_test): Likewise.
38466         (remainder_test): Likewise.
38467         (drem_test): Likewise.
38468         (remainder_tonearest_test_data): Likewise.
38469         (remainder_test_tonearest): Likewise.
38470         (drem_test_tonearest): Likewise.
38471         (remainder_towardzero_test_data): Likewise.
38472         (remainder_test_towardzero): Likewise.
38473         (drem_test_towardzero): Likewise.
38474         (remainder_downward_test_data): Likewise.
38475         (remainder_test_downward): Likewise.
38476         (drem_test_downward): Likewise.
38477         (remainder_upward_test_data): Likewise.
38478         (remainder_test_upward): Likewise.
38479         (drem_test_upward): Likewise.
38480         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38481         (round_test): Use ALL_RM_TEST.
38482         (signbit_test): Likewise.
38483         (trunc_test): Likewise.
38484         (significand_test): Likewise.
38485         (main): Don't call removed functions.
38487 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38489         [BZ #16674]
38490         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38491         || __USE_XOPEN2K8].
38492         (ILL_ILLOPN): Likewise.
38493         (ILL_ILLADR): Likewise.
38494         (ILL_ILLTRP): Likewise.
38495         (ILL_PRVOPC): Likewise.
38496         (ILL_PRVREG): Likewise.
38497         (ILL_COPROC): Likewise.
38498         (ILL_BADSTK): Likewise.
38499         (FPE_INTDIV): Likewise.
38500         (FPE_INTOVF): Likewise.
38501         (FPE_FLTDIV): Likewise.
38502         (FPE_FLTOVF): Likewise.
38503         (FPE_FLTUND): Likewise.
38504         (FPE_FLTRES): Likewise.
38505         (FPE_FLTINV): Likewise.
38506         (FPE_FLTSUB): Likewise.
38507         (SEGV_MAPERR): Likewise.
38508         (SEGV_ACCERR): Likewise.
38509         (BUS_ADRALN): Likewise.
38510         (BUS_ADRERR): Likewise.
38511         (BUS_OBJERR): Likewise.
38512         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38513         (TRAP_TRACE): Likewise.
38514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38515         __USE_XOPEN2K8].
38516         (CLD_KILLED): Likewise.
38517         (CLD_DUMPED): Likewise.
38518         (CLD_TRAPPED): Likewise.
38519         (CLD_STOPPED): Likewise.
38520         (CLD_CONTINUED): Likewise.
38521         (POLL_IN): Likewise.
38522         (POLL_OUT): Likewise.
38523         (POLL_MSG): Likewise.
38524         (POLL_ERR): Likewise.
38525         (POLL_PRI): Likewise.
38526         (POLL_HUP): Likewise.
38527         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38528         Likewise.
38529         (ILL_ILLOPN): Likewise.
38530         (ILL_ILLADR): Likewise.
38531         (ILL_ILLTRP): Likewise.
38532         (ILL_PRVOPC): Likewise.
38533         (ILL_PRVREG): Likewise.
38534         (ILL_COPROC): Likewise.
38535         (ILL_BADSTK): Likewise.
38536         (FPE_INTDIV): Likewise.
38537         (FPE_INTOVF): Likewise.
38538         (FPE_FLTDIV): Likewise.
38539         (FPE_FLTOVF): Likewise.
38540         (FPE_FLTUND): Likewise.
38541         (FPE_FLTRES): Likewise.
38542         (FPE_FLTINV): Likewise.
38543         (FPE_FLTSUB): Likewise.
38544         (SEGV_MAPERR): Likewise.
38545         (SEGV_ACCERR): Likewise.
38546         (BUS_ADRALN): Likewise.
38547         (BUS_ADRERR): Likewise.
38548         (BUS_OBJERR): Likewise.
38549         (BUS_MCEERR_AR): Likewise.
38550         (BUS_MCEERR_AO): Likewise.
38551         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38552         (TRAP_TRACE): Likewise.
38553         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38554         __USE_XOPEN2K8].
38555         (CLD_KILLED): Likewise.
38556         (CLD_DUMPED): Likewise.
38557         (CLD_TRAPPED): Likewise.
38558         (CLD_STOPPED): Likewise.
38559         (CLD_CONTINUED): Likewise.
38560         (POLL_IN): Likewise.
38561         (POLL_OUT): Likewise.
38562         (POLL_MSG): Likewise.
38563         (POLL_ERR): Likewise.
38564         (POLL_PRI): Likewise.
38565         (POLL_HUP): Likewise.
38566         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38567         (ILL_ILLOPN): Likewise.
38568         (ILL_ILLADR): Likewise.
38569         (ILL_ILLTRP): Likewise.
38570         (ILL_PRVOPC): Likewise.
38571         (ILL_PRVREG): Likewise.
38572         (ILL_COPROC): Likewise.
38573         (ILL_BADSTK): Likewise.
38574         (FPE_INTDIV): Likewise.
38575         (FPE_INTOVF): Likewise.
38576         (FPE_FLTDIV): Likewise.
38577         (FPE_FLTOVF): Likewise.
38578         (FPE_FLTUND): Likewise.
38579         (FPE_FLTRES): Likewise.
38580         (FPE_FLTINV): Likewise.
38581         (FPE_FLTSUB): Likewise.
38582         (SEGV_MAPERR): Likewise.
38583         (SEGV_ACCERR): Likewise.
38584         (BUS_ADRALN): Likewise.
38585         (BUS_ADRERR): Likewise.
38586         (BUS_OBJERR): Likewise.
38587         (BUS_MCEERR_AR): Likewise.
38588         (BUS_MCEERR_AO): Likewise.
38589         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38590         (TRAP_TRACE): Likewise.
38591         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38592         __USE_XOPEN2K8].
38593         (CLD_KILLED): Likewise.
38594         (CLD_DUMPED): Likewise.
38595         (CLD_TRAPPED): Likewise.
38596         (CLD_STOPPED): Likewise.
38597         (CLD_CONTINUED): Likewise.
38598         (POLL_IN): Likewise.
38599         (POLL_OUT): Likewise.
38600         (POLL_MSG): Likewise.
38601         (POLL_ERR): Likewise.
38602         (POLL_PRI): Likewise.
38603         (POLL_HUP): Likewise.
38604         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38605         Likewise.
38606         (ILL_ILLOPN): Likewise.
38607         (ILL_ILLADR): Likewise.
38608         (ILL_ILLTRP): Likewise.
38609         (ILL_PRVOPC): Likewise.
38610         (ILL_PRVREG): Likewise.
38611         (ILL_COPROC): Likewise.
38612         (ILL_BADSTK): Likewise.
38613         (ILL_BADIADDR): Likewise.
38614         (ILL_BREAK): Likewise.
38615         (FPE_INTDIV): Likewise.
38616         (FPE_INTOVF): Likewise.
38617         (FPE_FLTDIV): Likewise.
38618         (FPE_FLTOVF): Likewise.
38619         (FPE_FLTUND): Likewise.
38620         (FPE_FLTRES): Likewise.
38621         (FPE_FLTINV): Likewise.
38622         (FPE_FLTSUB): Likewise.
38623         (FPE_DECOVF): Likewise.
38624         (FPE_DECDIV): Likewise.
38625         (FPE_DECERR): Likewise.
38626         (FPE_INVASC): Likewise.
38627         (FPE_INVDEC): Likewise.
38628         (SEGV_MAPERR): Likewise.
38629         (SEGV_ACCERR): Likewise.
38630         (SEGV_PSTKOVF): Likewise.
38631         (BUS_ADRALN): Likewise.
38632         (BUS_ADRERR): Likewise.
38633         (BUS_OBJERR): Likewise.
38634         (BUS_MCEERR_AR): Likewise.
38635         (BUS_MCEERR_AO): Likewise.
38636         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38637         (TRAP_TRACE): Likewise.
38638         (TRAP_BRANCH): Likewise.
38639         (TRAP_HWBKPT): Likewise.
38640         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38641         __USE_XOPEN2K8].
38642         (CLD_KILLED): Likewise.
38643         (CLD_DUMPED): Likewise.
38644         (CLD_TRAPPED): Likewise.
38645         (CLD_STOPPED): Likewise.
38646         (CLD_CONTINUED): Likewise.
38647         (POLL_IN): Likewise.
38648         (POLL_OUT): Likewise.
38649         (POLL_MSG): Likewise.
38650         (POLL_ERR): Likewise.
38651         (POLL_PRI): Likewise.
38652         (POLL_HUP): Likewise.
38653         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38654         (ILL_ILLOPN): Likewise.
38655         (ILL_ILLADR): Likewise.
38656         (ILL_ILLTRP): Likewise.
38657         (ILL_PRVOPC): Likewise.
38658         (ILL_PRVREG): Likewise.
38659         (ILL_COPROC): Likewise.
38660         (ILL_BADSTK): Likewise.
38661         (FPE_INTDIV): Likewise.
38662         (FPE_INTOVF): Likewise.
38663         (FPE_FLTDIV): Likewise.
38664         (FPE_FLTOVF): Likewise.
38665         (FPE_FLTUND): Likewise.
38666         (FPE_FLTRES): Likewise.
38667         (FPE_FLTINV): Likewise.
38668         (FPE_FLTSUB): Likewise.
38669         (SEGV_MAPERR): Likewise.
38670         (SEGV_ACCERR): Likewise.
38671         (BUS_ADRALN): Likewise.
38672         (BUS_ADRERR): Likewise.
38673         (BUS_OBJERR): Likewise.
38674         (BUS_MCEERR_AR): Likewise.
38675         (BUS_MCEERR_AO): Likewise.
38676         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38677         (TRAP_TRACE): Likewise.
38678         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38679         __USE_XOPEN2K8].
38680         (CLD_KILLED): Likewise.
38681         (CLD_DUMPED): Likewise.
38682         (CLD_TRAPPED): Likewise.
38683         (CLD_STOPPED): Likewise.
38684         (CLD_CONTINUED): Likewise.
38685         (POLL_IN): Likewise.
38686         (POLL_OUT): Likewise.
38687         (POLL_MSG): Likewise.
38688         (POLL_ERR): Likewise.
38689         (POLL_PRI): Likewise.
38690         (POLL_HUP): Likewise.
38691         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38692         (ILL_ILLOPN): Likewise.
38693         (ILL_ILLADR): Likewise.
38694         (ILL_ILLTRP): Likewise.
38695         (ILL_PRVOPC): Likewise.
38696         (ILL_PRVREG): Likewise.
38697         (ILL_COPROC): Likewise.
38698         (ILL_BADSTK): Likewise.
38699         (FPE_INTDIV): Likewise.
38700         (FPE_INTOVF): Likewise.
38701         (FPE_FLTDIV): Likewise.
38702         (FPE_FLTOVF): Likewise.
38703         (FPE_FLTUND): Likewise.
38704         (FPE_FLTRES): Likewise.
38705         (FPE_FLTINV): Likewise.
38706         (FPE_FLTSUB): Likewise.
38707         (SEGV_MAPERR): Likewise.
38708         (SEGV_ACCERR): Likewise.
38709         (BUS_ADRALN): Likewise.
38710         (BUS_ADRERR): Likewise.
38711         (BUS_OBJERR): Likewise.
38712         (BUS_MCEERR_AR): Likewise.
38713         (BUS_MCEERR_AO): Likewise.
38714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38715         (TRAP_TRACE): Likewise.
38716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38717         __USE_XOPEN2K8].
38718         (CLD_KILLED): Likewise.
38719         (CLD_DUMPED): Likewise.
38720         (CLD_TRAPPED): Likewise.
38721         (CLD_STOPPED): Likewise.
38722         (CLD_CONTINUED): Likewise.
38723         (POLL_IN): Likewise.
38724         (POLL_OUT): Likewise.
38725         (POLL_MSG): Likewise.
38726         (POLL_ERR): Likewise.
38727         (POLL_PRI): Likewise.
38728         (POLL_HUP): Likewise.
38729         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38730         (ILL_ILLOPN): Likewise.
38731         (ILL_ILLADR): Likewise.
38732         (ILL_ILLTRP): Likewise.
38733         (ILL_PRVOPC): Likewise.
38734         (ILL_PRVREG): Likewise.
38735         (ILL_COPROC): Likewise.
38736         (ILL_BADSTK): Likewise.
38737         (FPE_INTDIV): Likewise.
38738         (FPE_INTOVF): Likewise.
38739         (FPE_FLTDIV): Likewise.
38740         (FPE_FLTOVF): Likewise.
38741         (FPE_FLTUND): Likewise.
38742         (FPE_FLTRES): Likewise.
38743         (FPE_FLTINV): Likewise.
38744         (FPE_FLTSUB): Likewise.
38745         (SEGV_MAPERR): Likewise.
38746         (SEGV_ACCERR): Likewise.
38747         (BUS_ADRALN): Likewise.
38748         (BUS_ADRERR): Likewise.
38749         (BUS_OBJERR): Likewise.
38750         (BUS_MCEERR_AR): Likewise.
38751         (BUS_MCEERR_AO): Likewise.
38752         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38753         (TRAP_TRACE): Likewise.
38754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38755         __USE_XOPEN2K8].
38756         (CLD_KILLED): Likewise.
38757         (CLD_DUMPED): Likewise.
38758         (CLD_TRAPPED): Likewise.
38759         (CLD_STOPPED): Likewise.
38760         (CLD_CONTINUED): Likewise.
38761         (POLL_IN): Likewise.
38762         (POLL_OUT): Likewise.
38763         (POLL_MSG): Likewise.
38764         (POLL_ERR): Likewise.
38765         (POLL_PRI): Likewise.
38766         (POLL_HUP): Likewise.
38767         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38768         (ILL_ILLOPN): Likewise.
38769         (ILL_ILLADR): Likewise.
38770         (ILL_ILLTRP): Likewise.
38771         (ILL_PRVOPC): Likewise.
38772         (ILL_PRVREG): Likewise.
38773         (ILL_COPROC): Likewise.
38774         (ILL_BADSTK): Likewise.
38775         (ILL_DBLFLT): Likewise.
38776         (ILL_HARDWALL): Likewise.
38777         (FPE_INTDIV): Likewise.
38778         (FPE_INTOVF): Likewise.
38779         (FPE_FLTDIV): Likewise.
38780         (FPE_FLTOVF): Likewise.
38781         (FPE_FLTUND): Likewise.
38782         (FPE_FLTRES): Likewise.
38783         (FPE_FLTINV): Likewise.
38784         (FPE_FLTSUB): Likewise.
38785         (SEGV_MAPERR): Likewise.
38786         (SEGV_ACCERR): Likewise.
38787         (BUS_ADRALN): Likewise.
38788         (BUS_ADRERR): Likewise.
38789         (BUS_OBJERR): Likewise.
38790         (BUS_MCEERR_AR): Likewise.
38791         (BUS_MCEERR_AO): Likewise.
38792         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38793         (TRAP_TRACE): Likewise.
38794         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38795         __USE_XOPEN2K8].
38796         (CLD_KILLED): Likewise.
38797         (CLD_DUMPED): Likewise.
38798         (CLD_TRAPPED): Likewise.
38799         (CLD_STOPPED): Likewise.
38800         (CLD_CONTINUED): Likewise.
38801         (POLL_IN): Likewise.
38802         (POLL_OUT): Likewise.
38803         (POLL_MSG): Likewise.
38804         (POLL_ERR): Likewise.
38805         (POLL_PRI): Likewise.
38806         (POLL_HUP): Likewise.
38807         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38808         (ILL_ILLOPN): Likewise.
38809         (ILL_ILLADR): Likewise.
38810         (ILL_ILLTRP): Likewise.
38811         (ILL_PRVOPC): Likewise.
38812         (ILL_PRVREG): Likewise.
38813         (ILL_COPROC): Likewise.
38814         (ILL_BADSTK): Likewise.
38815         (FPE_INTDIV): Likewise.
38816         (FPE_INTOVF): Likewise.
38817         (FPE_FLTDIV): Likewise.
38818         (FPE_FLTOVF): Likewise.
38819         (FPE_FLTUND): Likewise.
38820         (FPE_FLTRES): Likewise.
38821         (FPE_FLTINV): Likewise.
38822         (FPE_FLTSUB): Likewise.
38823         (SEGV_MAPERR): Likewise.
38824         (SEGV_ACCERR): Likewise.
38825         (BUS_ADRALN): Likewise.
38826         (BUS_ADRERR): Likewise.
38827         (BUS_OBJERR): Likewise.
38828         (BUS_MCEERR_AR): Likewise.
38829         (BUS_MCEERR_AO): Likewise.
38830         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38831         (TRAP_TRACE): Likewise.
38832         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38833         __USE_XOPEN2K8].
38834         (CLD_KILLED): Likewise.
38835         (CLD_DUMPED): Likewise.
38836         (CLD_TRAPPED): Likewise.
38837         (CLD_STOPPED): Likewise.
38838         (CLD_CONTINUED): Likewise.
38839         (POLL_IN): Likewise.
38840         (POLL_OUT): Likewise.
38841         (POLL_MSG): Likewise.
38842         (POLL_ERR): Likewise.
38843         (POLL_PRI): Likewise.
38844         (POLL_HUP): Likewise.
38845         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38846         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38848         [BZ #16670]
38849         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38850         before #include of <time.h>.
38851         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38852         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38853         (test-xfail-UNIX98/sched.h/conform): Likewise.
38855 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38857         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38858         error absence of trapping exception support.
38859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38861 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38863         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38864         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38865         * timezone/Makefile (testdata): Move definition above include of
38866         Rules.
38867         (test-zones): New variable.
38868         (tests-special): Add zone files.
38869         (build-testdata): Use $(evaluate-test).
38871         * elf/Makefile (tests-special): Rename tests to end with .out.
38872         ($(objpfx)noload-mem): Likewise.
38873         ($(objpfx)tst-leaks1-mem): Likewise.
38874         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38875         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38876         $(objpfx)test-iconvconfig.out.
38877         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38878         set -e inside subshell and redirect output to file.
38879         * iconvdata/Makefile (generated): Rename tests to end with .out.
38880         Correct type.
38881         (tests-special): Rename tests to end with .out.
38882         ($(objpfx)mtrace-tst-loading): Likewise.
38883         * intl/Makefile (generated): Likewise.
38884         (tests-special): Likewise.
38885         ($(objpfx)mtrace-tst-gettext): Likewise.
38886         * misc/Makefile (generated): Likewise.
38887         (tests-special): Likewise.
38888         ($(objpfx)tst-error1-mem): Likewise.
38889         * nptl/Makefile (tests-special): Likewise.
38890         ($(objpfx)tst-stack3-mem): Likewise.
38891         (generated): Likewise.
38892         * posix/Makefile (generated): Likewise.
38893         (tests-special): Likewise.
38894         (xtests-special): Likewise.
38895         ($(objpfx)tst-fnmatch-mem): Likewise.
38896         ($(objpfx)bug-regex2-mem): Likewise.
38897         ($(objpfx)bug-regex14-mem): Likewise.
38898         ($(objpfx)bug-regex21-mem): Likewise.
38899         ($(objpfx)bug-regex31-mem): Likewise.
38900         ($(objpfx)tst-vfork3-mem): Likewise.
38901         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38902         ($(objpfx)tst-pcre-mem): Likewise.
38903         ($(objpfx)tst-boost-mem): Likewise.
38904         ($(objpfx)bug-ga2-mem): Likewise.
38905         ($(objpfx)bug-glob2-mem): Likewise.
38906         * resolv/Makefile (generate): Likewise.
38907         (tests-special): Likewise.
38908         (xtests-special): Likewise.
38909         (generated): Likewise.
38910         ($(objpfx)mtrace-tst-leaks): Likewise.
38911         ($(objpfx)mtrace-tst-leaks2): Likewise.
38913         * scripts/merge-test-results.sh: New file.
38914         * Makefile (tests-special-notdir): New variable.
38915         (tests): Run merge-test-results.sh.
38916         (xtests): Likewise.
38917         * Rules (tests-special-notdir): New variable.
38918         (xtests-special-notdir): Likewise.
38919         (tests): Run merge-test-results.sh
38920         (xtests): Likewise.
38922         * Makeconfig (test-xfail-name): New variable.
38923         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38924         compute variable name for expected failures.
38925         * conform/Makefile (conformtest-headers-data): New variable.
38926         (conformtest-standards): Likewise.
38927         (conformtest-headers-ISO): Likewise.
38928         (conformtest-headers-ISO99): Likewise.
38929         (conformtest-headers-ISO11): Likewise.
38930         (conformtest-headers-POSIX): Likewise.
38931         (conformtest-headers-XPG3): Likewise.
38932         (conformtest-headers-XPG4): Likewise.
38933         (conformtest-headers-UNIX98): Likewise.
38934         (conformtest-headers-XOPEN2K): Likewise.
38935         (conformtest-headers-POSIX2008): Likewise.
38936         (conformtest-headers-XOPEN2K8): Likewise.
38937         (conformtest-header-list-base): Likewise.
38938         (conformtest-header-list-tests): Likewise.
38939         (conformtest-header-base): Likewise.
38940         (conformtest-header-tests): Likewise.
38941         (tests-special): Add $(conformtest-header-list-tests).  If
38942         [$(fast-check) && !$(cross-compiling)], add
38943         $(conformtest-header-tests) instead of
38944         $(objpfx)run-conformtest.out.
38945         (generated): Add $(conformtest-header-list-base).  If
38946         [$(fast-check) && !$(cross-compiling)], add
38947         $(conformtest-header-base).  Remove previous setting.
38948         ($(conformtest-header-list-tests)): New target.
38949         (test-xfail-run-conformtest): Remove variable.
38950         ($(objpfx)run-conformtest.out): Remove target.
38951         (test-xfail-ISO11/complex.h/conform): New variable.
38952         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38953         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38954         (test-xfail-XPG3/varargs.h/conform): Likewise.
38955         (test-xfail-XPG4/varargs.h/conform): Likewise.
38956         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38957         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38958         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38959         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38960         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38961         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38962         (test-xfail-XPG3/ftw.h/conform): Likewise.
38963         (test-xfail-XPG3/grp.h/conform): Likewise.
38964         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38965         (test-xfail-XPG3/limits.h/conform): Likewise.
38966         (test-xfail-XPG3/pwd.h/conform): Likewise.
38967         (test-xfail-XPG3/search.h/conform): Likewise.
38968         (test-xfail-XPG3/signal.h/conform): Likewise.
38969         (test-xfail-XPG3/stdio.h/conform): Likewise.
38970         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38971         (test-xfail-XPG3/string.h/conform): Likewise.
38972         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38973         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38974         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38975         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38976         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38977         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38978         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38979         (test-xfail-XPG3/termios.h/conform): Likewise.
38980         (test-xfail-XPG3/time.h/conform): Likewise.
38981         (test-xfail-XPG3/unistd.h/conform): Likewise.
38982         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38983         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38984         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38985         (test-xfail-XPG4/netdb.h/conform): Likewise.
38986         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38987         (test-xfail-XPG4/signal.h/conform): Likewise.
38988         (test-xfail-XPG4/stdio.h/conform): Likewise.
38989         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38990         (test-xfail-XPG4/stropts.h/conform): Likewise.
38991         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38992         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38993         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38994         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38995         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38996         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38997         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38998         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38999         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39000         (test-xfail-XPG4/termios.h/conform): Likewise.
39001         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39002         (test-xfail-XPG4/unistd.h/conform): Likewise.
39003         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39004         (test-xfail-POSIX/sched.h/conform): Likewise.
39005         (test-xfail-POSIX/signal.h/conform): Likewise.
39006         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39007         (test-xfail-POSIX/tar.h/conform): Likewise.
39008         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39009         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39010         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39011         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39012         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39013         (test-xfail-UNIX98/sched.h/conform): Likewise.
39014         (test-xfail-UNIX98/signal.h/conform): Likewise.
39015         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39016         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39017         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39018         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39019         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39020         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39021         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39022         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39023         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39024         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39025         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39026         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39027         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39028         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39029         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39030         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39031         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39032         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39033         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39034         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39035         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39036         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39037         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39038         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39039         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39040         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39041         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39042         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39043         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39044         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39045         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39046         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39047         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39048         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39049         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39050         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39051         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39052         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39053         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39054         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39055         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39056         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39057         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39058         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39059         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39060         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39061         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39062         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39063         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39064         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39065         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39066         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39067         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39068         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39069         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39070         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39071         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39072         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39073         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39074         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39075         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39076         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39077         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39078         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39079         (conformtest-cc-flags): Likewise.
39080         ($(conformtest-header-tests): New target.
39081         * conform/check-header-lists.sh: New file.
39082         * conform/run-conformtest.sh: Remove.
39084         * conform/conformtest.pl: Allow ' and \ in values given for
39085         constants.
39086         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39087         inclusion.
39088         [POSIX] (sys/types.h): Likewise.
39089         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39090         inclusion.
39091         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39092         inclusion.
39093         * conform/data/signal.h-data (SIGIO): Remove expectation.
39094         [XPG3] (SIGBUS): Do not expect.
39095         [POSIX || XPG3] (SIGPOLL): Likewise.
39096         [POSIX || XPG3] (SIGPROF): Likewise.
39097         [POSIX || XPG3] (SIGSYS): Likewise.
39098         [XPG3] (SIGTRAP): Likewise.
39099         [POSIX || XPG3] (SIGURG): Likewise.
39100         [POSIX || XPG3] (SIGVTALRM): Likewise.
39101         [POSIX || XPG3] (SIGXCPU): Likewise.
39102         [POSIX || XPG3] (SIGXFSZ): Likewise.
39103         [POSIX] (SA_SIGINFO): Expect.
39104         [XPG3] (siginfo_t): Do not expect type or contents.
39105         [POSIX] (si_pid): Do not expect element.
39106         [POSIX] (si_uid): Likewise.
39107         [POSIX] (si_addr): Likewise.
39108         [POSIX] (si_status): Likewise.
39109         [POSIX] (si_band): Likewise.
39110         [XPG4] (si_value): Likewise.
39111         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39112         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39113         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39114         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39115         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39116         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39117         [POSIX || XPG3] (ILL_COPROC): Likewise.
39118         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39119         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39120         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39121         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39122         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39123         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39124         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39125         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39126         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39127         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39128         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39129         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39130         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39131         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39132         [POSIX || XPG3] (CLD_EXITED): Likewise.
39133         [POSIX || XPG3] (CLD_KILLED): Likewise.
39134         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39135         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39136         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39137         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39138         [POSIX || XPG3] (POLL_IN): Likewise.
39139         [POSIX || XPG3] (POLL_OUT): Likewise.
39140         [POSIX || XPG3] (POLL_MSG): Likewise.
39141         [POSIX || XPG3] (POLL_ERR): Likewise.
39142         [POSIX || XPG3] (POLL_PRI): Likewise.
39143         [POSIX || XPG3] (POLL_HUP): Likewise.
39144         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39145         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39146         (SIG*): Do not allow.
39147         [XPG3] (si_*): Likewise.
39148         [XPG3] (SI_*): Likewise.
39149         [XPG3 || XPG4] (sigev_*): Likewise.
39150         [XPG3 || XPG4] (SIGEV_*): Likewise.
39151         [XPG3 || XPG4] (sival_*): Likewise.
39152         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39153         [POSIX || XPG3] (BUS_*): Likewise.
39154         [POSIX || XPG3] (CLD_*): Likewise.
39155         [POSIX || XPG3] (FPE_*): Likewise.
39156         [POSIX || XPG3] (ILL_*): Likewise.
39157         [POSIX || XPG3] (POLL_*): Likewise.
39158         [POSIX || XPG3] (SEGV_*): Likewise.
39159         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39160         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39161         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39162         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39163         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39164         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39165         Specify type and value.
39166         (TVERSLEN): Likewise.
39167         (REGTYPE): Likewise.
39168         (AREGTYPE): Likewise.
39169         (LNKTYPE): Likewise.
39170         (SYMTYPE): Likewise.
39171         (CHRTYPE): Likewise.
39172         (BLKTYPE): Likewise.
39173         (DIRTYPE): Likewise.
39174         (FIFOTYPE): Likewise.
39175         (CONTTYPE): Likewise.
39176         (TSUID): Likewise.
39177         (TSGID): Likewise.
39178         (TSVTX): Likewise.
39179         (TUREAD): Likewise.
39180         (TUWRITE): Likewise.
39181         (TUEXEC): Likewise.
39182         (TGREAD): Likewise.
39183         (TGWRITE): Likewise.
39184         (TGEXEC): Likewise.
39185         (TOREAD): Likewise.
39186         (TOWRITE): Likewise.
39187         (TOEXEC): Likewise.
39188         [POSIX] (TSVTX): Expect constant.
39190 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39192         * Makefile (tests): Change dependencies to ....
39193         (tests-special): ... additions to this variable.
39194         (tests): Depend on $(tests-special).
39195         * Makerules (check-abi-list): New variable.
39196         (check-abi): Depend on $(check-abi-list).
39197         [$(subdir) = elf] (tests-special): Add
39198         $(objpfx)check-abi-libc.out.
39199         [$(build-shared) = yes && subdir] (tests-special): Add
39200         $(check-abi-list).
39201         [$(build-shared) = yes && subdir] (tests): Do not depend on
39202         check-abi.
39203         * Rules (tests): Depend on $(tests-special).
39204         (xtests): Depend on $(xtests-special).
39205         * catgets/Makefile (tests): Change dependencies to ....
39206         (tests-special): ... additions to this variable.
39207         * conform/Makefile (tests): Change dependencies to ....
39208         (tests-special): ... additions to this variable.
39209         * elf/Makefile (tests): Change dependencies to ....
39210         (tests-special): ... additions to this variable.
39211         * grp/Makefile (tests): Change dependencies to ....
39212         (tests-special): ... additions to this variable.
39213         * iconv/Makefile (xtests): Change dependencies to ....
39214         (xtests-special): ... additions to this variable.
39215         * iconvdata/Makefile (tests): Change dependencies to ....
39216         (tests-special): ... additions to this variable.
39217         * intl/Makefile (tests): Change dependencies to ....
39218         (tests-special): ... additions to this variable.  Also add
39219         $(objpfx)tst-gettext.out.
39220         * io/Makefile (tests): Change dependencies to ....
39221         (tests-special): ... additions to this variable.
39222         * libio/Makefile (tests): Change dependencies to ....
39223         (tests-special): ... additions to this variable.
39224         * malloc/Makefile (tests): Change dependencies to ....
39225         (tests-special): ... additions to this variable.
39226         * misc/Makefile (tests): Change dependencies to ....
39227         (tests-special): ... additions to this variable.
39228         * nptl/Makefile (tests): Change dependencies to ....
39229         (tests-special): ... additions to this variable.
39230         * nptl_db/Makefile (tests): Change dependencies to ....
39231         (tests-special): ... additions to this variable.
39232         * posix/Makefile (tests): Change dependencies to ....
39233         (tests-special): ... additions to this variable.
39234         (xtests): Change dependencies to ....
39235         (xtests-special): ... additions to this variable.
39236         * resolv/Makefile (tests): Change dependencies to ....
39237         (tests-special): ... additions to this variable.
39238         (xtests): Change dependencies to ....
39239         (xtests-special): ... additions to this variable.
39240         * stdio-common/Makefile (tests): Change dependencies to ....
39241         (tests-special): ... additions to this variable.
39242         (do-tst-unbputc): Remove target.
39243         (do-tst-printf): Likewise.
39244         * stdlib/Makefile (tests): Change dependencies to ....
39245         (tests-special): ... additions to this variable.
39246         * string/Makefile (tests): Change dependencies to ....
39247         (tests-special): ... additions to this variable.
39248         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39249         (tests-special): ... additions to this variable.
39251         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39252         whole file.
39253         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39254         whole file.
39255         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39256         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39258         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39259         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39260         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39261         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39262         * conform/data/libgen.h-data [XPG3]: Likewise.
39263         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39264         * conform/data/ndbm.h-data [XPG3]: Likewise.
39265         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39266         * conform/data/netdb.h-data [XPG3]: Likewise.
39267         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39268         * conform/data/poll.h-data [XPG3]: Likewise.
39269         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39270         * conform/data/strings.h-data [XPG3]: Likewise.
39271         * conform/data/stropts.h-data [XPG3]: Likewise.
39272         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39273         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39274         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39275         Likewise.
39276         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39277         * conform/data/sys/time.h-data [XPG3]: Likewise.
39278         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39279         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39280         * conform/data/sys/un.h-data [XPG3]: Likewise.
39281         * conform/data/syslog.h-data [XPG3]: Likewise.
39282         * conform/data/ucontext.h-data [XPG3]: Likewise.
39283         * conform/data/utmpx.h-data [XPG3]: Likewise.
39284         * conform/data/varargs.h-data [UNIX98]: Enable file.
39286         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39288         * math/libm-test.inc (struct test_f_f_data): Move expected results
39289         into structure for each rounding mode.
39290         (struct test_ff_f_data): Likewise.
39291         (struct test_ff_f_data_nexttoward): Likewise.
39292         (struct test_fi_f_data): Likewise.
39293         (struct test_fl_f_data): Likewise.
39294         (struct test_if_f_data): Likewise.
39295         (struct test_fff_f_data): Likewise.
39296         (struct test_c_f_data): Likewise.
39297         (struct test_f_f1_data): Likewise.
39298         (struct test_fF_f1_data): Likewise.
39299         (struct test_ffI_f1_data): Likewise.
39300         (struct test_c_c_data): Likewise.
39301         (struct test_cc_c_data): Likewise.
39302         (struct test_f_i_data): Likewise.
39303         (struct test_ff_i_data): Likewise.
39304         (struct test_f_l_data): Likewise.
39305         (struct test_f_L_data): Likewise.
39306         (struct test_fFF_11_data): Likewise.
39307         (RM_): New macro.
39308         (RM_FE_DOWNWARD): Likewise.
39309         (RM_FE_TONEAREST): Likewise.
39310         (RM_FE_TOWARDZERO): Likewise.
39311         (RM_FE_UPWARD): Likewise.
39312         (RUN_TEST_LOOP_f_f): Update references to expected results.
39313         (RUN_TEST_LOOP_2_f): Likewise.
39314         (RUN_TEST_LOOP_fff_f): Likewise.
39315         (RUN_TEST_LOOP_c_f): Likewise.
39316         (RUN_TEST_LOOP_f_f1): Likewise.
39317         (RUN_TEST_LOOP_fF_f1): Likewise.
39318         (RUN_TEST_LOOP_fI_f1): Likewise.
39319         (RUN_TEST_LOOP_ffI_f1): Likewise.
39320         (RUN_TEST_LOOP_c_c): Likewise.
39321         (RUN_TEST_LOOP_cc_c): Likewise.
39322         (RUN_TEST_LOOP_f_i): Likewise.
39323         (RUN_TEST_LOOP_f_i_tg): Likewise.
39324         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39325         (RUN_TEST_LOOP_f_b): Likewise.
39326         (RUN_TEST_LOOP_f_b_tg): Likewise.
39327         (RUN_TEST_LOOP_f_l): Likewise.
39328         (RUN_TEST_LOOP_f_L): Likewise.
39329         (RUN_TEST_LOOP_fFF_11): Likewise.
39330         * math/gen-libm-test.pl (parse_args): Output four copies of
39331         expected results for each test.
39333         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39334         (__ASSUME_UTIMES): Remove.
39335         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39336         (__ASSUME_UTIMES): Likewise.
39338         * math/gen-auto-libm-tests.c: Update comment on output format.
39339         (output_for_one_input_case): Generate before-rounding and
39340         after-rounding information as conditions on output flags not
39341         floating-point format.
39342         * math/auto-libm-test-out: Regenerated.
39343         * math/gen-libm-test.pl (cond_value): New function.
39344         (or_cond_value): Use cond_value.
39345         (generate_testfile): Handle conditional exceptions.
39347 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39349         * math/libm-test.inc (max_valid_error): New variable.
39350         (init_max_error): Take new argument specifying whether function
39351         results are exactly determined.  Set max_valid_error and bound
39352         other variables for errors based on this argument.
39353         (set_max_error): Do not record results above max_valid_error.
39354         (check_float_internal): Only accept errors of up to 0.5ulps if
39355         also at most max_valid_error.
39356         (START): Take new argument EXACT and pass it to init_max_error.
39357         (acos_test): Update call to START.
39358         (acos_test_tonearest): Likewise.
39359         (acos_test_towardzero): Likewise.
39360         (acos_test_downward): Likewise.
39361         (acos_test_upward): Likewise.
39362         (acosh_test): Likewise.
39363         (asin_test): Likewise.
39364         (asin_test_tonearest): Likewise.
39365         (asin_test_towardzero): Likewise.
39366         (asin_test_downward): Likewise.
39367         (asin_test_upward): Likewise.
39368         (asinh_test): Likewise.
39369         (atan_test): Likewise.
39370         (atanh_test): Likewise.
39371         (atan2_test): Likewise.
39372         (cabs_test): Likewise.
39373         (cacos_test): Likewise.
39374         (cacosh_test): Likewise.
39375         (carg_test): Likewise.
39376         (casin_test): Likewise.
39377         (casinh_test): Likewise.
39378         (catan_test): Likewise.
39379         (catanh_test): Likewise.
39380         (cbrt_test): Likewise.
39381         (ccos_test): Likewise.
39382         (ccosh_test): Likewise.
39383         (ceil_test): Likewise.
39384         (cexp_test): Likewise.
39385         (cimag_test): Likewise.
39386         (clog_test): Likewise.
39387         (clog10_test): Likewise.
39388         (conj_test): Likewise.
39389         (copysign_test): Likewise.
39390         (cos_test): Likewise.
39391         (cos_test_tonearest): Likewise.
39392         (cos_test_towardzero): Likewise.
39393         (cos_test_downward): Likewise.
39394         (cos_test_upward): Likewise.
39395         (cosh_test): Likewise.
39396         (cosh_test_tonearest): Likewise.
39397         (cosh_test_towardzero): Likewise.
39398         (cosh_test_downward): Likewise.
39399         (cosh_test_upward): Likewise.
39400         (cpow_test): Likewise.
39401         (cproj_test): Likewise.
39402         (creal_test): Likewise.
39403         (csin_test): Likewise.
39404         (csinh_test): Likewise.
39405         (csqrt_test): Likewise.
39406         (ctan_test): Likewise.
39407         (ctan_test_tonearest): Likewise.
39408         (ctan_test_towardzero): Likewise.
39409         (ctan_test_downward): Likewise.
39410         (ctan_test_upward): Likewise.
39411         (ctanh_test): Likewise.
39412         (ctanh_test_tonearest): Likewise.
39413         (ctanh_test_towardzero): Likewise.
39414         (ctanh_test_downward): Likewise.
39415         (ctanh_test_upward): Likewise.
39416         (erf_test): Likewise.
39417         (erfc_test): Likewise.
39418         (exp_test): Likewise.
39419         (exp_test_tonearest): Likewise.
39420         (exp_test_towardzero): Likewise.
39421         (exp_test_downward): Likewise.
39422         (exp_test_upward): Likewise.
39423         (exp10_test): Likewise.
39424         (exp10_test_tonearest): Likewise.
39425         (exp10_test_towardzero): Likewise.
39426         (exp10_test_downward): Likewise.
39427         (exp10_test_upward): Likewise.
39428         (pow10_test): Likewise.
39429         (exp2_test): Likewise.
39430         (expm1_test): Likewise.
39431         (expm1_test_tonearest): Likewise.
39432         (expm1_test_towardzero): Likewise.
39433         (expm1_test_downward): Likewise.
39434         (expm1_test_upward): Likewise.
39435         (fabs_test): Likewise.
39436         (fdim_test): Likewise.
39437         (floor_test): Likewise.
39438         (fma_test): Likewise.
39439         (fma_test_towardzero): Likewise.
39440         (fma_test_downward): Likewise.
39441         (fma_test_upward): Likewise.
39442         (fmax_test): Likewise.
39443         (fmin_test): Likewise.
39444         (fmod_test): Likewise.
39445         (fpclassify_test): Likewise.
39446         (frexp_test): Likewise.
39447         (hypot_test): Likewise.
39448         (ilogb_test): Likewise.
39449         (isfinite_test): Likewise.
39450         (finite_test): Likewise.
39451         (isgreater_test): Likewise.
39452         (isgreaterequal_test): Likewise.
39453         (isinf_test): Likewise.
39454         (isless_test): Likewise.
39455         (islessequal_test): Likewise.
39456         (islessgreater_test): Likewise.
39457         (isnan_test): Likewise.
39458         (isnormal_test): Likewise.
39459         (issignaling_test): Likewise.
39460         (isunordered_test): Likewise.
39461         (j0_test): Likewise.
39462         (j1_test): Likewise.
39463         (jn_test): Likewise.
39464         (ldexp_test): Likewise.
39465         (lgamma_test): Likewise.
39466         (gamma_test): Likewise.
39467         (lrint_test): Likewise.
39468         (lrint_test_tonearest): Likewise.
39469         (lrint_test_towardzero): Likewise.
39470         (lrint_test_downward): Likewise.
39471         (lrint_test_upward): Likewise.
39472         (llrint_test): Likewise.
39473         (llrint_test_tonearest): Likewise.
39474         (llrint_test_towardzero): Likewise.
39475         (llrint_test_downward): Likewise.
39476         (llrint_test_upward): Likewise.
39477         (log_test): Likewise.
39478         (log10_test): Likewise.
39479         (log1p_test): Likewise.
39480         (log2_test): Likewise.
39481         (logb_test): Likewise.
39482         (logb_test_downward): Likewise.
39483         (lround_test): Likewise.
39484         (llround_test): Likewise.
39485         (modf_test): Likewise.
39486         (nearbyint_test): Likewise.
39487         (nextafter_test): Likewise.
39488         (nexttoward_test): Likewise.
39489         (pow_test): Likewise.
39490         (pow_test_tonearest): Likewise.
39491         (pow_test_towardzero): Likewise.
39492         (pow_test_downward): Likewise.
39493         (pow_test_upward): Likewise.
39494         (remainder_test): Likewise.
39495         (drem_test): Likewise.
39496         (remainder_test_tonearest): Likewise.
39497         (drem_test_tonearest): Likewise.
39498         (remainder_test_towardzero): Likewise.
39499         (drem_test_towardzero): Likewise.
39500         (remainder_test_downward): Likewise.
39501         (drem_test_downward): Likewise.
39502         (remainder_test_upward): Likewise.
39503         (drem_test_upward): Likewise.
39504         (remquo_test): Likewise.
39505         (rint_test): Likewise.
39506         (rint_test_tonearest): Likewise.
39507         (rint_test_towardzero): Likewise.
39508         (rint_test_downward): Likewise.
39509         (rint_test_upward): Likewise.
39510         (round_test): Likewise.
39511         (scalb_test): Likewise.
39512         (scalbn_test): Likewise.
39513         (scalbln_test): Likewise.
39514         (signbit_test): Likewise.
39515         (sin_test): Likewise.
39516         (sin_test_tonearest): Likewise.
39517         (sin_test_towardzero): Likewise.
39518         (sin_test_downward): Likewise.
39519         (sin_test_upward): Likewise.
39520         (sincos_test): Likewise.
39521         (sinh_test): Likewise.
39522         (sinh_test_tonearest): Likewise.
39523         (sinh_test_towardzero): Likewise.
39524         (sinh_test_downward): Likewise.
39525         (sinh_test_upward): Likewise.
39526         (sqrt_test): Likewise.
39527         (sqrt_test_tonearest): Likewise.
39528         (sqrt_test_towardzero): Likewise.
39529         (sqrt_test_downward): Likewise.
39530         (sqrt_test_upward): Likewise.
39531         (tan_test): Likewise.
39532         (tan_test_tonearest): Likewise.
39533         (tan_test_towardzero): Likewise.
39534         (tan_test_downward): Likewise.
39535         (tan_test_upward): Likewise.
39536         (tanh_test): Likewise.
39537         (tgamma_test): Likewise.
39538         (trunc_test): Likewise.
39539         (y0_test): Likewise.
39540         (y1_test): Likewise.
39541         (yn_test): Likewise.
39542         (significand_test): Likewise.
39544         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39545         individual tests in comment.
39546         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39547         (prev_max_error): New variable.
39548         (prev_real_max_error): Likewise.
39549         (prev_imag_max_error): Likewise.
39550         (compare_ulp_data): Don't refer to test names in comment.
39551         (find_test_ulps): Remove function.
39552         (find_function_ulps): Likewise.
39553         (find_complex_function_ulps): Likewise.
39554         (init_max_error): Take function name as argument.  Look up ulps
39555         for that function.
39556         (print_ulps): Remove function.
39557         (print_max_error): Use prev_max_error instead of calling
39558         find_function_ulps.
39559         (print_complex_max_error): Use prev_real_max_error and
39560         prev_imag_max_error instead of calling find_complex_function_ulps.
39561         (check_float_internal): Take max_ulp parameter instead of calling
39562         find_test_ulps.  Don't call print_ulps.
39563         (check_float): Update call to check_float_internal.
39564         (check_complex): Update calls to check_float_internal.
39565         (START): Pass argument to init_max_error.
39566         * math/gen-libm-test.pl (%results): Don't include "kind"
39567         information.
39568         (parse_ulps): Don't handle ulps of individual tests.
39569         (print_ulps_file): Likewise.
39570         (output_ulps): Likewise.
39571         * math/README.libm-test: Update.
39572         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39573         individual tests.
39574         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39575         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39576         * sysdeps/arm/libm-test-ulps: Likewise.
39577         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39578         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39579         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39580         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39581         * sysdeps/microblaze/libm-test-ulps: Likewise.
39582         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39583         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39584         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39585         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39586         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39587         * sysdeps/sh/libm-test-ulps: Likewise.
39588         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39589         * sysdeps/tile/libm-test-ulps: Likewise.
39590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39592 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39594         * math/libm-test.inc (print_complex_max_error): Check separately
39595         whether real and imaginary errors are within allowed range and
39596         pass 0 to print_complex_function_ulps instead of value within
39597         allowed range.
39599 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39601         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39602         formatting.
39603         (get_handles_fopen): Likewise.
39604         (do_write_test): Likewise.
39606         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39608         * libio/fileops.c (do_ftell): Use cached offset when
39609         available.
39610         * libio/iofwide.c (do_ftell_wide): Likewise.
39611         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39612         _IO_file_attach.
39613         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39615         [BZ #16532]
39616         * libio/libioP.h (get_file_offset): New function.
39617         * libio/fileops.c (get_file_offset): Likewise.
39618         (do_ftell): Likewise.
39619         (_IO_new_file_seekoff): Split out ftell logic.
39620         * libio/wfileops.c (do_ftell_wide): Likewise.
39621         (_IO_wfile_seekoff): Split out ftell logic.
39622         * libio/tst-ftell-active-handler.c: New test case.
39623         * libio/Makefile (tests): Add it.
39625 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39627         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39628         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39630 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39632         [BZ #16639]
39633         * nscd/connections.c (nscd_init): Call do_exit.
39634         (start_threads): Call do_exit and notify_parent.
39635         (begin_drop_privileges): Call do_exit.
39636         (finish_drop_privileges): Likewise.
39637         * nscd/selinux.c (preserve_capabilities): Likewise.
39638         (install_real_capabilities): Likewise.
39639         (nscd_selinux_enabled): Likewise.
39640         (avc_create_thread): Likewise.
39641         (avc_alloc_lock): Likewise.
39642         (nscd_avc_init): Likewise.
39643         * nscd/nscd.c (parent_fd): New static variable.
39644         (main): Create a pipe between parent and child processes.
39645         Skip closing parent_fd.
39646         (monitor_child): New function.
39647         (do_exit): Likewise.
39648         (notify_parent): Likewise.
39649         * nscd/nscd.h (notify_parent): Likewise.
39650         (do_exit): Likewise.
39652 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39654         * malloc/malloc.c (__libc_calloc): Revert last change.
39656 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39660 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39662         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39664         implementation.
39665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39666         (__libc_ifunc_impl_list): Likewise.
39667         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39668         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39669         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39670         * string/strrchr.c: Define STRRCHR.
39672 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39674         * benchtest/bench-strtok.c (simple_strtok): Delete.
39675         (strtok_string): Use as benchmark.
39676         * string/strtok (STRTOK): New macro.
39678 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39680         * manual/threads.texi: Add header and standard comments to all
39681         functions.
39683         * elf/dl-lookup.c (check_match): New function.
39684         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39685         (do_lookup_x): Remove nested function check_match. Use non-nested
39686         function check_match.
39688 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39690         * csu/Makefile (generated, before-compile): Use += rather than =.
39691         * catgets/Makefile (generated, generated-dirs): Likewise.
39692         * debug/Makefile (generated): Likewise.
39693         * dlfcn/Makefile (generated): Likewise.
39694         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39695         * iconvdata/Makefile (before-compile, generated): Likewise.
39696         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39697         * libio/Makefile (generated): Likewise.
39698         * malloc/Makefile (generated): Likewise.
39699         * manual/Makefile (generated, generated-dirs): Likewise.
39700         * misc/Makefile (generated): Likewise.
39701         * posix/Makefile (generated): Likewise.
39702         * resolv/Makefile (generated): Likewise.
39703         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39704         * timezone/Makefile (generated, generated-dirs): Likewise.
39706         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39708 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39711         power8 implementation.
39712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39713         file: POWER8 llround ifunc implementation.
39714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39715         (__lllround): Add POWER8 implementation.
39716         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39717         POWER8 llround implementation.
39719         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39720         power8 implementation.
39721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39722         file: POWER8 llrint ifunc implementation.
39723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39724         Add POWER8 implementation.
39725         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39726         POWER8 llrint implementation.
39728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39729         power8 implementation.
39730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39731         file: POWER8 finite ifunc implementation.
39732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39733         Add POWER8 implementation.
39734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39735         Likewise.
39736         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39737         POWER8 finite implementation.
39738         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39741         power8 implementation.
39742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39743         file: POWER8 isinf ifunc implementation.
39744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39745         POWER8 implementation.
39746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39747         Likewise.
39748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39749         isinf implementation.
39750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39752         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39753         (INIT_ARCH): Add hwcap2 initialization.
39754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39755         power8 implementation.
39756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39757         file: POWER8 isnan ifunc implementation.
39758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39759         POWER8 implementation.
39760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39761         Likewise.
39762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39763         isnan implementation.
39764         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39766 2014-02-27  Joey Ye  <joey.ye@arm.com>
39768         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39769         (_FP_NANFRAC_Q): Set to zero.
39771 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39773         [BZ #16623]
39774         * math/auto-libm-test-in: New test inputs.
39775         * math/auto-libm-test-out: Regenerate.
39776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39777         and DA.
39778         (__cos): Likewise.
39779         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39781 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39783         * scripts/evaluate-test.sh: Take new argument indicating whether
39784         failure is expected.
39785         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39786         indicating whether failure is expected.
39787         * conform/Makefile (test-xfail-run-conformtest): New variable.
39788         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39789         level.
39790         * posix/Makefile (test-xfail-annexc): New variable.
39791         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39793 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39795         * argp/Makefile: Include Makeconfig immediately after defining
39796         subdir.
39797         * assert/Makefile: Likewise.
39798         * benchtests/Makefile: Likewise.
39799         * catgets/Makefile: Likewise.
39800         * conform/Makefile: Likewise.
39801         * crypt/Makefile: Likewise.
39802         * csu/Makefile: Likewise.
39803         (all): Remove target.
39804         * ctype/Makefile: Include Makeconfig immediately after defining
39805         subdir.
39806         * debug/Makefile: Likewise.
39807         * dirent/Makefile: Likewise.
39808         * dlfcn/Makefile: Likewise.
39809         * gmon/Makefile: Likewise.
39810         * gnulib/Makefile: Likewise.
39811         * grp/Makefile: Likewise.
39812         * gshadow/Makefile: Likewise.
39813         * hesiod/Makefile: Likewise.
39814         * hurd/Makefile: Likewise.
39815         (all): Remove target.
39816         * iconvdata/Makefile: Include Makeconfig immediately after
39817         defining subdir.
39818         * inet/Makefile: Likewise.
39819         * intl/Makefile: Likewise.
39820         * io/Makefile: Likewise.
39821         * libio/Makefile: Likewise.
39822         (all): Remove target.
39823         * locale/Makefile: Include Makeconfig immediately after defining
39824         subdir.
39825         * login/Makefile: Likewise.
39826         * mach/Makefile: Likewise.
39827         (all): Remove target.
39828         * malloc/Makefile: Include Makeconfig immediately after defining
39829         subdir.
39830         (all): Remove target.
39831         * manual/Makefile: Include Makeconfig immediately after defining
39832         subdir.
39833         * math/Makefile: Likewise.
39834         * misc/Makefile: Likewise.
39835         * nis/Makefile: Likewise.
39836         * nss/Makefile: Likewise.
39837         * po/Makefile: Likewise.
39838         (all): Remove target.
39839         * posix/Makefile: Include Makeconfig immediately after defining
39840         subdir.
39841         * pwd/Makefile: Likewise.
39842         * resolv/Makefile: Likewise.
39843         * resource/Makefile: Likewise.
39844         * rt/Makefile: Likewise.
39845         * setjmp/Makefile: Likewise.
39846         * shadow/Makefile: Likewise.
39847         * signal/Makefile: Likewise.
39848         * socket/Makefile: Likewise.
39849         * soft-fp/Makefile: Likewise.
39850         * stdio-common/Makefile: Likewise.
39851         * stdlib/Makefile: Likewise.
39852         * streams/Makefile: Likewise.
39853         * string/Makefile: Likewise.
39854         * sunrpc/Makefile: Likewise.
39855         (all): Remove target.
39856         * sysvipc/Makefile: Include Makeconfig immediately after defining
39857         subdir.
39858         * termios/Makefile: Likewise.
39859         * time/Makefile: Likewise.
39860         * timezone/Makefile: Likewise.
39861         (all): Remove target.
39862         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39863         subdir.
39864         * wctype/Makefile: Likewise.
39866 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39868         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39869         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39870         (libc_feholdexcept_setround_mips): Ditto.
39871         (libc_feholdsetround): New.
39872         (libc_feholdsetroundf): New.
39873         (libc_feholdsetroundl): New.
39874         (libc_feupdateenv_test_mips): New.
39875         (libc_feupdateenv_test): New.
39876         (libc_feupdateenv_testf): New.
39877         (libc_feupdateenv_testl): New.
39878         (libc_feresetround): New.
39879         (libc_feresetroundf): New.
39880         (libc_feresetroundl): New.
39881         (libc_fetestexcept_mips): New.
39882         (libc_fetestexcept): New.
39883         (libc_fetestexceptf): New.
39884         (libc_fetestexceptl): New.
39885         (HAVE_RM_CTX): New.
39886         (libc_feholdexcept_setround_mips_ctx): New.
39887         (libc_feholdexcept_setround_ctx): New.
39888         (libc_feholdexcept_setroundf_ctx): New.
39889         (libc_feholdexcept_setroundl_ctx): New.
39890         (libc_fesetenv_mips_ctx): New.
39891         (libc_fesetenv_ctx): New.
39892         (libc_fesetenv_ctxf): New.
39893         (libc_fesetenv_ctxl): New.
39894         (libc_feupdateenv_mips_ctx): New.
39895         (libc_feupdateenv_ctx): New.
39896         (libc_feupdateenvf_ctx): New.
39897         (libc_feupdateenvl_ctx): New.
39898         (libc_feholdsetround_mips_ctx): New.
39899         (libc_feholdsetround_ctx): New.
39900         (libc_feholdsetroundf_ctx): New.
39901         (libc_feholdsetroundl_ctx): New.
39902         (libc_feresetround_mips_ctx): New.
39903         (libc_feresetround_ctx): New.
39904         (libc_feresetroundf_ctx): New.
39905         (libc_feresetroundl_ctx): New.
39907 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39909         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39911         * manual/ipc.texi: New file.
39912         * manual/Makefile (chapters): Add ipc.
39913         * manual/job.texi: Add "Inter-Process Communication" to next.
39914         * manual/process.texi: Add "Inter-Process Communication" to prev.
39916 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39920 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39922         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39924         * manual/arith.texi: Fix spaces after sentences.
39925         * manual/charset.texi: Likewise.
39926         * manual/errno.texi: Likewise.
39927         * manual/install.texi: Likewise.
39928         * manual/llio.texi: Likewise.
39929         * manual/locale.texi: Likewise.
39930         * manual/maint.texi: Likewise.
39931         * manual/math.texi: Likewise.
39932         * manual/memory.texi: Likewise.
39933         * manual/message.texi: Likewise.
39934         * manual/probes.texi: Likewise.
39935         * manual/resource.texi: Likewise.
39936         * manual/signal.texi: Likewise.
39937         * manual/socket.texi: Likewise.
39938         * manual/stdio.texi: Likewise.
39939         * manual/string.texi: Likewise.
39940         * manual/time.texi: Likewise.
39941         * manual/users.texi: Likewise.
39943 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39945         [BZ #16632]
39946         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39947         _DEFAULT_SOURCE is defined.
39949 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39950             Carlos O'Donell  <carlos@redhat.com>
39952         [BZ #16613]
39953         * elf/dl-tls.c (_dl_count_modids): New function.
39954         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39955         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39956         audit library and increment generation counter.
39957         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39958         * elf/tst-audit9.c: New file.
39959         * elf/tst-auditmod9a.c: New file.
39960         * elf/tst-auditmod9b.c: New file.
39961         * elf/Makefile: Add rules to build and run tst-audit9.
39963 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39965         [BZ #15347]
39966         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39968 2014-02-25  Will Newton  <will.newton@linaro.org>
39970         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39971         (__longjmp): Restore sp and lr before restoring callee
39972         saved registers.  Add longjmp and longjmp_target
39973         SystemTap probe point.
39974         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39975         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39976         Define to zero to match jmpbuf layout.
39977         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39978         (__sigsetjmp): Save sp and lr before saving callee
39979         saved registers.  Add setjmp SystemTap probe point.
39981 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39983         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39985 2014-02-24  Andreas Schwab  <schwab@suse.de>
39987         [BZ #15804]
39988         * elf/pldd.c (wait_for_ptrace_stop): New function.
39989         (main): Call it after attaching.
39991 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39993         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39994         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39995         Versions files is now verboten.
39996         * hurd/Versions (libc: GLIBC_2.0):
39997         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39998         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39999         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40000         * mach/Versions: Likewise.
40002         * csu/Versions: Remove unused %include.
40003         * resolv/Versions: Likewise.
40005 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40007         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40008         ($(objpfx)check-local-headers.out): Likewise.
40009         ($(objpfx)begin-end-check.out): Likewise.
40010         * Makerules (check-abi-%.out): Likewise.
40011         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40012         ($(objpfx)test2.cat): Likewise.
40013         ($(objpfx)de/libc.cat): Likewise.
40014         ($(objpfx)test-gencat.out): Likewise.
40015         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40016         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40017         ($(objpfx)noload-mem): Likewise.
40018         ($(objpfx)tst-pathopt.out): Likewise.
40019         ($(objpfx)tst-rtld-load-self.out): Likewise.
40020         ($(objpfx)tst-array1-cmp.out): Likewise.
40021         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40022         ($(objpfx)tst-array2-cmp.out): Likewise.
40023         ($(objpfx)tst-array3-cmp.out): Likewise.
40024         ($(objpfx)tst-array4-cmp.out): Likewise.
40025         ($(objpfx)tst-array5-cmp.out): Likewise.
40026         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40027         ($(objpfx)check-textrel.out): Likewise.
40028         ($(objpfx)check-execstack.out): Likewise.
40029         ($(objpfx)check-localplt.out): Likewise.
40030         ($(objpfx)order2-cmp.out): Likewise.
40031         ($(objpfx)tst-leaks1-mem): Likewise.
40032         ($(objpfx)tst-leaks1-static-mem): Likewise.
40033         ($(objpfx)tst-initorder-cmp.out): Likewise.
40034         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40035         ($(objpfx)tst-unused-dep.out): Likewise.
40036         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40037         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40038         * iconv/Makefile (test-iconvconfig): Likewise.
40039         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40040         ($(objpfx)iconv-test.out): Likewise.
40041         ($(objpfx)tst-tables.out): Likewise.
40042         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40043         ($(objpfx)tst-gettext.out): Likewise.
40044         ($(objpfx)tst-translit.out): Likewise.
40045         ($(objpfx)tst-gettext2.out): Likewise.
40046         ($(objpfx)tst-gettext4.out): Likewise.
40047         ($(objpfx)tst-gettext6.out): Likewise.
40048         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40049         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40050         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40051         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40052         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40053         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40054         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40055         ($(objpfx)wordexp-tst.out): Likewise.
40056         ($(objpfx)annexc.out): Likewise.
40057         ($(objpfx)tst-fnmatch-mem): Likewise.
40058         ($(objpfx)bug-regex2-mem): Likewise.
40059         ($(objpfx)bug-regex14-mem): Likewise.
40060         ($(objpfx)bug-regex21-mem): Likewise.
40061         ($(objpfx)bug-regex31-mem): Likewise.
40062         ($(objpfx)tst-vfork3-mem): Likewise.
40063         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40064         ($(objpfx)tst-pcre-mem): Likewise.
40065         ($(objpfx)tst-boost-mem): Likewise.
40066         ($(objpfx)tst-getconf.out): Likewise.
40067         ($(objpfx)bug-ga2-mem): Likewise.
40068         ($(objpfx)bug-glob2-mem): Likewise.
40069         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40070         ($(objpfx)mtrace-tst-leaks2): Likewise.
40071         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40072         ($(objpfx)tst-printf.out): Likewise.
40073         ($(objpfx)tst-setvbuf1.out): Likewise.
40074         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40075         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40076         ($(objpfx)tst-fmtmsg.out): Likewise.
40077         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40078         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40080         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40081         * bits/sigaction.h [__USE_MISC]: Likewise.
40082         * bits/waitstatus.h: Update #endif comments.
40083         * ctype/ctype.h: Likewise.
40084         * dirent/dirent.h: Likewise.
40085         [__USE_MISC]: Remove redundant conditionals.
40086         * grp/grp.h: Update #endif comments.
40087         [__USE_GNU]: Remove redundant conditionals.
40088         [__USE_MISC]: Likewise.
40089         * inet/netinet/in.h [__USE_GNU]: Likewise.
40090         * io/sys/stat.h [__USE_MISC]: Likewise.
40091         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40092         * libio/bits/stdio.h: Update #endif comments.
40093         [__USE_MISC]: Remove redundant conditionals.
40094         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40095         * libio/stdio.h: Update #endif comments.
40096         [__USE_MISC]: Remove redundant conditionals.
40097         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40098         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40099         * math/math.h: Update #else and #endif comments.
40100         [__USE_MISC]: Remove redundant conditionals.
40101         * misc/sys/uio.h: Update #endif comments.
40102         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40103         * posix/glob.h [__USE_MISC]: Likewise.
40104         * posix/sys/types.h: Update #endif comments.
40105         [__USE_MISC]: Remove redundant conditionals.
40106         * posix/sys/wait.h: Update #endif comments.
40107         [__USE_MISC]: Remove redundant conditionals.
40108         * posix/unistd.h: Update #endif comments.
40109         [__USE_MISC]: Remove redundant conditionals.
40110         * pwd/pwd.h [__USE_GNU]: Likewise.
40111         [__USE_MISC]: Likewise.
40112         * resolv/netdb.h [__USE_GNU]: Likewise.
40113         * signal/signal.h: Update #endif comments.
40114         [__USE_MISC]: Remove redundant conditionals.
40115         * stdlib/stdlib.h: Update #else and #endif comments.
40116         [__USE_MISC]: Remove redundant conditionals.
40117         [__USE_GNU]: Likewise.
40118         * string/bits/string2.h [__USE_MISC]: Likewise.
40119         * string/string.h: Update #endif comments.
40120         [__USE_MISC]: Remove redundant conditionals.
40121         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40122         Likewise.
40123         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40124         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40125         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40126         Likewise.
40127         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40128         Likewise.
40129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40130         comments.
40131         [__USE_MISC]: Remove redundant conditionals.
40132         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40133         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40134         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40135         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40136         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40137         Likewise.
40138         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40139         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40140         Likewise.
40141         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40142         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40143         Likewise.
40144         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40145         Likewise.
40146         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40147         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40148         Likewise.
40149         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40150         Likewise.
40151         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40152         * sysdeps/x86/bits/string.h: Update #endif comments.
40153         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40154         conditionals.
40155         * time/sys/time.h: Update #endif comments.
40156         * time/time.h: Likewise.
40157         [__USE_MISC]: Remove redundant conditionals.
40159 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40161         [BZ #16600]
40162         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40164 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40166         * Versions.def (librt): Add GLIBC_2.17.
40168 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40170         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40171         synonym for _SYS_AUXV_H to allow direct inclusion.
40172         * sysdeps/sparc/bits/hwcap.h: Likewise.
40173         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40174         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40175         * sysdeps/sparc/sysdep.h: Likewise.
40177 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40179         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40181 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40183         * benchtests/bench-strrchr.c: Print length instead of position.
40185 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40187         [BZ #16611]
40188         * sysdeps/unix/sysv/linux/kernel-features.h
40189         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40190         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40191         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40192         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40193         Likewise.
40194         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40195         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40196         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40197         (__ASSUME_SENDMMSG): Define instead of using previous
40198         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40199         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40200         (__ASSUME_SENDMMSG_SYSCALL): Define.
40201         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40202         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40203         Likewise.
40204         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40205         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40206         Likewise.
40207         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40208         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40209         Likewise.
40210         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40211         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40212         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40213         [__ASSUME_SENDMMSG]: Change conditionals to
40214         [__ASSUME_SENDMMSG_SOCKETCALL].
40215         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40216         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40217         Define.
40218         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40219         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40220         Likewise.
40221         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40222         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40223         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40224         [!__ASSUME_SENDMMSG]: Change conditional to
40225         [!__ASSUME_SENDMMSG_SOCKETCALL].
40226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40227         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40228         Define.
40230         [BZ #16610]
40231         * sysdeps/unix/sysv/linux/kernel-features.h
40232         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40233         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40234         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40235         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40236         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40237         [__i386__ || __sparc__]
40238         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40239         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40240         (__ASSUME_RECVMMSG): Define instead of using previous
40241         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40242         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40243         (__ASSUME_RECVMMSG_SYSCALL): Define.
40244         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40246         Likewise.
40247         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40248         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40249         Likewise.
40250         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40251         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40252         Likewise.
40253         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40254         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40255         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40256         [__ASSUME_RECVMMSG]: Change condition to
40257         [__ASSUME_RECVMMSG_SOCKETCALL].
40258         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40259         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40260         Define.
40261         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40262         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40263         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40264         Likewise.
40265         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40266         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40267         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40268         [!__ASSUME_RECVMMSG]: Change condition to
40269         [!__ASSUME_RECVMMSG_SOCKETCALL].
40270         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40271         (__ASSUME_RECVMMSG_SYSCALL): Define.
40273         [BZ #16609]
40274         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40275         __powerpc__ || __s390__ || __sh__ || __sparc__]
40276         (__ASSUME_SOCKETCALL): Define.
40277         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40278         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40279         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40280         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40281         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40282         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40283         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40284         (__ASSUME_ACCEPT4): Define instead of using previous
40285         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40286         __powerpc__ || __sparc__ || __s390__)] condition.
40287         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40288         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40289         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40290         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40291         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40292         [!__ASSUME_ACCEPT4]: Change condition to
40293         [!__ASSUME_ACCEPT4_SOCKETCALL].
40294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40295         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40296         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40298         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40299         __ASSUME_ACCEPT4_SYSCALL.
40300         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40301         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40302         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40303         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40304         __ASSUME_ACCEPT4_SYSCALL.
40305         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40306         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40307         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40308         [__ASSUME_ACCEPT4]: Change condition to
40309         [__ASSUME_ACCEPT4_SOCKETCALL].
40310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40311         (__ASSUME_SOCKETCALL): Define.
40312         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40314         (__ASSUME_SOCKETCALL): Define.
40315         (__ASSUME_ACCEPT4): Remove.
40316         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40317         Define.
40318         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40319         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40320         Likewise.
40321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40322         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40324         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40325         macro.
40326         (HWCAP_ARM_LPAE): Likewise.
40327         (HWCAP_ARM_EVTSTRM): Likewise.
40328         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40329         Add vpfd32, lpae and evtstrm.
40330         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40331         Increase to 22.
40333 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40335         * math/auto-libm-test-in: Add tests of clog10.
40336         * math/auto-libm-test-out: Regenerated.
40337         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40338         * sysdeps/i386/fpu/libm-test-ulps: Update.
40339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40341 2014-02-18  Andreas Schwab  <schwab@suse.de>
40343         [BZ #16574]
40344         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40345         Store non-zero if the second buffer was newly allocated.
40346         (send_dg): Likewise.
40347         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40348         to send_vc and send_dg.
40349         (res_nsend): Pass NULL for ansp2_malloced.
40350         * resolv/res_query.c (__libc_res_nquery): Add parameter
40351         answerp2_malloced and pass it down to __libc_res_nsend.
40352         (res_nquery): Pass additional NULL to __libc_res_nquery.
40353         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40354         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40355         second answer buffer if answerp2_malloced was set.
40356         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40357         (__libc_res_nquerydomain): Add parameter
40358         answerp2_malloced and pass it down to __libc_res_nquery.
40359         (res_nquerydomain): Pass additional NULL to
40360         __libc_res_nquerydomain.
40361         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40362         additional NULL to __libc_res_nsend and __libc_res_nquery.
40363         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40364         additional NULL to __libc_res_nsearch.
40365         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40366         parameter of __libc_res_nsearch to check for separately allocated
40367         second buffer.
40368         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40369         __libc_res_nquery.
40370         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40371         additional NULL to __libc_res_nquery.
40372         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40373         __libc_res_nsearch.
40374         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40375         * include/resolv.h: Update prototypes of __libc_res_nquery,
40376         __libc_res_nsearch, __libc_res_nsend.
40378 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40380         * math/auto-libm-test-in: Add tests of fma.
40381         * math/auto-libm-test-out: Regenerated.
40382         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40383         (fma_towardzero_test_data): Likewise.
40384         (fma_downward_test_data): Likewise.
40385         (fma_upward_test_data): Likewise.
40386         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40387         mpc_mode.
40388         (rounding_modes): Add values for new field.
40389         (func_calc_method): Add value mpfr_fff_f.
40390         (func_calc_desc): Add mpfr_fff_f union field.
40391         (test_function): Add field exact_args.
40392         (FUNC): Add macro argument EXACT_ARGS.
40393         (FUNC_mpfr_f_f): Update call to FUNC.
40394         (FUNC_mpfr_f_f): Likewise.
40395         (FUNC_mpfr_ff_f): Likewise.
40396         (FUNC_mpfr_if_f): Likewise.
40397         (FUNC_mpc_c_f): Likewise.
40398         (FUNC_mpc_c_c): Likewise.
40399         (test_functions): Add fma.  Update calls to FUNC.
40400         (handle_input_arg): Add argument exact_args.
40401         (add_test): Update call to handle_input_arg.
40402         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40403         (output_for_one_input_case): Update call to calc_generic_results.
40404         Recalculate exact zero results in each rounding mode.
40406         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40407         non-negative before setting low bit.
40408         * math/auto-libm-test-in: Mark one asin test possibly having
40409         spurious underflow.
40410         * math/auto-libm-test-out: Regenerated.
40411         * sysdeps/i386/fpu/libm-test-ulps: Update.
40412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40414 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40416         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40417         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40418         ports/sysdeps/unix/sysv/linux/microblaze.
40419         * README: Add missing listing for microblaze*-*-linux-gnu.
40421 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40423         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40424         duplicate code
40426 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40428         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40429         * sysdeps/unix/sysv/linux/ia64: Move directory from
40430         ports/sysdeps/unix/sysv/linux/ia64.
40431         * README: Update listing for ia64-*-linux-gnu.
40433 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40434             Joseph Myers  <joseph@codesourcery.com>
40436         * Makeconfig (test-name): New variable.
40437         (evaluate-test): Likewise.
40438         * Makerules (do-test-clean): Remove .test-result files.
40439         (common-mostlyclean): Likewise.
40440         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40441         * scripts/evaluate-test.sh: New file.
40443 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40445         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40446         separate $(objpfx)tst-fopenloc-cmp.out and
40447         $(objpfx)tst-fopenloc-mem.out targets.
40448         (tests): Update dependencies.
40449         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40450         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40451         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40452         (tst-rxspencer-no-utf8-ARGS): New variable.
40453         (tst-rxspencer-no-utf8-ENV): Likewise.
40454         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40455         instead of $(objpfx)tst-rxspencer-mem.
40456         ($(objpfx)tst-rxspencer-mem): Change target to
40457         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40458         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40459         * posix/tst-rxspencer-no-utf8.c: New file.
40461         * elf/Makefile ($(objpfx)order.out): Remove rule.
40462         [$(run-built-tests) = yes] (tests): Depend on
40463         $(objpfx)order-cmp.out.
40464         ($(objpfx)order-cmp.out): New rule.
40465         [$(run-built-tests) = yes] (tests): Depend on
40466         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40467         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40468         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40469         $(objpfx)tst-array5-static-cmp.out.
40470         ($(objpfx)tst-array1.out): Remove rule.
40471         ($(objpfx)tst-array1-cmp.out): New rule.
40472         ($(objpfx)tst-array1-static.out): Remove rule.
40473         ($(objpfx)tst-array1-static-cmp.out): New rule.
40474         ($(objpfx)tst-array2.out): Remove rule.
40475         ($(objpfx)tst-array2-cmp.out): New rule.
40476         ($(objpfx)tst-array3.out): Remove rule.
40477         ($(objpfx)tst-array3-cmp.out): New rule.
40478         ($(objpfx)tst-array4.out): Remove rule.
40479         ($(objpfx)tst-array4-cmp.out): New rule.
40480         ($(objpfx)tst-array5.out): Remove rule.
40481         ($(objpfx)tst-array5-cmp.out): New rule.
40482         ($(objpfx)tst-array5-static.out): Remove rule.
40483         ($(objpfx)tst-array5-static-cmp.out): New rule.
40484         [$(run-built-tests) = yes] (tests): Depend on
40485         $(objpfx)order2-cmp.out.
40486         ($(objpfx)order2.out): Remove rule.
40487         ($(objpfx)order2-cmp.out): New rule.
40488         ($(objpfx)tst-initorder.out): Remove rule.
40489         [$(run-built-tests) = yes] (tests): Depend on
40490         $(objpfx)tst-initorder-cmp.out.
40491         ($(objpfx)tst-initorder-cmp.out): New rule.
40492         ($(objpfx)tst-initorder2.out): Remove rule.
40493         [$(run-built-tests) = yes] (tests): Depend on
40494         $(objpfx)tst-initorder2-cmp.out.
40495         ($(objpfx)tst-initorder2-cmp.out): New rule.
40496         [$(run-built-tests) = yes] (tests): Depend on
40497         $(objpfx)tst-unused-dep-cmp.out.
40498         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40499         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40500         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40501         on $(objpfx)tst-setvbuf1-cmp.out.
40502         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40503         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40504         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40505         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40506         ($(objpfx)tst-svc.out): Remove rule.
40507         ($(objpfx)tst-svc-cmp.out): New rule.
40509 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40511         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40512         * ctype/ctype.h [__USE_MISC]: Likewise.
40513         * dirent/dirent.h [__USE_MISC]: Likewise.
40514         * grp/grp.h [__USE_MISC]: Likewise.
40515         * io/fcntl.h [__USE_MISC]: Likewise.
40516         * io/sys/stat.h [__USE_MISC]: Likewise.
40517         * libio/stdio.h [__USE_MISC]: Likewise.
40518         * posix/unistd.h [__USE_MISC]: Likewise.
40519         * pwd/pwd.h [__USE_MISC]: Likewise.
40520         * stdlib.h [__USE_MISC]: Likewise.
40521         * string/bits/string2.h [__USE_MISC]: Likewise.
40522         * string/string.h [__USE_MISC]: Likewise.
40523         * time/time.h [__USE_MISC]: Likewise.
40525 2014-02-13  Andreas Schwab  <schwab@suse.de>
40527         [BZ #16574]
40528         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40529         second answer buffer if it was separately allocated.
40531 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40533         * sysdeps/mips/math-tests.h: Include <features.h>.
40534         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40535         (ROUNDING_TESTS_long_double): Do not define.
40536         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40537         (EXCEPTION_TESTS_long_double): Likewise.
40538         * sysdeps/mips/mips64/libm-test-ulps: Update.
40540         * include/features.h (__USE_BSD): Remove macro definitions.
40541         (__USE_SVID): Likewise.
40542         (_BSD_SOURCE): Likewise.
40543         (_SVID_SOURCE): Likewise.
40544         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40545         from definition of _DEFAULT_SOURCE.
40546         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40547         [_DEFAULT_SOURCE].
40548         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40549         * bits/mman.h [__USE_BSD]: Likewise.
40550         * bits/termios.h [__USE_BSD]: Likewise.
40551         * bits/waitstatus.h [__USE_BSD]: Likewise.
40552         * ctype/ctype.h [__USE_SVID]: Likewise.
40553         * dirent/dirent.h [__USE_BSD]: Likewise.
40554         * grp/grp.h [__USE_SVID]: Likewise.
40555         [__USE_BSD]: Likewise.
40556         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40557         * io/fcntl.h [__USE_BSD]: Likewise.
40558         * io/ftw.h [__USE_BSD]: Likewise.
40559         * io/sys/stat.h [__USE_BSD]: Likewise.
40560         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40561         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40562         * libio/stdio.h [__USE_SVID]: Likewise.
40563         [__USE_BSD]: Likewise.
40564         * math/math.h [__USE_SVID]: Likewise.
40565         [__USE_BSD]: Likewise.
40566         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40567         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40568         * misc/search.h [__USE_SVID]: Likewise.
40569         * misc/sys/mman.h [__USE_BSD]: Likewise.
40570         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40571         * misc/sys/uio.h [__USE_BSD]: Likewise.
40572         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40573         * posix/glob.h [__USE_BSD]: Likewise.
40574         * posix/regex.h [__USE_BSD]: Likewise.
40575         * posix/sys/types.h [__USE_BSD]: Likewise.
40576         [__USE_SVID]: Likewise.
40577         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40578         * posix/sys/wait.h [__USE_BSD]: Likewise.
40579         [__USE_SVID]: Likewise.
40580         * posix/unistd.h [__USE_BSD]: Likewise.
40581         [__USE_SVID]: Likewise.
40582         * pwd/pwd.h [__USE_SVID]: Likewise.
40583         * resolv/netdb.h [__USE_BSD]: Likewise.
40584         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40585         * signal/signal.h [__USE_BSD]: Likewise.
40586         [__USE_SVID]: Likewise.
40587         * socket/sys/socket.h [__USE_BSD]: Likewise.
40588         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40589         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40590         [__USE_SVID]: Likewise.
40591         * string/bits/string2.h [__USE_BSD]: Likewise.
40592         [__USE_SVID]: Likewise.
40593         * string/bits/string3.h [__USE_BSD]: Likewise.
40594         * string/endian.h [__USE_BSD]: Likewise.
40595         * string/string.h [__USE_SVID]: Likewise.
40596         [__USE_BSD]: Likewise.
40597         * string/strings.h [__USE_BSD]: Likewise.
40598         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40599         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40600         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40601         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40602         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40603         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40604         Likewise.
40605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40606         Likewise.
40607         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40608         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40609         Likewise.
40610         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40611         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40612         Likewise.
40613         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40614         Likewise.
40615         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40616         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40617         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40618         Likewise.
40619         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40620         Likewise.
40621         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40622         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40623         * termios/termios.h [__USE_BSD]: Likewise.
40624         * time/sys/time.h [__USE_BSD]: Likewise.
40625         * time/time.h [__USE_BSD]: Likewise.
40626         [__USE_SVID]: Likewise.
40628         * Makefile (subdir_targets): Remove subdir_lint.out.
40630         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40631         (do-tst-printf): Likewise.
40632         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40633         $(objpfx)tst-printf.out.
40635         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40637         * Makerules (check-abi-%): Change target to
40638         $(objpfx)check-abi-%.out.
40639         (check-abi target): Update dependencies.
40640         (check-abi-pattern variable): Redirect output of diff to $@.
40641         (check-abi variable): Likewise.
40642         * elf/Makefile (check-abi): Update dependencies.
40644         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40645         unused.
40646         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40647         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40648         subnormal range.
40649         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40650         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40651         value has largest subnormal exponent.
40652         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40653         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40654         * sysdeps/aarch64/soft-fp/sfp-machine.h
40655         (_FP_TININESS_AFTER_ROUNDING): New macro.
40656         * sysdeps/alpha/soft-fp/sfp-machine.h
40657         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40658         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40659         Likewise.
40660         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40661         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40662         * sysdeps/mips/soft-fp/sfp-machine.h
40663         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40664         * sysdeps/powerpc/soft-fp/sfp-machine.h
40665         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40666         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40667         Likewise.
40668         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40669         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40670         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40671         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40672         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40673         Likewise.
40675 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40677         [BZ #16545]
40678         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40679         model 1.
40681 2014-02-12  Richard Henderson  <rth@redhat.com>
40683         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40684         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40685         * sysdeps/unix/sysv/linux/alpha: Move directory from
40686         ports/sysdeps/unix/sysv/linux/alpha.
40687         * README: Update listing for alpha-*-linux-gnu.
40689 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40691         * include/features.h: Update comment documenting feature test
40692         macros.
40693         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40694         _DEFAULT_SOURCE.
40695         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40696         (_SVID_SOURCE): Likewise.
40697         (_DEFAULT_SOURCE): Update description of default features.
40698         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40699         with _GNU_SOURCE.
40700         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40701         (S_ISVTX): Likewise.
40702         * manual/math.texi (Mathematical Constants): Likewise.
40703         * manual/signal.texi (Interrupted Primitives): Likewise.
40704         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40705         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40706         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40707         Don't refer to _SVID_SOURCE in warning text.
40709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40711         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40712         already defined.
40713         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40714         * sysdeps/mips/dl-lookup.c: Remove.
40715         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40717 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40719         [BZ #16447]
40720         * math/auto-libm-test-in: Add testcase for expl.
40721         * math/auto-libm-test-out: Regenerate.
40722         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40723         calculation of unsafe.
40724         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40726 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40728         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40729         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40730         ports/sysdeps/unix/sysv/linux/aarch64.
40731         * README: Update listing for aarch64*-*-linux-gnu.
40733 2014-02-11  Will Newton  <will.newton@linaro.org>
40735         * manual/probes.texi (Mathematical Function Probes): Use
40736         "triggered" instead of "hit".
40738         * manual/probes.texi (Internal Probes): Add documentation
40739         of setjmp, longjmp and longjmp_target probes.
40741         * include/stap-probe.h: Add comment about probe argument
40742         format.
40744         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40745         definition.  (tr_where, tr_freehook, tr_mallochook,
40746         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40748 2014-02-11  David S. Miller  <davem@davemloft.net>
40750         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40751         processing int_tests.
40753 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40755         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40756         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40757         * sysdeps/unix/sysv/linux/mips: Move directory from
40758         ports/sysdeps/unix/sysv/linux/mips.
40759         * README: Update listing for mips-*-linux-gnu and
40760         mips64-*-linux-gnu.
40762 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40764         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40765         * sysdeps/unix/sysv/linux/m68k: Move directory from
40766         ports/sysdeps/unix/sysv/linux/m68k.
40767         * README: Update listing for m68k-*-linux-gnu.
40769 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40771         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40772         * sysdeps/unix/sysv/linux/generic: Move directory from
40773         ports/sysdeps/unix/sysv/linux/generic.
40774         * sysdeps/unix/sysv/linux/tile: Move directory from
40775         ports/sysdeps/unix/sysv/linux/tile.
40776         * README: Update listing for tile*-*-linux-gnu.
40778 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40780         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40781         __builtin_expect.
40782         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40783         * catgets/open_catalog.c (__open_catalog): Likewise.
40784         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40785         * debug/confstr_chk.c: Likewise.
40786         * debug/fread_chk.c (__fread_chk): Likewise.
40787         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40788         * debug/getgroups_chk.c: Likewise.
40789         * debug/mbsnrtowcs_chk.c: Likewise.
40790         * debug/mbsrtowcs_chk.c: Likewise.
40791         * debug/mbstowcs_chk.c: Likewise.
40792         * debug/memcpy_chk.c: Likewise.
40793         * debug/memmove_chk.c: Likewise.
40794         * debug/mempcpy_chk.c: Likewise.
40795         * debug/memset_chk.c: Likewise.
40796         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40797         * debug/strcat_chk.c (__strcat_chk): Likewise.
40798         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40799         * debug/strncat_chk.c (__strncat_chk): Likewise.
40800         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40801         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40802         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40803         * debug/wcpncpy_chk.c: Likewise.
40804         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40805         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40806         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40807         * debug/wcsncpy_chk.c: Likewise.
40808         * debug/wcsnrtombs_chk.c: Likewise.
40809         * debug/wcsrtombs_chk.c: Likewise.
40810         * debug/wcstombs_chk.c: Likewise.
40811         * debug/wmemcpy_chk.c: Likewise.
40812         * debug/wmemmove_chk.c: Likewise.
40813         * debug/wmempcpy_chk.c: Likewise.
40814         * debug/wmemset_chk.c: Likewise.
40815         * dirent/scandirat.c (SCANDIRAT): Likewise.
40816         * dlfcn/dladdr1.c (dladdr1): Likewise.
40817         * dlfcn/dladdr.c (dladdr): Likewise.
40818         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40819         * dlfcn/dlerror.c (__dlerror): Likewise.
40820         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40821         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40822         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40823         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40824         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40825         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40826         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40827         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40828         Likewise.
40829         * elf/dl-conflict.c: Likewise.
40830         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40831         * elf/dl-dst.h: Likewise.
40832         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40833         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40834         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40835         * elf/dl-init.c (call_init, _dl_init): Likewise.
40836         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40837         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40838         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40839         Likewise.
40840         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40841         Likewise.
40842         * elf/dl-minimal.c (__libc_memalign): Likewise.
40843         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40844         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40845         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40846         * elf/dl-sym.c (do_sym): Likewise.
40847         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40848         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40849         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40850         * elf/dl-writev.h (_dl_writev): Likewise.
40851         * elf/ldconfig.c (search_dir): Likewise.
40852         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40853         (dl_main): Likewise.
40854         * elf/setup-vdso.h (setup_vdso): Likewise.
40855         * grp/compat-initgroups.c (compat_call): Likewise.
40856         * grp/fgetgrent.c (fgetgrent): Likewise.
40857         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40858         * grp/putgrent.c (putgrent): Likewise.
40859         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40860         Likewise.
40861         * hurd/hurdinit.c: Likewise.
40862         * iconvdata/8bit-gap.c (struct): Likewise.
40863         * iconvdata/ansi_x3.110.c : Likewise.
40864         * iconvdata/big5.c : Likewise.
40865         * iconvdata/big5hkscs.c : Likewise.
40866         * iconvdata/cp1255.c: Likewise.
40867         * iconvdata/cp1258.c : Likewise.
40868         * iconvdata/cp932.c : Likewise.
40869         * iconvdata/euc-cn.c: Likewise.
40870         * iconvdata/euc-jisx0213.c : Likewise.
40871         * iconvdata/euc-jp.c: Likewise.
40872         * iconvdata/euc-jp-ms.c : Likewise.
40873         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40874         * iconvdata/gb18030.c : Likewise.
40875         * iconvdata/gbbig5.c (const): Likewise.
40876         * iconvdata/gbgbk.c: Likewise.
40877         * iconvdata/gbk.c : Likewise.
40878         * iconvdata/ibm1364.c : Likewise.
40879         * iconvdata/ibm930.c : Likewise.
40880         * iconvdata/ibm932.c: Likewise.
40881         * iconvdata/ibm933.c : Likewise.
40882         * iconvdata/ibm935.c : Likewise.
40883         * iconvdata/ibm937.c : Likewise.
40884         * iconvdata/ibm939.c : Likewise.
40885         * iconvdata/ibm943.c: Likewise.
40886         * iconvdata/iso_11548-1.c: Likewise.
40887         * iconvdata/iso-2022-cn.c : Likewise.
40888         * iconvdata/iso-2022-cn-ext.c : Likewise.
40889         * iconvdata/iso-2022-jp-3.c: Likewise.
40890         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40891         * iconvdata/iso-2022-kr.c : Likewise.
40892         * iconvdata/iso646.c (gconv_end): Likewise.
40893         * iconvdata/iso_6937-2.c : Likewise.
40894         * iconvdata/iso_6937.c : Likewise.
40895         * iconvdata/iso8859-1.c: Likewise.
40896         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40897         * iconvdata/shift_jisx0213.c : Likewise.
40898         * iconvdata/sjis.c : Likewise.
40899         * iconvdata/t.61.c : Likewise.
40900         * iconvdata/tcvn5712-1.c : Likewise.
40901         * iconvdata/tscii.c: Likewise.
40902         * iconvdata/uhc.c : Likewise.
40903         * iconvdata/unicode.c (gconv_end): Likewise.
40904         * iconvdata/utf-16.c (gconv_end): Likewise.
40905         * iconvdata/utf-32.c (gconv_end): Likewise.
40906         * iconvdata/utf-7.c (base64): Likewise.
40907         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40908         * iconv/gconv_close.c (__gconv_close): Likewise.
40909         * iconv/gconv_open.c (__gconv_open): Likewise.
40910         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40911         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40912         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40913         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40914         (ucs4le_internal_loop_single): Likewise.
40915         * iconv/iconv.c (iconv): Likewise.
40916         * iconv/iconv_close.c: Likewise.
40917         * iconv/loop.c (SINGLE): Likewise.
40918         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40919         * include/atomic.h: Likewise.
40920         * inet/inet6_option.c (option_alloc): Likewise.
40921         * intl/bindtextdom.c (set_binding_values): Likewise.
40922         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40923         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40924         * intl/localealias.c (read_alias_file): Likewise.
40925         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40926         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40927         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40928         * libio/fmemopen.c (fmemopen): Likewise.
40929         * libio/iofgets.c (_IO_fgets): Likewise.
40930         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40931         * libio/iofgetws.c (fgetws): Likewise.
40932         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40933         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40934         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40935         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40936         * locale/findlocale.c (_nl_find_locale): Likewise.
40937         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40938         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40939         Likewise.
40940         * locale/setlocale.c (setlocale): Likewise.
40941         * login/programs/pt_chown.c (main): Likewise.
40942         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40943         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40944         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40945         (mmap, mmap64, mremap, munmap): Likewise.
40946         * math/e_exp2l.c: Likewise.
40947         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40948         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40949         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40950         * math/s_catan.c (__catan): Likewise.
40951         * math/s_catanf.c (__catanf): Likewise.
40952         * math/s_catanh.c (__catanh): Likewise.
40953         * math/s_catanhf.c (__catanhf): Likewise.
40954         * math/s_catanhl.c (__catanhl): Likewise.
40955         * math/s_catanl.c (__catanl): Likewise.
40956         * math/s_ccosh.c (__ccosh): Likewise.
40957         * math/s_ccoshf.c (__ccoshf): Likewise.
40958         * math/s_ccoshl.c (__ccoshl): Likewise.
40959         * math/s_cexp.c (__cexp): Likewise.
40960         * math/s_cexpf.c (__cexpf): Likewise.
40961         * math/s_cexpl.c (__cexpl): Likewise.
40962         * math/s_clog10.c (__clog10): Likewise.
40963         * math/s_clog10f.c (__clog10f): Likewise.
40964         * math/s_clog10l.c (__clog10l): Likewise.
40965         * math/s_clog.c (__clog): Likewise.
40966         * math/s_clogf.c (__clogf): Likewise.
40967         * math/s_clogl.c (__clogl): Likewise.
40968         * math/s_csin.c (__csin): Likewise.
40969         * math/s_csinf.c (__csinf): Likewise.
40970         * math/s_csinh.c (__csinh): Likewise.
40971         * math/s_csinhf.c (__csinhf): Likewise.
40972         * math/s_csinhl.c (__csinhl): Likewise.
40973         * math/s_csinl.c (__csinl): Likewise.
40974         * math/s_csqrt.c (__csqrt): Likewise.
40975         * math/s_csqrtf.c (__csqrtf): Likewise.
40976         * math/s_csqrtl.c (__csqrtl): Likewise.
40977         * math/s_ctan.c (__ctan): Likewise.
40978         * math/s_ctanf.c (__ctanf): Likewise.
40979         * math/s_ctanh.c (__ctanh): Likewise.
40980         * math/s_ctanhf.c (__ctanhf): Likewise.
40981         * math/s_ctanhl.c (__ctanhl): Likewise.
40982         * math/s_ctanl.c (__ctanl): Likewise.
40983         * math/w_pow.c: Likewise.
40984         * math/w_powf.c: Likewise.
40985         * math/w_powl.c: Likewise.
40986         * math/w_scalb.c (sysv_scalb): Likewise.
40987         * math/w_scalbf.c (sysv_scalbf): Likewise.
40988         * math/w_scalbl.c (sysv_scalbl): Likewise.
40989         * misc/error.c (error_tail): Likewise.
40990         * misc/pselect.c (__pselect): Likewise.
40991         * nis/nis_callback.c (__nis_create_callback): Likewise.
40992         * nis/nis_call.c (__nisfind_server): Likewise.
40993         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40994         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40995         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40996         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40997         * nis/nis_lookup.c (nis_lookup): Likewise.
40998         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40999         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41000         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41001         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41002         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41003         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41004         * nis/nss_compat/compat-initgroups.c (add_group)
41005         (internal_getgrent_r): Likewise.
41006         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41007         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41008         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41009         (internal_getspnam_r): Likewise.
41010         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41011         (_nss_nis_getaliasbyname_r): Likewise.
41012         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41013         (_nss_nis_getntohost_r): Likewise.
41014         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41015         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41016         (_nss_nis_getgrgid_r): Likewise.
41017         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41018         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41019         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41020         (_nss_nis_gethostbyname4_r): Likewise.
41021         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41022         (initgroups_netid): Likewise.
41023         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41024         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41025         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41026         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41027         (_nss_nis_getprotobynumber_r): Likewise.
41028         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41029         (_nss_nis_getsecretkey): Likewise.
41030         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41031         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41032         (_nss_nis_getpwuid_r): Likewise.
41033         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41034         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41035         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41036         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41037         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41038         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41039         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41040         Likewise.
41041         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41042         (_nss_nisplus_getntohost_r): Likewise.
41043         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41044         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41045         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41046         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41047         Likewise.
41048         * nis/nss_nisplus/nisplus-initgroups.c
41049         (_nss_nisplus_initgroups_dyn): Likewise.
41050         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41051         (_nss_nisplus_getnetbyaddr_r): Likewise.
41052         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41053         (_nss_nisplus_getprotobynumber_r): Likewise.
41054         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41055         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41056         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41057         Likewise.
41058         * nis/nss_nisplus/nisplus-service.c
41059         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41060         (_nss_nisplus_getservbyport_r): Likewise.
41061         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41062         (_nss_nisplus_getspnam_r): Likewise.
41063         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41064         Likewise.
41065         * nscd/aicache.c (addhstaiX): Likewise.
41066         * nscd/cache.c (cache_search, prune_cache): Likewise.
41067         * nscd/connections.c (register_traced_file, send_ro_fd)
41068         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41069         (main_loop_epoll): Likewise.
41070         * nscd/grpcache.c (addgrbyX): Likewise.
41071         * nscd/hstcache.c (addhstbyX): Likewise.
41072         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41073         * nscd/mem.c (gc, mempool_alloc): Likewise.
41074         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41075         (addinnetgrX): Likewise.
41076         * nscd/nscd-client.h (__nscd_acquire_maplock)
41077         (__nscd_drop_map_ref): Likewise.
41078         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41079         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41080         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41081         Likewise.
41082         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41083         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41084         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41085         (__nscd_get_map_ref): Likewise.
41086         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41087         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41088         Likewise.
41089         * nscd/pwdcache.c (addpwbyX): Likewise.
41090         * nscd/selinux.c (preserve_capabilities): Likewise.
41091         * nscd/servicescache.c (addservbyX): Likewise.
41092         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41093         * posix/fnmatch.c (fnmatch): Likewise.
41094         * posix/getopt.c (_getopt_internal_r): Likewise.
41095         * posix/glob.c (glob, glob_in_dir): Likewise.
41096         * posix/wordexp.c (exec_comm_child): Likewise.
41097         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41098         (getanswer_r, gaih_getanswer_slice): Likewise.
41099         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41100         * resolv/res_init.c: Likewise.
41101         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41102         * resolv/res_query.c (__libc_res_nquery): Likewise.
41103         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41104         Likewise.
41105         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41106         * stdio-common/perror.c (perror): Likewise.
41107         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41108         * stdio-common/tmpnam.c (tmpnam): Likewise.
41109         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41110         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41111         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41112         Likewise.
41113         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41114         * stdlib/putenv.c (putenv): Likewise.
41115         * stdlib/setenv.c (__add_to_environ): Likewise.
41116         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41117         * stdlib/strtol_l.c (INTERNAL): Likewise.
41118         * string/memmem.c (memmem): Likewise.
41119         * string/strerror.c (strerror): Likewise.
41120         * string/strnlen.c (__strnlen): Likewise.
41121         * string/test-memmem.c (simple_memmem): Likewise.
41122         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41123         * sunrpc/pm_getport.c (__get_socket): Likewise.
41124         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41125         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41126         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41127         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41128         Likewise.
41129         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41130         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41131         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41132         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41133         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41134         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41135         Likewise.
41136         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41137         Likewise.
41138         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41139         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41140         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41141         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41142         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41144         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41145         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41146         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41147         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41148         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41149         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41150         Likewise.
41151         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41152         Likewise.
41153         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41154         Likewise.
41155         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41156         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41157         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41158         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41159         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41160         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41161         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41163         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41164         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41165         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41166         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41167         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41168         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41169         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41170         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41171         Likewise.
41172         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41173         Likewise.
41174         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41175         Likewise.
41176         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41177         Likewise.
41178         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41179         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41180         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41181         Likewise.
41182         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41183         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41184         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41185         * sysdeps/posix/sleep.c: Likewise.
41186         * sysdeps/posix/tempname.c: Likewise.
41187         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41188         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41189         Likewise.
41190         * sysdeps/powerpc/powerpc32/dl-machine.h
41191         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41192         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41194         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41195         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41196         Likewise.
41197         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41198         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41199         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41200         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41201         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41202         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41203         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41204         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41205         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41206         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41207         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41208         (elf_machine_lazy_rel): Likewise.
41209         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41210         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41211         (elf_machine_lazy_rel): Likewise.
41212         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41213         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41214         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41215         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41216         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41217         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41218         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41219         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41220         Likewise.
41221         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41222         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41223         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41224         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41225         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41226         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41227         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41228         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41229         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41230         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41231         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41232         Likewise.
41233         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41234         (__posix_fallocate64_l64): Likewise.
41235         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41236         (posix_fallocate): Likewise.
41237         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41238         Likewise.
41239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41240         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41241         (getifaddrs_internal): Likewise.
41242         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41243         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41244         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41245         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41246         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41247         (__posix_fallocate64_l64): Likewise.
41248         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41249         Likewise.
41250         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41251         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41252         (__get_clockfreq): Likewise.
41253         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41254         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41255         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41258         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41259         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41261         Likewise.
41262         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41263         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41264         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41265         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41266         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41267         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41268         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41269         Likewise.
41270         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41271         (posix_fallocate): Likewise.
41272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41273         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41274         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41275         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41276         (elf_machine_rela, elf_machine_rela_relative)
41277         (elf_machine_lazy_rel): Likewise.
41278         * time/asctime.c (asctime_internal): Likewise.
41279         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41280         * time/tzset.c (__tzset_parse_tz): Likewise.
41281         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41282         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41283         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41284         * wcsmbs/wcsmbsload.h: Likewise.
41286         [BZ #15894]
41287         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41289         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41290         (arena_get2): Remove THREAD_STATS conditionals.
41291         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41292         (__malloc_stats, int): Likewise.
41294 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41296         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41297         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41299         * manual/setjmp.texi: Fix typos/grammar errors.
41301         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41302         Only return early when n is <= 0.  Delete unused return statement.
41304         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41305         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41306         * debug/tst-longjmp_chk3.c: New file.
41308         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41309         (test_main): Replace code with set_fortify_handler call.
41310         * debug/test-strcpy_chk.c: Likewise.
41311         * debug/tst-chk1.c: Likewise.
41312         * debug/tst-longjmp_chk.c: Likewise.
41313         * test-skeleton.c: Include fcntl.h & paths.h
41314         (set_fortify_handler): Define.
41316         * debug/tst-longjmp_chk.c: Add header comment and include
41317         ../test-skeleton.c.
41318         (do_test): Mark static.
41319         (TEST_FUNCTION): Define.
41321         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41322         (IP_PMTUDISC_INTERFACE): Likewise.
41323         (IP_MULTICAST_IF): Likewise.
41324         (IP_MULTICAST_TTL): Likewise.
41325         (IP_MULTICAST_LOOP): Likewise.
41326         (IP_ADD_MEMBERSHIP): Likewise.
41327         (IP_DROP_MEMBERSHIP): Likewise.
41328         (IP_UNBLOCK_SOURCE): Likewise.
41329         (IP_BLOCK_SOURCE): Likewise.
41330         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41331         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41332         (IP_MSFILTER): Likewise.
41333         (MCAST_JOIN_GROUP): Likewise.
41334         (MCAST_BLOCK_SOURCE): Likewise.
41335         (MCAST_UNBLOCK_SOURCE): Likewise.
41336         (MCAST_LEAVE_GROUP): Likewise.
41337         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41338         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41339         (MCAST_MSFILTER): Likewise.
41340         (IP_MULTICAST_ALL): Likewise.
41341         (IP_UNICAST_IF): Likewise.
41343         * timezone/Makefile: Delete $(have-ksh) check.
41344         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41345         * timezone/tzselect.ksh: Add +x mode bits.
41347         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41348         (ANON_INODE_FS_MAGIC): Likewise.
41349         (BDEVFS_MAGIC): Likewise.
41350         (BINFMTFS_MAGIC): Likewise.
41351         (BTRFS_TEST_MAGIC): Likewise.
41352         (CRAMFS_MAGIC_WEND): Likewise.
41353         (DEBUGFS_MAGIC): Likewise.
41354         (ECRYPTFS_SUPER_MAGIC): Likewise.
41355         (EXT3_SUPER_MAGIC): Likewise.
41356         (EXT4_SUPER_MAGIC): Likewise.
41357         (FUTEXFS_SUPER_MAGIC): Likewise.
41358         (HOSTFS_SUPER_MAGIC): Likewise.
41359         (HUGETLBFS_MAGIC): Likewise.
41360         (MINIX3_SUPER_MAGIC): Likewise.
41361         (MTD_INODE_FS_MAGIC): Likewise.
41362         (NILFS_SUPER_MAGIC): Likewise.
41363         (OPENPROM_SUPER_MAGIC): Likewise.
41364         (PIPEFS_MAGIC): Likewise.
41365         (PSTOREFS_MAGIC): Likewise.
41366         (QNX6_SUPER_MAGIC): Likewise.
41367         (RAMFS_MAGIC): Likewise.
41368         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41369         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41370         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41371         (SECURITYFS_MAGIC): Likewise.
41372         (SELINUX_MAGIC): Likewise.
41373         (SMACK_MAGIC): Likewise.
41374         (SOCKFS_MAGIC): Likewise.
41375         (SQUASHFS_MAGIC): Likewise.
41376         (STACK_END_MAGIC): Likewise.
41377         (TMPFS_MAGIC): Likewise.
41378         (USBDEVICE_SUPER_MAGIC): Likewise.
41379         (V9FS_MAGIC): Likewise.
41380         (XENFS_SUPER_MAGIC): Likewise.
41381         (CRAMFS_MAGIC): Fix typo in comment.
41382         (EXT2_SUPER_MAGIC): Update comment.
41383         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41385 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41387         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41388         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41389         * sysdeps/unix/sysv/linux/arm: Move directory from
41390         ports/sysdeps/unix/sysv/linux/arm.
41391         * README: Update listing for arm-*-linux-gnueabi.
41393         * README: Remove mention of am33.
41395 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41397         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41398         than the comma operator, to avoid "rhs of comma has no effect"
41399         compiler warnings.
41400         (__sigfillset, __sigandset, __sigorset): Likewise.
41401         * include/signal.h (__sigemptyset): Likewise.
41402         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41404 2014-02-07  Allan McRae  <allan@archlinux.org>
41406         * version.h (RELEASE): Set to "development".
41407         (VERSION): Set to "2.19.90"
41408         * NEWS: Add 2.20 section.
41410 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41412         [BZ #16529]
41413         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41415 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41417         * manual/contrib.texi: Update entry for Carlos O'Donell,
41418         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41420 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41422         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41424         * sysdeps/unix/sysv/linux/kernel-features.h
41425         [__LINUX_KERNEL_VERSION >= 0x020621]
41426         (__ASSUME_PROC_PID_TASK_COMM): Define.
41428 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41430         [BZ #16398]
41431         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41432         conversion when destination buffer does not have enough space.
41433         * libio/tst-ftell-partial-wide.c: New test case.
41434         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41436         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41437         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41438         Leonard and Allan McRae.
41440 2014-02-04  David S. Miller  <davem@davemloft.net>
41442         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41443         32-bit.
41445 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41448         New file
41449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41450         New file
41451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41452         New file.
41453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41454         New file.
41455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41456         New file.
41457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41458         New file.
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41460         New file.
41461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41462         New file.
41463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41464         New file.
41465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41466         New file.
41467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41468         New file.
41469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41470         New file.
41471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41472         New file.
41474 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41476         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41477         * shlib-versions: Likewise.
41479 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41480             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41482         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41483         (abilist-pattern): New variable, set to %-le.abilist.
41485         * Makerules (abilist-pattern): New variable.
41486         (vpath): Use $(abilist-pattern) in place of %.abilist.
41487         (check-abi-% pattern rule): Likewise.
41488         (check-abi, update-abi): Likewise.
41490 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41494 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41496         * manual/startup.texi: Add next, previous, and top entries for
41497         the `Program Arguments' and `Environment Variables' nodes.
41499 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41501         * manual/macros.texi: Add comments before MTASC-safety macros.
41503         * manual/users.texi: Document MTASC-safety properties.
41505         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41506         (pthread_getspecific, pthread_setspecific): Format with
41507         @deftypefun, and add @safety note.
41508         * manual/signal.texi: Move comments that analyze the above
41509         functions to their home place.
41511 2014-02-03  Allan McRae  <allan@archlinux.org>
41513         * po/sl.po: Update Slovenian translation from translation project.
41515 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41517         * manual/time.texi (timegm): Add missing blank after @c.
41518         Reported by Joseph Myers <joseph@codesourcery.com>.
41520 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41522         * manual/check-safety.sh: New.
41523         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41525         * manual/terminal.texi: Document MTASC-safety properties.
41527         * manual/filesys.texi: Document MTASC-safety properties.
41529         * manual/errno.texi: Document MTASC-safety properties.
41531         * manual/intro.texi: Document safety identifiers and
41532         conditionals.
41534         * manual/string.texi (wcstok): Fix prototype.
41535         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41537         * manual/time.texi: Document MTASC-safety properties.
41539         * manual/string.texi: Document MTASC-safety properties.
41541         * manual/threads.texi: Document MTASC-safety properties.
41543         * manual/stdio.texi: Document MTASC-safety properties.
41545         * manual/syslog.texi: Document MTASC-safety properties.
41547         * manual/sysinfo.texi: Document MTASC-safety properties.
41549         * manual/startup.texi: Document MTASC-safety properties.
41551         * manual/socket.texi: Document MTASC-safety properties.
41553         * manual/signal.texi: Document MTASC-safety properties.
41555 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41557         * manual/setjmp.texi: Document MTASC-safety properties.
41559         * manual/search.texi: Document MTASC-safety properties.
41561         * manual/resource.texi: Document MTASC-safety properties.
41563         * manual/process.texi: Document MTASC-safety properties.
41565         * manual/platform.texi: Document MTASC-safety properties.
41567         * manual/pipe.texi: Document MTASC-safety properties.
41569         * manual/pattern.texi: Document MTASC-safety properties.
41571         * manual/message.texi: Document MTASC-safety properties.
41573         [BZ #12751]
41574         * manual/memory.texi: Document MTASC-safety properties.
41576         * manual/math.texi: Document MTASC-safety properties.
41578         * manual/locale.texi: Document MTASC-safety properties.
41580         * manual/llio.texi: Document MTASC-safety properties.
41582         * manual/libdl.texi: New.
41584         * manual/lang.texi: Document MTASC-safety properties.
41586         * manual/job.texi: Document MTASC-safety properties.
41588         * manual/getopt.texi: Document MTASC-safety properties.
41590         * manual/ctype.texi: Document MTASC-safety properties.
41592 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41594         [BZ #16046]
41595         * csu/libc-tls.c (static_map): Remove variable.
41596         (__libc_setup_tls): Use main executable's link map for TLS data.
41597         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41598         casing for LM_ID_BASE and GL(dl_nns).
41599         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41600         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41601         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41602         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41603         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41604         member.
41605         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41606         l_phnum members.
41608 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41610         * manual/debug.texi: Document MTASC-safety properties.
41612 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41614         [BZ #16510]
41615         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41616         of __x86_64__ when disabling x87 inline functions.
41618 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41620         * manual/charset.texi: Document MTASC-safety properties.
41622         * manual/crypt.texi: Document MTASC-safety properties.
41624         * manual/conf.texi: Document MTASC-safety properties.
41626         * manual/arith.texi: Document MTASC-safety properties.
41628         * manual/argp.texi: Document MTASC-safety properties.
41630         * manual/macros.texi: Introduce macros to document multi
41631         thread, asynchronous signal and asynchronous cancellation
41632         safety properties.
41633         * manual/intro.texi: Introduce the properties themselves.
41635 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41637         * sysdeps/sh/sh4/Makefile: New file.
41639 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41641         * math/gen-libm-test.pl ($srcdir): New variable.
41642         ($auto_input): Use it.
41644 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41646         [BZ #16506]
41647         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41648         access beyond array bounds when parsing netgroups file.
41650         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41651         the old buffer before realloc.
41653 2014-01-27  Allan McRae  <allan@archlinux.org>
41655         * po/fr.po: Update French translation from translation project.
41657 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41659         * sysdeps/sh/libm-test-ulps: Regenerate.
41661 2014-01-24  David S. Miller  <davem@davemloft.net>
41663         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41665 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41667         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41668         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41670 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41672         [BZ #16474]
41673         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41674         string pointers after reallocation.
41676 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41678         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41679         __SH4A__ instead of __SH_FPU_ANY__.
41681 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41683         * sysdeps/sh/fpu_control.h: New file.
41684         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41685         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41686         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41687         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41688         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41689         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41690         * sysdeps/sh/sys/ucontext.h: Remove.
41691         * sysdeps/sh/sys: Remove directory.
41693 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41695         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41696         s390/sys/ucontext.h.
41697         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41698         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41700 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41702         [BZ #15605]
41703         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41705 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41707         [BZ#16431]
41708         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41709         Adjust the vDSO correctly for internal calls.
41710         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41712 2014-01-20  Allan McRae  <allan@archlinux.org>
41714         * po/ca.po: Update Catalan translation from translation project.
41716 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41718         * sysdeps/s390/sotruss-lib.c: New file.
41720 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41722         [BZ#16430]
41723         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41724         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41725         local calls issues by not having a PLT stub required for IFUNC calls.
41726         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41728 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41730         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41731         * math/test-fpucw-static.c: Likewise.
41733 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41735         [BZ #16453]
41736         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41738 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41740         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41741         implementation for powerpc.
41743 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41745         [BZ #14782]
41746         * sysdeps/posix/system.c (__libc_system): Do not enable
41747         asynchronous cancellation.
41749 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41751         [BZ #16427]
41752         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41753         handling only for numbers special also in the IEEE case.
41755 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41757         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41759 2014-01-11  Allan McRae  <allan@archlinux.org>
41761         * po/bg.po: Update Bulgarian translation from translation project.
41763         * po/de.po: Update German translation from translation project.
41765 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41767         * sysdeps/generic/gcc-compat.h: New file.
41769 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41771         * benchtests/asin-inputs: Correct slow inputs.
41772         * benchtests/acos-inputs: Likewise.
41774 2014-01-10  Allan McRae  <allan@archlinux.org>
41776         * po:sv.po: Update Swedish translation from translation project.
41778         * po/vi.po: Update Vietnamese translation from translation project.
41780         * po/eo.po: Update Esperanto translation from translation project.
41782         * po/cs.po: Update Czech translation from translation project.
41784         * po/nl.po: Update Dutch translation from translation project.
41786         * po/pl.po: Update Polish translation from translation project.
41788         * po/ru.po: Update Russian translation from translation project.
41790         * po/uk.po: Update Ukrainian translation from translation project.
41792 2014-01-08  Brooks Moses  <bmoses@google.com>
41794         * elf/dl-load.c: Fix comment typo.
41796 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41798         * po/header.pot: Rename to...
41799         * po/pot.header: ... this.
41800         * po/Makefile: Use pot.header.
41802 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41803             Maxim Kuvyrkov  <maxim@kugelworks.com>
41805         [BZ #16394]
41806         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41807         SRC and DEST against LEN.
41809 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41811         [BZ #16414]
41812         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41813         implementation.
41814         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41816 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41820 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41822         [BZ #16408]
41823         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41824         for large positive arguments.
41826 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41828         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41830         * math/auto-libm-test-in: Mark various tests with
41831         xfail-rounding:ldbl-128ibm.
41832         * math/auto-libm-test-out: Regenerated.
41834         [BZ #16407]
41835         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41836         Increase overflow threshold.
41838 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41840         [BZ #14286]
41841         * stdio-common/vfprintf.c: Check for integer overflow.
41843 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41845         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41846         the first argument and return value of __tls_get_addr_internal.
41848 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41850         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41851         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41853 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41855         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41856         * sysdeps/s390/rtld-global-offsets.sym: New file.
41857         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41858         GLIBC_2.19 symbol.
41859         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41860         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41861         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41862         ... this.
41863         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41864         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41865         ... this.
41866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41867         Regenerate.
41868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41869         Regenerate.
41870         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41871         halfs of GPRs for high_gprs contexts.
41872         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41873         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41874         field.
41875         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41876         uc_flags field.
41877         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41878         64 bit versions:
41879         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41880         for high GPRs (uc_high_gprs) and for future extensions
41881         (__reserved).
41882         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41883         for future extensions (__reserved).
41884         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41885         64 bit versions:
41886         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41887         SC_HIGHGPRS offset definition.
41888         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41889         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41891         * Versions.def: Add GLIBC_2.19 for libpthread.
41892         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41893         siglongjmp for libpthread with GLIBC_2.19 symver.
41894         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41895         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41896         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41897         * sysdeps/s390/__longjmp.c: New file.
41898         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41899         * sysdeps/s390/longjmp.c: New file.
41900         * sysdeps/s390/setjmp.S: New file.
41901         * sysdeps/s390/sigjmp.S: New file.
41902         * sysdeps/s390/v1-longjmp.c: New file.
41903         * sysdeps/s390/v1-setjmp.h: New file.
41904         * sysdeps/s390/v1-sigjmp.c: New file.
41905         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41906         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41907         GLIBC_2.19 version.
41908         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41909         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41910         versioned symbols for ____longjmp_chk.
41911         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41912         Likewise.
41913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41914         Regenerate.
41915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41916         Regenerate.
41917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41918         Regenerate.
41919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41920         Regenerate.
41921         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41922         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41923         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41924         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41925         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41926         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41927         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41928         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41929         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41930         * sysdeps/s390/rtld-__longjmp.c: New file.
41931         * sysdeps/s390/rtld-setjmp.S: New file.
41933 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41935         [BZ #16400]
41936         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41937         Return -__logl (x) for small positive arguments without evaluating
41938         a polynomial.
41940 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41942         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41943         Rename to ...
41944         (__ptrace_peeksiginfo_args): ... this.
41945         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41946         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41949 2014-01-06  Allan McRae  <allan@archlinux.org>
41951         * inet/netinet/in.h: Fix typo in comment.
41953 2014-01-05  Andreas Jaeger  <aj@suse.de>
41955         * sysdeps/i386/fpu/libm-test-ulps: Update.
41957 2014-01-05  Allan McRae  <allan@archlinux.org>
41959         * po/libc.pot: Regenerated.
41961         * malloc/memusagestat.c: Fix gettext call formatting.
41963 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41965         * nscd/nscd.c: Improve usage() output.
41967 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41969         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41970         * sysdeps/unix/sysv/linux/configure: Regenerated.
41971         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41972         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41974 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41976         [BZ #16390]
41977         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41978         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41980 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41983         extra tokens at end of #undef directive.
41984         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41985         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41986         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41988 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41990         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41992         * math/auto-libm-test-in: Mark various tests with
41993         xfail-rounding:ldbl-128ibm.
41994         * math/auto-libm-test-out: Regenerated.
41996 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41998         [BZ #16386]
41999         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42000         numbers with subnormal high part when calculating exponent.
42002         [BZ #16385]
42003         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42004         fabs.
42006         [BZ #16384]
42007         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42008         M_LN2l.
42009         (__ieee754_acoshl): Use __log1pl not __log1p.
42011 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42013         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42014         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42015         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42016         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42017         (reused_arena, arena_get2): Convert to GNU style.
42018         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42019         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42020         (memalign_check, __malloc_set_state): Likewise.
42021         * malloc/mallocbug.c (main): Likewise.
42022         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42023         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42024         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42025         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42026         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42027         (__posix_memalign, malloc_info): Likewise.
42028         * malloc/malloc.h: Likewise.
42029         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42030         (mallochook, memalignhook, reallochook, mabort): Likewise.
42031         * malloc/mcheck.h: Likewise.
42032         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42033         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42034         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42035         * malloc/morecore.c (__default_morecore): Likewise.
42036         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42037         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42038         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42039         (print_and_abort): Likewise.
42040         * malloc/obstack.h: Likewise.
42041         * malloc/set-freeres.c (__libc_freeres): Likewise.
42042         * malloc/tst-mallocstate.c (main): Likewise.
42043         * malloc/tst-mtrace.c (main): Likewise.
42044         * malloc/tst-realloc.c (do_test): Likewise.
42046 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42048         [BZ #16366]
42049         * nscd/netgroupcache.c (do_notfound): New function.
42050         (addgetnetgrentX): Use it.
42052         [BZ # 16365]
42053         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42054         NSS_STATUS_NOTFOUND.
42056 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42058         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42061 2014-01-01  Allan McRae  <allan@archlinux.org>
42063         * scripts/update-copyrights: Update configure input file suffix.
42065         * NEWS: Update copyright year.
42066         * catgets/gencat.c: Likewise.
42067         * csu/version.c: Likewise.
42068         * debug/catchsegv.sh: Likewise.
42069         * debug/pcprofiledump.c: Likewise.
42070         * debug/xtrace.sh: Likewise.
42071         * elf/ldconfig.c: Likewise.
42072         * elf/ldd.bash.in: Likewise.
42073         * elf/pldd.c: Likewise.
42074         * elf/sotruss.ksh: Likewise.
42075         * elf/sprof.c: Likewise.
42076         * iconv/iconv_prog.c: Likewise.
42077         * iconv/iconvconfig.c: Likewise.
42078         * locale/programs/locale.c: Likewise.
42079         * locale/programs/localedef.c: Likewise.
42080         * login/programs/pt_chown.c: Likewise.
42081         * malloc/memusage.sh: Likewise.
42082         * malloc/memusagestat.c: Likewise.
42083         * malloc/mtrace.pl: Likewise.
42084         * manual/libc.texinfo: Likewise.
42085         * nscd/nscd.c: Likewise.
42086         * nss/getent.c: Likewise.
42087         * nss/makedb.c: Likewise.
42088         * posix/getconf.c: Likewise.
42089         * scripts/test-installation.pl: Likewise.
42091         * All files with FSF copyright notices: Update copyright dates
42092         using scripts/update-copyrights.
42093         * intl/plural.c: Regenerated.
42094         * locale/programs/charmap-kw.h: Likewise.
42095         * locale/programs/locfile-kw.h: Likewise.
42097 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42099         * sysdeps/unix/sysv/linux/configure: Regenerated.
42100         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42101         the linux/fanotify.h header.
42102         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42103         HAVE_LINUX_FANOTIFY_H is defined.
42105 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42107         * benchtests/cos-inputs: New inputs.
42108         * benchtests/sin-inputs: Likewise.
42110         * benchtests/atan-inputs: New inputs. Fix name of multiple
42111         precision fallback inputs.
42113         * benchtests/atanh-inputs: New inputs.
42114         * benchtests/tanh-inputs: Likewise.
42116         * benchtests/acosh-inputs: New inputs.
42117         * benchtests/asinh-inputs: Likewise.
42119         * benchtests/cosh-inputs: New inputs.
42120         * benchtests/sinh-inputs: Likewise.
42122         * benchtests/acos-inputs: Add more inputs.
42123         * benchtests/asin-inputs: Likewise.
42125 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42127         [BZ #16375]
42128         * manual/arith.texi: Fix spelling.
42129         * manual/charset.texi: Likewise.
42130         * manual/errno.texi: Likewise.
42131         * manual/filesys.texi: Likewise.
42132         * manual/lang.texi: Likewise.
42133         * manual/llio.texi: Likewise.
42134         * manual/locale.texi: Likewise.
42135         * manual/message.texi: Likewise.
42136         * manual/resource.texi: Likewise.
42137         * manual/search.texi: Likewise.
42138         * manual/setjmp.texi: Likewise.
42139         * manual/stdio.texi: Likewise.
42140         * manual/string.texi: Likewise.
42141         * manual/sysinfo.texi: Likewise.
42142         * manual/time.texi: Likewise.
42144 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42146         * po/sl.po: New file.
42148 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42150         * .gitignore: Add core/.gdbinit/.gdb_history.
42152 2013-12-27  Allan McRae  <allan@archlinux.org>
42154         [BZ #16369]
42155         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42156         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42158 2013-12-24  Brooks Moses  <bmoses@google.com>
42160         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42161         all compilers that claim C++98 compliance, not just GCC.
42162         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42163         Likewise.
42165 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42167         * NEWS: Restore accidentally deleted bug-fix entries.
42169 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42170             Ondřej Bílka  <neleai@seznam.cz>
42172         [BZ #15073]
42173         * malloc/malloc.c (_int_free): Perform sanity check only if we
42174         have_lock.
42176 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42178         [BZ #12986]
42179         * manual/stdio.texi (String Input Conversions): Clarify that character
42180         classes are not supported.
42182 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42186 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42188         [BZ #16337]
42189         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42190         Calculate results for small negative arguments directly rather
42191         than using reflection formula with special underflow handling.
42193         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42194         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42195         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42196         (fchflags): Likewise.
42197         (revoke): Likewise.
42198         (setlogin): Likewise.
42199         (sigaltstack): Likewise.
42200         (wait4): Likewise.
42201         (sigblock): Remove.
42202         (sigsetmask): Likewise.
42203         (wait3): Likewise.
42204         (waitpid): Likewise.
42205         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42206         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42207         file.
42208         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42209         * sysdeps/unix/bsd/Makefile: ... here.
42210         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42211         * sysdeps/unix/bsd/Versions: ... here.
42212         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42213         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42214         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42215         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42216         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42217         * sysdeps/unix/bsd/sigblock.c: ... here.
42218         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42219         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42220         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42221         * sysdeps/unix/bsd/sigvec.c: ... here.
42222         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42223         * sysdeps/unix/bsd/tcdrain.c: ... here.
42224         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42225         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42226         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42227         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42228         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42229         * sysdeps/unix/bsd/wait.c: ... here.
42230         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42231         * sysdeps/unix/bsd/wait3.c: ... here.
42232         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42233         * sysdeps/unix/bsd/waitpid.c: ... here.
42235 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42237         [BZ #16356]
42238         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42239         round-to-nearest for [!USE_AS_EXPM1L].
42240         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42241         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42242         more tests of exp and exp10.  Expect some exp10 tests to miss
42243         exceptions or fail in directed rounding modes.
42244         * math/auto-libm-test-out: Regenerated.
42245         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42246         (exp10_test_tonearest): New function.
42247         (exp10_towardzero_test_data): New array.
42248         (exp10_test_towardzero): New function.
42249         (exp10_downward_test_data): New array.
42250         (exp10_test_downward): New function.
42251         (exp10_upward_test_data): New array.
42252         (exp10_test_upward): New function.
42253         (main): Call the new functions.
42254         * sysdeps/i386/fpu/libm-test-ulps: Update.
42255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42257 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42259         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42260         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42261         * math/auto-libm-test-out: Regenerated.
42262         * math/libm-test.inc (acosh_test_data): Add more tests.
42263         (atanh_test_data): Likewise.
42264         (ceil_test_data): Likewise.
42265         (copysign_test_data): Likewise.
42266         * sysdeps/i386/fpu/libm-test-ulps: Update.
42267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42269         * timezone/checktab.awk: Update from tzcode 2013i.
42270         * timezone/private.h: Likewise.
42271         * timezone/scheck.c: Likewise.
42272         * timezone/tzfile.h: Likewise.
42273         * timezone/tzselect.ksh: Likewise.
42274         * timezone/zdump.c: Likewise.
42275         * timezone/zic.c: Likewise.
42277         * math/auto-libm-test-in: Add tests of cpow.
42278         * math/auto-libm-test-out: Regenerated.
42279         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42281         mpc_cc_c.
42282         (func_calc_desc): Add mpc_cc_c union field.
42283         (test_functions): Add cpow.
42284         (special_fill_2pi): New function.
42285         (special_real_inputs): Add 2pi.
42286         (calc_generic_results): Handle mpc_cc_c.
42287         * sysdeps/i386/fpu/libm-test-ulps: Update.
42288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42290         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42291         csqrt, ctan and ctanh.
42292         * math/auto-libm-test-out: Regenerated.
42293         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42294         (TEST_COND_x86): Likewise.
42295         (ccos_test_data): Use AUTO_TESTS_c_c.
42296         (ccosh_test_data): Likewise.
42297         (cexp_test_data): Likewise.
42298         (clog_test_data): Likewise.
42299         (csqrt_test_data): Likewise.
42300         (ctan_test_data): Likewise.
42301         (ctan_tonearest_test_data): Likewise.
42302         (ctan_towardzero_test_data): Likewise.
42303         (ctan_downward_test_data): Likewise.
42304         (ctan_upward_test_data): Likewise.
42305         (ctanh_test_data): Likewise.
42306         (ctanh_tonearest_test_data): Likewise.
42307         (ctanh_towardzero_test_data): Likewise.
42308         (ctanh_downward_test_data): Likewise.
42309         (ctanh_upward_test_data): Likewise.
42310         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42311         mpc_c_c.
42312         (func_calc_desc): Add mpc_c_c union field.
42313         (FUNC_mpc_c_c): New macro.
42314         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42315         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42316         ctanh.
42317         (special_fill_min_subnorm_p120): New function.
42318         (special_real_inputs): Add min_subnorm_p120.
42319         (calc_generic_results): Handle mpc_c_c.
42320         * sysdeps/i386/fpu/libm-test-ulps: Update.
42321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42323 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42325         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42326         (do_sin_slow): New functions.
42327         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42328         (cslow2, csloww1, csloww2): Use the new functions.
42330         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42331         Use M to change sign of result instead of X.  Assume X is
42332         positive.
42333         (csloww1): Likewise.
42334         (__sin): Adjust.
42335         (__cos): Adjust.
42337         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42338         arguments A and DA.
42339         (__sin): Adjust.
42340         (__cos): Likewise.
42342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42343         (__cos): Likewise.
42344         (sloww1): Don't adjust sign of DX.
42345         (csloww1): Likewise.
42346         (sloww2): Use X directly and don't adjust sign of DX.
42347         (csloww2): Likewise.
42349 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42351         * math/auto-libm-test-in: Add tests of cabs and carg.
42352         * math/auto-libm-test-out: Regenerated.
42353         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42354         (carg_test_data): Likewise.
42355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42356         mpc_c_f.
42357         (func_calc_desc): Add mpc_c_f union field.
42358         (test_functions): Add cabs and carg.
42359         (calc_generic_results): Handle mpc_c_f.
42361         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42362         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42363         as a macro and a compat symbol.
42364         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42365         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42366         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42367         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42368         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42369         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42370         not use .hidden.
42371         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42372         Likewise.
42373         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42374         Likewise.
42375         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42376         Likewise.
42377         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42378         Likewise.
42379         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42380         Likewise.
42381         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42382         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42383         from GLIBC_2.3.2.
42385 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42389 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42391         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42392         trailing whitespace removed.
42393         * scripts/config.guess: Update to version 2013-11-29.
42394         * scripts/config.sub: Update to version 2013-10-01.
42396         * math/auto-libm-test-in: Add tests of sincos.
42397         * math/auto-libm-test-out: Regenerated.
42398         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42399         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42400         mpfr_f_11.
42401         (func_calc_desc): Add mpfr_f_11 union field.
42402         (test_functions): Add sincos.
42403         (calc_generic_results): Handle mpfr_f_11.
42404         * sysdeps/i386/fpu/libm-test-ulps: Update.
42405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42407 2013-12-19  Andreas Schwab  <schwab@suse.de>
42409         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42410         CALL_MCOUNT.
42411         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42412         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42413         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42415 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42417         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42418         * sysdeps/i386/fpu/libm-test-ulps: Update.
42419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42421         [BZ #16293]
42422         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42423         round-to-nearest mode when using frndint.
42424         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42425         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42426         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42427         Likewise.
42428         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42429         sinh test to fail.
42430         * math/auto-libm-test-out: Regenerated.
42431         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42432         (TEST_COND_x86): Likewise.
42433         (expm1_tonearest_test_data): New array.
42434         (expm1_test_tonearest): New function.
42435         (expm1_towardzero_test_data): New array.
42436         (expm1_test_towardzero): New function.
42437         (expm1_downward_test_data): New array.
42438         (expm1_test_downward): New function.
42439         (expm1_upward_test_data): New array.
42440         (expm1_test_upward): New function.
42441         (main): Run the new test functions.
42442         * sysdeps/i386/fpu/libm-test-ulps: Update.
42443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42445         * include/features.h: Update comment documenting feature test
42446         macros.  Mention _DEFAULT_SOURCE in comment.
42447         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42448         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42449         _BSD_SOURCE and _SVID_SOURCE.
42450         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42451         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42452         !_SVID_SOURCE]: Likewise.
42453         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42454         (__USE_POSIX_IMPLICITLY): Define.
42455         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42456         (_POSIX_SOURCE): Undefine and redefine.
42457         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42458         (_POSIX_C_SOURCE): Likewise.
42459         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42460         (Feature Test Macros): Update documentation of default features.
42462 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42464         * benchtests/Makefile: Add bench-strtok.
42465         * benchtests/bench-strtok.c: New file: strtok benchtest.
42467 2013-12-19  Allan McRae  <allan@archlinux.org>
42469         * manual/install.texi: Suppress menu for plain text output.
42470         * INSTALL: Regenerated.
42472 2013-12-18  Brooks Moses  <bmoses@google.com>
42474         [BZ #15846]
42475         * misc/getauxval.c: Include errno.h.
42476         (__getauxval): Set errno to ENOENT if the requested type is not
42477         found.
42478         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42479         don't declare with __attribute_const__.
42480         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42481         * manual/startup.texi: Document that getauxval sets errno.
42483 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42485         * math/auto-libm-test-in: Add tests of jn and yn.
42486         * math/auto-libm-test-out: Regenerated.
42487         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42488         (yn_test_data): Likewise.
42489         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42490         mpfr_if_f.
42491         (func_calc_desc): Add mpfr_if_f union field.
42492         (FUNC_mpfr_if_f): New macro.
42493         (test_functions): Add jn and yn.
42494         (calc_generic_results): Assert type of second input for
42495         mpfr_ff_f.  Handle mpfr_if_f.
42496         (output_for_one_input_case): Disable all checking for arguments
42497         fitting floating-point types in case of an integer argument.
42498         * sysdeps/i386/fpu/libm-test-ulps: Update.
42499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42502         Don't expect fegetround reference in libm.so.
42504 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42506         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42507         $(config-cflags-nofma).
42509 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42511         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42512         * math/auto-libm-test-out: Regenerated.
42514         [BZ #16338]
42515         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42516         to determine exponent and adjust argument to have exponent of -1.
42517         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42518         log2.
42519         * math/auto-libm-test-out: Regenerated.
42520         * sysdeps/i386/fpu/libm-test-ulps: Update.
42521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42523 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42525         * manual/probes.texi: Remove cases when per-thread arenas are
42526         disabled.
42528 2013-12-18  Andreas Schwab  <schwab@suse.de>
42530         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42531         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42532         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42533         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42534         * sysdeps/i386/i686/multiarch/Makefile: Update.
42535         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42537 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42539         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42540         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42542 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42544         [BZ #15968]
42545         Support TZ transition times < 00:00:00.
42546         This is needed for version-3 tz-format files; it supports time
42547         stamps past 2037 for America/Godthab (the only entry in the tz
42548         database for which this change is relevant).
42549         * manual/time.texi (TZ Variable): Document transition times
42550         from -167:59:59 through -00:00:01.
42551         * time/tzset.c (tz_rule): Time of day is now signed.
42552         (__tzset_parse_tz): Parse negative time of day.
42554         Document TZ transition times >= 25:00:00.
42555         * manual/time.texi (TZ Variable): Document transition times from
42556         25:00:00 through 167:59:59.  These are already supported, and this
42557         support will help with version-3 tz-format files.
42559         * manual/time.texi (TZ Variable): Modernize North America example
42560         to reflect current (i.e., 2007-and-later) daylight saving rules.
42562         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42566         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42567         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42569         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42570         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42571         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42572         * sysdeps/unix/bsd/clock.c: Likewise.
42573         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42574         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42575         * sysdeps/unix/bsd/init-posix.c: Likewise.
42576         * sysdeps/unix/bsd/poll.c: Likewise.
42577         * sysdeps/unix/bsd/ptsname.c: Likewise.
42578         * sysdeps/unix/bsd/seekdir.c: Likewise.
42579         * sysdeps/unix/bsd/setegid.c: Likewise.
42580         * sysdeps/unix/bsd/seteuid.c: Likewise.
42581         * sysdeps/unix/bsd/setgid.c: Likewise.
42582         * sysdeps/unix/bsd/setrgid.c: Likewise.
42583         * sysdeps/unix/bsd/setruid.c: Likewise.
42584         * sysdeps/unix/bsd/setsid.c: Likewise.
42585         * sysdeps/unix/bsd/setuid.c: Likewise.
42586         * sysdeps/unix/bsd/sigaction.c: Likewise.
42587         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42588         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42589         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42590         * sysdeps/unix/bsd/telldir.c: Likewise.
42591         * sysdeps/unix/bsd/times.c: Likewise.
42592         * sysdeps/unix/bsd/usleep.c: Likewise.
42594         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42595         ($(objpfx)libbsd-compat.a): Remove rule.
42597         * include/features.h (__FAVOR_BSD): Do not define.
42598         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42599         features conflicting with POSIX.
42600         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42601         (_BSD_SOURCE): Remove description of not being a subset of other
42602         feature test macros.
42603         * manual/job.texi (getpgrp): Do not document BSD version.
42604         (getpgid): Do not document by reference to BSD getpgrp.
42605         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42606         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42607         * signal/signal.h [__FAVOR_BSD]: Likewise.
42608         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42609         instead of making contents conditional on [__FAVOR_BSD].
42610         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42612 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42616 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42618         [BZ #16314]
42619         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42620         values below 2**-450, not 2**-500.
42621         * math/auto-libm-test-in: Don't allow spurious underflow from
42622         hypot.
42623         * math/auto-libm-test-out: Regenerated.
42625         [BZ #16316]
42626         [BZ #16330]
42627         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42628         values of ha and hb and sort them after adjusting subnormal
42629         arguments.
42630         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42631         Likewise.
42632         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42633         values of ea and eb and sort them after adjusting subnormal
42634         arguments.
42635         * math/auto-libm-test-in: Do not expect some hypot tests of
42636         subnormals to fail.  Add more hypot tests.
42637         * math/auto-libm-test-out: Regenerated.
42639 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42641         [BZ #13304]
42642         * sysdeps/sh/s_fma.c: New file.
42643         * sysdeps/sh/s_fmaf.c: New file.
42644         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42645         version.
42646         * sysdeps/sh/Implies: Add sh/soft-fp.
42648 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42650         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42651         level of indirection to members `objname', `errstring', `malloced'.
42652         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42653         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42654         it as the __longjmp argument (just pass 1 instead).
42655         (_dl_catch_error): Initialize C with argument pointers and address of
42656         volatile local ERRCODE rather than copying values out of C at return.
42658 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42660         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42661         * math/auto-libm-test-out: Regenerated.
42662         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42663         (hypot_test_data): Likewise.
42664         (pow_test_data): Likewise.
42665         (pow_tonearest_test_data): Likewise.
42666         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42667         mpfr_ff_f.
42668         (func_calc_desc): Add mpfr_ff_f union field.
42669         (FUNC_mpfr_ff_f): New macro.
42670         (test_functions): Add atan2, hypot and pow.
42671         (special_fill_min): New function.
42672         (special_fill_minus_min): Likewise.
42673         (special_fill_min_subnorm): Likewise.
42674         (special_fill_minus_min_subnorm): Likewise.
42675         (special_real_inputs): Add min, -min, min_subnorm and
42676         -min_subnorm.
42677         (calc_generic_results): Handle mpfr_ff_f.
42678         * sysdeps/i386/fpu/libm-test-ulps: Update.
42679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42681 2013-12-16  Will Newton  <will.newton@linaro.org>
42683         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42684         (Aligned Memory Blocks): Add documentation for aligned_alloc
42685         and suggest it as an alternative to posix_memalign.
42686         (Hooks for Malloc): Document __memalign_hook is also called
42687         for aligned_alloc.  (Summary of Malloc): Add summary for
42688         aligned alloc.  Document __memalign_hook is also called
42689         for aligned_alloc.
42691 2013-12-16  Will Newton  <will.newton@linaro.org>
42693         * manual/memory.texi (Malloc Examples): Clarify default
42694         alignment documentation.  Suggest posix_memalign rather
42695         than memalign or valloc.
42696         (Aligned Memory Blocks): Remove suggestion to use memalign
42697         or valloc.  Remove obsolete comment about BSD.
42698         Document memalign errno values and mark the function obsolete.
42699         Document posix_memalign returned error codes.  Mark valloc
42700         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42701         called for posix_memalign and valloc.
42702         (Summary of Malloc): Add posix_memalign to function summary.
42703         __memalign_hook is also called for posix_memalign and valloc.
42705 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42707         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42708         TAYLOR_SIN.
42709         (__sin): Adjust.
42710         (__cos): Likewise.
42711         (sloww): Use mynumber union.  Expand ternary operator into
42712         if-else statements.
42713         (cslow): use mynumber union.
42715 2013-12-16  Allan McRae  <allan@archlinux.org>
42717         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42718         * configure: Regenerated.
42720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42722         [BZ #14120]
42723         * configure.ac: Added --enable-maintainer-mode. Check for
42724         autoconf when enabled.
42725         * configure: Regenerated.
42727         * nscd/nscd.service: New file.
42728         * nscd/nscd.tmpfiles: New file.
42730 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42732         [BZ #12100]
42733         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42734         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42735         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42736         (strstr): Add __strstr_sse2_unaligned ifunc.
42737         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42738         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42739         (strcasestr): Remove __strcasestr_sse42 ifunc.
42740         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42744 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42746         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42747         * sysdeps/sh/bits/fenv.h: ... here.
42748         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42750 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42752         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42755         hypotf multiarch implementations.
42756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42759         multiarch hypot for PPC64.
42760         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42761         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42762         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42763         multiarch hypotf for PPC64.
42765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42766         modff multiarch implementations.
42767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42770         multiarch modf for PPC64.
42771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42774         multiarch modff for PPC64.
42776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42777         and logl multiarch implementations.
42778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42781         multiarch logb for PPC64.
42782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42785         multiarch logb for PPC64.
42786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42789         multiarch logb for PPC64.
42791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42792         isinff multiarch implementation.
42793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42794         file.
42795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42797         multiarch isinf for PPC64.
42798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42799         file.
42800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42801         multiarch isinff for PPC64.
42803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42804         finitef multiarch implementation.
42805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42806         file.
42807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42809         multiarch finite for PPC64.
42810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42811         file.
42812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42813         multiarch finitef for PPC64.
42815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42816         lrint multiarch implementation.
42817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42818         file.
42819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42821         multiarch llrint for PPC64.
42822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42823         multiarch lrint for PPC64.
42825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42826         copysignf multiarch implementation.
42827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42828         file.
42829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42830         file.
42831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42832         multiarch copysign for PPC64.
42833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42834         multiarch copysignf for PPC64.
42836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42837         multiarch implementation.
42838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42839         file.
42840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42841         file.
42842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42843         file.
42844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42845         file.
42846         multiarch llround for PPC64.
42847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42848         multiarch trunc for PPC64.
42849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42850         multiarch truncf for PPC64.
42852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42853         multiarch implementation.
42854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42855         file.
42856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42857         file.
42858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42859         file.
42860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42861         file.
42862         multiarch llround for PPC64.
42863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42864         multiarch round for PPC64.
42865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42866         multiarch roundf for PPC64.
42868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42869         multiarch implementation.
42870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42871         file.
42872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42873         file.
42874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42875         file.
42876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42877         file.
42878         multiarch llround for PPC64.
42879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42880         multiarch floor for PPC64.
42881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42882         multiarch floorf for PPC64.
42884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42885         multiarch implementation.
42886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42887         file.
42888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42889         file.
42890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42891         file.
42892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42893         file.
42894         multiarch llround for PPC64.
42895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42896         multiarch ceil for PPC64.
42897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42898         multiarch ceilf for PPC64.
42900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42901         multiarch implementation.
42902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42903         file.
42904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42905         file.
42906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42907         file.
42908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42909         multiarch llround for PPC64.
42910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42911         multiarch lround for PPC64.
42913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42914         multiarch implementation.
42915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42918         file.
42919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42922         multiarch isnan for PPC64.
42923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42924         multiarch isnanf for PPC64.
42926         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42927         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42928         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42929         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42930         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42933         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42934         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42935         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42936         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42939         multiarch implementations.
42940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42941         (__libc_ifunc_impl_list): Likewise.
42942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42945         multiarch stpcpy for PPC64.
42947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42948         multiarch implementations.
42949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42950         (__libc_ifunc_impl_list): Likewise.
42951         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42952         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42953         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42954         multiarch strcpy for PPC64.
42956         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42957         redefine function name.
42958         (_wordcopy_fwd_dest_aligned): Likewise.
42959         (_wordcopy_bwd_aligned): Likewise.
42960         (_wordcopy_bwd_dest_aligned): Likewise.
42961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42962         multiarch implementations.
42963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42964         (__libc_ifunc_impl_list): Likewise.
42965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42967         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42968         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42969         multiarch wcscpy for PPC64.
42971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42972         multiarch implementations.
42973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42974         (__libc_ifunc_impl_list): Likewise.
42975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42976         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42977         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42978         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42979         multiarch wcscpy for PPC64.
42981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42982         multiarch implementations.
42983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42984         (__libc_ifunc_impl_list): Likewise.
42985         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42986         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42987         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42988         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42989         multiarch wcsrchr for PPC64.
42991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42992         multiarch implementations.
42993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42994         (__libc_ifunc_impl_list): Likewise.
42995         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42996         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42997         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42998         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42999         multiarch wcschr for PPC64.
43001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43002         multiarch implementations.
43003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43004         (__libc_ifunc_impl_list): Likewise.
43005         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43006         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43007         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43008         multiarch strchrnul for PPC64.
43010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43011         implementations.
43012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43013         (__libc_ifunc_impl_list): Likewise.
43014         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43015         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43016         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43017         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43018         strchr for PPC64.
43020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43021         implementations.
43022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43023         (__libc_ifunc_impl_list): Likewise.
43024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43025         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43026         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43027         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43028         strncmp for PPC64.
43030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43031         multiarch implementations.
43032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43033         (__libc_ifunc_impl_list): Likewise.
43034         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43035         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43036         strncasecmp for PPC64.
43037         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43038         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43039         multiarch strncasecmp_l for PPC64.
43041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43042         multiarch implementations.
43043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43044         (__libc_ifunc_impl_list): Likewise.
43045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43047         multiarch strcasecmp for PPC64.
43048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43049         file.
43050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43051         multiarch strcasecmp_l for PPC64.
43053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43054         implementations.
43055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43056         (__libc_ifunc_impl_list): Likewise.
43057         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43058         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43059         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43060         strnlen for PPC64.
43062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43063         implementations.
43064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43065         (__libc_ifunc_impl_list): Likewise.
43066         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43067         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43068         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43069         strlen for PPC64.
43071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43072         implementations.
43073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43074         (__libc_ifunc_impl_list): Likewise.
43075         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43076         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43077         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43078         rawmemrchr for PPC64.
43080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43081         implementation.
43082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43083         (__libc_ifunc_impl_list): Likewise.
43084         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43085         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43086         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43087         memrchr for PPC64.
43089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43090         implementation.
43091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43092         (__libc_ifunc_impl_list): Likewise.
43093         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43094         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43095         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43096         memchr for PPC64.
43098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43099         implementation.
43100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43101         (__libc_ifunc_impl_list): Likewise.
43102         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43103         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43104         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43105         mempcpy for PPC64.
43107         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43108         avoid cretion of __bzero symbol.
43109         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43110         Likewise.
43111         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43112         Likewise.
43113         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43114         Likewise.
43115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43116         multiarch implementations.
43117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43118         (__libc_ifunc_impl_list): Likewise.
43119         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43120         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43121         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43122         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43123         bzero for PPC32.
43124         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43125         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43126         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43127         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43128         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43129         memset for PPC64.
43130         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43132         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43134         implementations.
43135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43136         (__libc_ifunc_impl_list): Likewise.
43137         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43138         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43139         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43140         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43141         memcmp for PPC64.
43143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43144         multiarch for POWER/PPC64.
43145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43146         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43151         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43152         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43153         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43154         memcpy for PPC64.
43156         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43157         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43158         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43159         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43160         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43161         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43163         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43164         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43165         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43166         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43167         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43168         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43169         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43170         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43179 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43181         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43183 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43185         * benchtests/Makefile (bench): Add exp2 and log2.
43186         (LDLIBS-bench-exp2): Add -lm.
43187         (LDLIBS-bench-log2): Likewise.
43188         * benchtests/exp2-inputs: New inputs file.
43189         * benchtests/log2-inputs: New inputs file.
43190         * benchtests/log-inputs: Add new inputs.
43191         * benchtests/tan-inputs: Likewise.
43193 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43195         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43196         definition...
43197         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43198         (csloww2): ... from here.
43200         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43201         instead of structures.
43202         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43203         (POLYNOMIAL): Likewise.
43204         (TAYLOR_SLOW): Likewise.
43205         (__sin): Likewise.
43206         (__cos): Likewise.
43207         (slow1): Likewise.
43208         (slow2): Likewise.
43209         (sloww): Likewise.
43210         (sloww1); Likewise.
43211         (sloww2): Likewise.
43212         (bsloww1): Likewise.
43213         (bsloww2): Likewise.
43214         (cslow2): Likewise.
43215         (csloww): Likewise.
43216         (csloww1): Likewise.
43217         (csloww2): Likewise.
43219 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43221         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43222         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43223         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43224         * malloc/hooks.c (realloc_check): Likewise.
43226         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43227         * malloc/arena.c: Remove PER_THREAD conditional.
43228         [!PER_THREAD]: Remove code.
43229         (ptmalloc_unlock_all2): Likewise.
43230         (ptmalloc_init): Likewise.
43231         (_int_new_arena): Likewise.
43232         (arena_get2): Likewise.
43233         * malloc/hooks.c (__malloc_get_state): Likewise.
43234         (__malloc_set_state): Likewise.
43235         * malloc/malloc.c: Likewise.
43236         (struct malloc_state): Likewise.
43237         (struct malloc_par): Likewise.
43238         (__libc_realloc): Likewise.
43239         (__libc_mallopt): Likewise.
43241 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43243         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43245 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43247         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43248         macro to a function.  Check for zero perturb_byte.
43249         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43251         * malloc/malloc.c: (force_reg): Remove.
43252         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43253         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43254         force_reg by atomic_forced_read.
43255         * malloc/arena.c (ptmalloc_init): Likewise.
43256         * malloc/hooks.c (top_check): Likewise.
43258 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43262 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43266 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43268         * math/auto-libm-test-in: Add tests of lgamma.
43269         * math/auto-libm-test-out: Regenerated.
43270         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43271         (M_LOG_2_SQRT_PIl): Likewise.
43272         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43273         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43274         mpfr_f_f1.
43275         (func_calc_desc): Add mpfr_f_f1 union field.
43276         (ARGS1): New macro.
43277         (ARGS2): Likewise.
43278         (ARGS3): Likewise.
43279         (ARGS4): Likewise.
43280         (RET1): Likewise.
43281         (RET2): Likewise.
43282         (CALC): Likewise.
43283         (FUNC): Likewise.
43284         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43285         (test_functions): Add lgamma.
43286         (calc_generic_results): Handle mpfr_f_f1.
43287         * sysdeps/i386/fpu/libm-test-ulps: Update.
43288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43290 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43292         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43293         __mpn_add_n for PowerPC64/POWER7.
43294         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43295         __mpn_sub_n for PowerPC64/POWER7.
43297         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43298         __mpn_addmul_1 for PowerPC64.
43299         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43300         __mpn_submul_1 for PowerPC64.
43301         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43302         for PowerPC64.
43303         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43304         for PowerPC64.
43306 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43308         [BZ #15089]
43309         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43311 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43313         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43315         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43316         add multiarch folders.
43317         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43318         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43319         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43320         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43321         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43322         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43323         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43324         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43325         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43326         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43327         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43336         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43338         New file.
43339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43340         New file.
43341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43342         multiarch __ieee754_hypot for PowerPC32.
43343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43344         New file.
43345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43346         New file.
43347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43348         multiarch __ieee754_hypotf for PowerPC32.
43350         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43351         long_double_symbol only if __logbl is defined.
43352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43353         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43355         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43356         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43357         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43359         path for implementation.
43360         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43361         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43363         logb, and logbl multiarch implementations for PowerPC32.
43364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43365         file.
43366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43367         file.
43368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43369         multiarch logb for PowerPC32.
43370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43371         file.
43372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43373         file.
43374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43375         multiarch logbf for PowerPC32.
43376         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43378         file.
43379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43380         multiarch logbl implementation for PowerPC32.
43382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43383         and modff multiarch implementations.
43384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43385         New file.
43386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43387         New file.
43388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43389         multiarch modf for PowerPC32.
43390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43391         New file.
43392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43393         New file.
43394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43395         multiarch modff for PowerPC32.
43397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43398         and lrintf multiarch implementations.
43399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43400         New file.
43401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43402         New file.
43403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43404         multiarch lrint for PowerPC32.
43405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43406         file: multiarch lrintf for PowerPC32.
43408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43409         and lroundf multiarch implementations.
43410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43411         New file.
43412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43413         New file.
43414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43415         New file.
43416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43417         multiarch lround for PowerPC32.
43418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43419         file: multiarch lroundf for PowerPC32.
43421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43422         copysign and copysignf multiarch implementations.
43423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43424         New file.
43425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43426         New file.
43427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43428         file: multiarch copysign for PowerPC32.
43429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43430         file: multiarch copysignf for PowerPC32.
43432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43433         and truncf multiarch implementations.
43434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43435         New file.
43436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43437         file.
43438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43439         multiarch trunc for PowerPC32.
43440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43441         New file.
43442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43443         New file.
43444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43445         multiarch truncf for PowerPC32.
43447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43448         and roundf multiarch implementations.
43449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43450         New file.
43451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43452         file.
43453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43454         multiarch round for PowerPC32.
43455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43456         New file.
43457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43458         New file.
43459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43460         multiarch roundf for PowerPC32.
43462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43463         and floorf multiarch implementations.
43464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43465         New file.
43466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43467         file.
43468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43469         multiarch floor for PowerPC32.
43470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43471         New file.
43472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43473         New file.
43474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43475         multiarch floorf for PowerPC32.
43477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43478         and ceilf multiarch implementations.
43479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43480         New file.
43481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43482         file.
43483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43484         multiarch ceil for PowerPC32.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43486         New file.
43487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43488         file.
43489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43490         multiarch ceilf for PowerPC32.
43492         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43493         is defined.
43494         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43495         FINITEF is defined.
43496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43497         and finitef multiarch implementations.
43498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43499         New file.
43500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43501         file.
43502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43503         multiarch finite for PowerPC32.
43504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43505         New file.
43506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43507         file: multiarch finitef for PowerPC32.
43509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43510         and isinff multiarch implementations.
43511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43512         file.
43513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43514         file.
43515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43516         multiarch isinf for PowerPC32.
43517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43518         New file.
43519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43520         multiarch isinff for PowerPC32.
43522         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43523         alias when __isnan is defined.
43524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43525         and isnanf multiarch implementations.
43526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43527         file.
43528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43529         file.
43530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43531         file.
43532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43533         file.
43534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43535         multiarch isnan for PowerPC32.
43536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43537         New file.
43538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43539         New file.
43540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43541         multiarch isnanf for PowerPC32.
43543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43544         and sqrtf multiarch implementations.
43545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43546         file.
43547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43548         file.
43549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43550         multiarch sqrt for PowerPC32.
43551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43552         file.
43553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43554         file.
43555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43556         multiarch sqrtf for PowerPC32.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43559         and llroundf multiarch implementations.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43561         New file.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43563         New file.
43564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43565         New file.
43566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43567         file: multiarch llround for PowerPC32.
43568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43569         file: multiarch llroundf for PowerPC32.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43572         multiarch PowerPC32 fpu implementations.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43574         New file.
43575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43576         New file.
43577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43578         multiarch llrint for PowerPC32.
43579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43580         New file.
43581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43582         New file.
43583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43584         file.
43586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43589         file.
43590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43591         file.
43592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43593         file.
43594         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43595         multiarch wordcopy for PPC32.
43596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43597         wordcopy objects.
43598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43599         (__libc_ifunc_impl_list): Likewise.
43600         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43601         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43602         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43603         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43604         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43605         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43607         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43609         file.
43610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43611         file.
43612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43613         file.
43614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43615         multiarch wcscpy for PPC32.
43616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43617         multiarch objects.
43618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43619         (__libc_ifunc_impl_list): Likewise.
43620         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43621         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43622         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43623         sysdeps/powerpc/power6/wcscpy.c.
43625         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43627         file.
43628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43629         file.
43630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43631         file.
43632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43633         multiarch wcsrchr for PPC32.
43634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43635         multiarch objects.
43636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43637         (__libc_ifunc_impl_list): Likewise.
43638         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43639         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43640         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43641         sysdeps/powerpc/power6/wcsrchr.c.
43643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43644         file.
43645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43646         file.
43647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43649         multiarch wcschr for PPc32.
43650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43651         multiarch objects.
43652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43653         (__libc_ifunc_impl_list): Likewise.
43654         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43655         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43656         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43657         sysdeps/powerpc/power6/wcschr.c.
43659         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43660         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43661         file.
43662         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43663         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43664         file: multiarch strchr for PPC32.
43665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43666         multiarch objects.
43667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43668         (__libc_ifunc_impl_list): Likewise.
43670         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43671         name.
43672         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43673         file.
43674         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43675         file.
43676         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43677         multiarch strchrnul for PPC32.
43678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43679         multiarch objects.
43680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43681         (__libc_ifunc_impl_list): Likewise.
43683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43684         file.
43685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43686         multiarch strncasecmp for PPC32.
43687         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43688         file.
43689         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43690         multiarch strncasecmp_l for PPC32.
43691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43692         strncasecmp multiarch objects.
43693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43694         (__libc_ifunc_impl_list): Likewise.
43696         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43697         file.
43698         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43699         multiarch strncasecmp for PPC32.
43700         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43701         New file.
43702         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43703         multiarch strcasecmp_l for PPC32.
43704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43705         multiarch objects.
43706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43707         (__libc_ifunc_impl_list): Likewise.
43709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43710         file.
43711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43712         file.
43713         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43714         multiarch strncmp for PPC32.
43715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43716         multiarch objects.
43717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43718         (__libc_ifunc_impl_list): Likewise.
43720         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43721         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43722         file.
43723         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43724         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43726         multiarch objects.
43727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43728         (__libc_ifunc_impl_list): Likewise.
43730         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43731         file.
43732         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43733         file.
43734         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43736         multiarch objects.
43737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43738         (__libc_ifunc_impl_list): Likewise.
43740         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43741         file.
43742         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43743         file.
43744         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43745         multiarch rawmemchr for PPC32.
43746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43747         multiarch objects.
43748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43749         (__libc_ifunc_impl_list): Likewise.
43751         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43752         file.
43753         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43754         file.
43755         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43756         file: memrchr multiarch for PPC32.
43757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43758         multiarch objects.
43759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43760         (__libc_ifunc_impl_list): Likewise.
43762         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43763         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43764         file.
43765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43766         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43767         multiarch memchr for PPC32.
43768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43769         multiarch objects.
43770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43771         (__libc_ifunc_impl_list): Likewise.
43773         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43774         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43775         file.
43776         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43777         file.
43778         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43779         file: multiarch mempcpy for PPC32.
43780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43781         multiarch objects.
43782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43783         (__libc_ifunc_impl_list): Likewise.
43785         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43786         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43787         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43788         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43789         multiarch bzero for PPC32.
43790         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43791         file.
43792         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43793         file.
43794         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43795         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43796         file: multiarch memset for PPC32.
43797         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43799         memset multiarch objects.
43800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43801         (__libc_ifunc_impl_list): Likewise.
43803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43804         file.
43805         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43806         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43807         memcmp for PPC32.
43808         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43810         multiarch objects.
43811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43812         (__libc_ifunc_impl_list): Likewise.
43814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43817         file.
43818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43819         file.
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43821         file.
43822         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43823         multiarch memcpy for PPC32.
43824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43825         multiarch objects.
43826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43827         (__libc_ifunc_impl_list): Likewise.
43829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43830         support multiarch for POWER/PPC32.
43831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43832         Likewise.
43833         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43835         Implies file to make multiarch folder appers before the fpu and
43836         default folder for power4 configuration.
43838 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43840         * scripts/bench.pl: Append volatile keyword to type.
43842 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43844         * sysdeps/sh/sotruss-lib.c: New file.
43845         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43847 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43851 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43853         [BZ #6810]
43854         * math/w_tgamma.c: Include <errno.h>.
43855         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43856         * math/w_tgammaf.c: Include <errno.h>.
43857         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43858         * math/w_tgammal.c: Include <errno.h>.
43859         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43860         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43861         underflow.  Add more tgamma tests.
43862         * math/auto-libm-test-out: Regenerated.
43863         * sysdeps/i386/fpu/libm-test-ulps: Update.
43864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43866         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43867         sin, sinh, tan, tanh, tgamma, y0 and y1.
43868         * math/auto-libm-test-out: Regenerated.
43869         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43870         (TEST_COND_x86): Likewise.
43871         (M_E2l): Remove macro.
43872         (M_E3l): Likewise.
43873         (M_2_SQRT_PIl): Likewise.
43874         (M_SQRT_PIl): Likewise.
43875         (M_1_DIV_El): Likewise.
43876         (log_test_data): Use AUTO_TESTS_f_f.
43877         (log10_test_data): Likewise.
43878         (log1p_test_data): Likewise.
43879         (log2_test_data): Likewise.
43880         (sin_test_data): Likewise.
43881         (sin_tonearest_test_data): Likewise.
43882         (sin_towardzero_test_data): Likewise.
43883         (sin_downward_test_data): Likewise.
43884         (sin_upward_test_data): Likewise.
43885         (sinh_test_data): Likewise.
43886         (sinh_tonearest_test_data): Likewise.
43887         (sinh_towardzero_test_data): Likewise.
43888         (sinh_downward_test_data): Likewise.
43889         (sinh_upward_test_data): Likewise.
43890         (tan_test_data): Likewise.
43891         (tan_tonearest_test_data): Likewise.
43892         (tan_towardzero_test_data): Likewise.
43893         (tan_downward_test_data): Likewise.
43894         (tan_upward_test_data): Likewise.
43895         (tanh_test_data): Likewise.
43896         (tgamma_test_data): Likewise.
43897         (y0_test_data): Likewise.
43898         (y1_test_data): Likewise.
43899         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43900         (special_real_inputs): Add pi/4.
43901         * sysdeps/i386/fpu/libm-test-ulps: Update.
43902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43904 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43906         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43907         "longjmp_target" static probes.
43908         (__longjmp): Rename to __longjmp_symbol.
43909         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43910         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43911         on which longjmp to generate.
43912         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43913         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43914         probe.
43915         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43916         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43917         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43918         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43919         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43920         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43922         __longjmp_symbol based on which __longjmp to generate.
43923         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43924         probe.
43925         (setjmp): Rename to setjmp_symbol.
43926         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43927         (_setjmp): Rename to _setjmp_symbol.
43928         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43929         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43930         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43931         which setjmp to generate.
43932         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43933         "longjmp_target" static probes.
43935 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43937         * benchtests/README: Add note about output arguments.
43938         * benchtests/bench-sincos.c: Remove file.
43939         * benchtests/sincos-inputs: New file.
43940         * scripts/bench.pl: Identify output arguments and define
43941         static variables for them.
43943         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43945         [BZ #15941]
43946         * Makefile (INSTALL): Add install-plain.texi as the primary
43947         dependency.
43948         * manual/install-plain.texi: New file.
43949         * manual/install.texi: Include node directive only for
43950         non-plaintext output.
43952 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43954         * stdlib/longlong.h: Update from GCC.
43956         [BZ #6807]
43957         [BZ #15901]
43958         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43959         * math/w_j0f.c (y0f): Likewise.
43960         * math/w_j0l.c (__y0l): Likewise.
43961         * math/w_j1.c (y1): Likewise.
43962         * math/w_j1f.c (y1f): Likewise.
43963         * math/w_j1l.c (__y1l): Likewise.
43964         * math/w_jn.c (yn): Likewise.
43965         * math/w_jnf.c (ynf): Likewise.
43966         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43967         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43968         value for Bessel function domain errors outside _SVID_ mode.
43969         Adjust sign of return value for yn (negative integer, 0).
43970         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43971         by zero in return for negative x and set sign appropriately for
43972         negative n.
43973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43975         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43976         expectations in error cases.
43977         (y1_test_data): Likewise.
43978         (yn_test_data): Likewise.
43979         * sysdeps/i386/fpu/libm-test-ulps: Update.
43980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43982 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43984         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43985         "64" to "64-v1".  Add "64-v2".
43986         (abi-64-options): Rename to ...
43987         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43988         (abi-64-condition): Rename to ...
43989         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43990         (abi-64-ld-soname): Rename to ...
43991         (abi-64-v1-ld-soname): ... this.
43992         (abi-64-v2-options): Define.
43993         (abi-64-v2-condition): Likewise.
43994         (abi-64-v2-ld-soname): Likewise.
43995         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43996         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44001 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44002             Alan Modra  <amodra@gmail.com>
44004         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44005         New versions for use with the ELFv2 ABI.
44006         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44007         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44008         declaration.
44009         (struct La_ppc64v2_retval): Likewise.
44010         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44011         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44012         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44013         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44014         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44015         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44016         Do not save or restore CR.
44017         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44018         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44019         return values for ELFv2 ABI.  Fix location of FPR return registers.
44020         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44021         updated values for _CALL_ELF == 2.
44022         (La_regs, La_retval, int_retval): Likewise.
44024 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44026         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44027         (FRAME_MIN_SIZE_PARM): Likewise.
44028         (FRAME_BACKCHAIN): Likewise.
44029         (FRAME_CR_SAVE): Likewise.
44030         (FRAME_LR_SAVE): Likewise.
44031         (FRAME_TOC_SAVE): Likewise.
44032         (FRAME_PARM_SAVE): Likewise.
44033         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44034         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44035         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44036         (call_mcount_parm_offset): New macro.
44037         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44038         (PROF): Use symbolic stack frame offsets.
44039         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44040         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44041         Redefine in terms of FRAME_MIN_SIZE.
44042         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44043         (_dl_profile_resolve): Likewise.  Update comment.
44044         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44045         symbols stack frame offsets.
44046         (__sigsetjmp): Likewise.
44047         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44048         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44049         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44050         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44053         (FRAME_BACKCHAIN): Remove.
44054         (FRAME_CR_SAVE): Likewise.
44055         (FRAME_LR_SAVE): Likewise.
44056         (FRAME_COMPILER_DW): Likewise.
44057         (FRAME_LINKER_DW): Likewise.
44058         (FRAME_TOC_SAVE): Likewise.
44059         (FRAME_PARM_SAVE): Likewise.
44060         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44061         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44062         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44064         (CHECK_SP): Use symbolic stack frame offsets.
44065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44066         zone" instead of caller's parameter save area for temp storage.
44067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44068         Likewise.  Also, use symbolic stack frame offsets.
44069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44070         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44071         our own stack frame instead of the caller's.
44072         (__socket): Use symbolic stack frame offsets.
44074 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44075             Alan Modra  <amodra@gmail.com>
44077         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44078         Define.
44079         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44080         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44081         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44082         New function.
44083         (elf_machine_fixup_plt): Call it.
44084         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44085         reloc arguments.
44086         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44087         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44088         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44089         r2 before calling target.
44091 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44092             Alan Modra  <amodra@gmail.com>
44094         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44095         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44096         versions of macros to support ELFv2 ABI.
44097         (LOCALENTRY): New macro.
44098         (ENTRY, EALIGN): Use it.
44099         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44100         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44101         fall through into ENTRY entry point.
44102         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44103         Only define if _CALL_ELF != 2.
44105         (elf_machine_matches_host): Verify ABI version matches.
44106         (RTLD_START): Use LOCALENTRY.
44107         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44108         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44109         (PLT_ENTRY_WORDS): New macro.
44110         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44111         (elf_machine_runtime_setup): Support ELFv2 ABI.
44112         (elf_machine_fixup_plt): Likewise.
44113         (elf_machine_plt_conflict): Likewise.
44114         (resolve_ifunc): Likewise.
44115         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44116         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44117         Likewise.
44118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44119         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44121         (makecontext): Support ELFv2 ABI.
44122         * elf/elf.h (EF_PPC64_ABI): Define.
44124 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44126         * sysdeps/powerpc/powerpc64/sysdep.h
44127         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44128         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44129         (ENTRY) [ASSEMBLER]: ... but instead here ...
44130         (EALIGN) [ASSEMBLER]: ... and here.
44131         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44132         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44133         (ENTRY_2) [!ASSEMBLER]: Use it.
44134         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44135         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44136         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44137         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44138         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44140         Use PPC64_LOAD_FUNCPTR.
44142         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44144 2013-12-04  Alan Modra  <amodra@gmail.com>
44146         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44147         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44148         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44149         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44152         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44153         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44154         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44155         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44156         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44158 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44161         (__makecontext): Fix incorrect CFI when backtracing out of
44162         context created via makecontext.
44163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44164         (__setcontext): Fix incorrect CFI during switch to new context.
44165         (__novec_setcontext): Likewise.
44167 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44169         [BZ #4772]
44170         * time/strptime_l.c (__strptime_internal): Allow modifiers
44171         in strptime.
44172         * time/tst-strptime.c (day_tests): Add testcase.
44174 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44176         * scripts/bench.pl: Skip over blank lines.
44178 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44180         [BZ #926]
44181         * manual/time.texi (Calendar Time): Clarify what timezone functions
44182         use.
44184 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44188 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44190         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44191         implementation.
44192         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44193         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44194         * debug/memset_chk.c (__memset_chk): Likewise.
44195         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44196         * debug/strncpy_chk.c: Likewise.
44198 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44200         [BZ #15268]
44201         [BZ #15425]
44202         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44203         (__ieee754_exp): For possibly underflowing results, check size of
44204         result and force underflow exception if required.
44205         * math/auto-libm-test-in: Add more tests of exp.
44206         * math/auto-libm-test-out: Regenerated.
44207         * sysdeps/i386/fpu/libm-test-ulps: Update.
44208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44210         [BZ #16283]
44211         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44212         * math/w_exp2f.c (__exp2f): Likewise.
44213         * math/w_exp2l.c (__exp2l): Likewise.
44214         * math/auto-libm-test-in: Do not allow missing errno on exp2
44215         underflow.
44216         * math/auto-libm-test-out: Regenerated.
44218 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44220         [BZ #16274]
44221         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44222         handle filename validation.
44223         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44224         (do_open): Delete.
44226 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44228         [BZ #6786]
44229         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44230         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44231         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44232         <float.h>.
44233         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44234         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44235         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44236         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44237         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44238         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44239         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44240         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44241         Add more erfc tests.
44242         * math/auto-libm-test-out: Regenerated.
44243         * sysdeps/i386/fpu/libm-test-ulps: Update.
44244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44246         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44247         exp2, expm1, j0 and j1.
44248         * math/auto-libm-test-out: Regenerated.
44249         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44250         (erfc_test_data): Likewise.
44251         (exp_test_data): Likewise.
44252         (exp_tonearest_test_data): Likewise.
44253         (exp_towardzero_test_data): Likewise.
44254         (exp_downward_test_data): Likewise.
44255         (exp_upward_test_data): Likewise.
44256         (exp10_test_data): Likewise.
44257         (exp2_test_data): Likewise.
44258         (expm1_test_data): Likewise.
44259         (j0_test_data): Likewise.
44260         (j1_test_data): Likewise.
44261         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44262         (input_flag_type): Add flag_xfail_rounding.
44263         (input_flags): Add xfail-rounding.
44264         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44265         (output_for_one_input_case): Handle flag_xfail_rounding.
44266         * sysdeps/i386/fpu/libm-test-ulps: Update.
44267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44269 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44271         [BZ #16289]
44272         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44273         division by 0.
44275 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44277         [BZ #16195]
44278         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44279         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44280         (STAP_PROBE0): New macro.
44281         (STAP_PROBE1): Likewise.
44282         (STAP_PROBE2): Likewise.
44283         (STAP_PROBE3): Likewise.
44284         (STAP_PROBE4): Likewise.
44286 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44288         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44290 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44292         * benchtests/Makefile (bench): Add sqrt.
44293         (LDLIBS-bench-sqrt): New.
44294         * benchtests/sqrt-input: New.
44296 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44298         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44299         (GAIH_EAI): Likewise.
44300         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44301         (gaih_inet): Likewise.
44302         (getaddrinfo): Don't use GAIH_EAI.
44304         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44305         (struct gaih): Remove definition.
44307 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44309         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44310         Use HERRNOP directly.
44312 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44316 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44318         * math/gen-auto-libm-tests.c (test_functions): Add more
44319         single-argument functions.
44320         (special_fill_pi_2): New function.
44321         (special_fill_minus_pi_2): Likewise.
44322         (special_fill_pi_6): Likewise.
44323         (special_fill_minus_pi_6): Likewise.
44324         (special_fill_pi_3): Likewise.
44325         (special_fill_2pi_3): Likewise.
44326         (special_fill_e): Likewise.
44327         (special_fill_1_e): Likewise.
44328         (special_fill_e_minus_1): Likewise.
44329         (special_real_inputs): Add more special inputs.
44330         (output_for_one_input_case): Do not require ERANGE on underflow to
44331         zero if round-to-nearest result does not underflow to zero, unless
44332         exact results required.
44333         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44334         atan, atanh, cbrt, cos and cosh.
44335         * math/auto-libm-test-out: Regenerated.
44336         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44337         (acos_tonearest_test_data): Likewise.
44338         (acos_towardzero_test_data): Likewise.
44339         (acos_downward_test_data): Likewise.
44340         (acos_upward_test_data): Likewise.
44341         (acosh_test_data): Likewise.
44342         (asin_test_data): Likewise.
44343         (asin_tonearest_test_data): Likewise.
44344         (asin_towardzero_test_data): Likewise.
44345         (asin_upward_test_data): Likewise.
44346         (asinh_test_data): Likewise.
44347         (atan_test_data): Likewise.
44348         (atanh_test_data): Likewise.
44349         (cbrt_test_data): Likewise.
44350         (cos_test_data): Likewise.
44351         (cos_tonearest_test_data): Likewise.
44352         (cos_towardzero_test_data): Likewise.
44353         (cos_downward_test_data): Likewise.
44354         (cos_upward_test_data): Likewise.
44355         (cosh_test_data): Likewise.
44356         (cosh_tonearest_test_data): Likewise.
44357         (cosh_towardzero_test_data): Likewise.
44358         (cosh_downward_test_data): Likewise.
44359         (cosh_upward_test_data): Likewise.
44360         * sysdeps/i386/fpu/libm-test-ulps: Update.
44361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44363 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44365         [BZ #6787]
44366         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44367         * math/w_exp10f.c (__exp10f): Likewise.
44368         * math/w_exp10l.c (__exp10l): Likewise.
44369         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44370         errno settings in existing tests.
44372         [BZ #14032]
44373         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44374         precision control set to double precision.
44375         * sysdeps/i386/fpu/w_sqrt.c: New file.
44376         * math/auto-libm-test-in: Add more tests.
44377         * math/auto-libm-test-out: Update.
44379         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44380         (sqrt_test_tonearest): New function.
44381         (sqrt_towardzero_test_data): New variable.
44382         (sqrt_test_towardzero): New function.
44383         (sqrt_downward_test_data): New variable.
44384         (sqrt_test_downward): New function.
44385         (sqrt_upward_test_data): New variable.
44386         (sqrt_test_upward): New function.
44387         (main): Call the new functions.
44389         * math/gen-auto-libm-tests.c: New file.
44390         * math/auto-libm-test-in: Likewise.
44391         * math/auto-libm-test-out: New generated file.
44392         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44393         variables.
44394         (%beautify): Add generated representations of zero.
44395         (top level): Set $auto_input and call parse_auto_input.
44396         (beautify): Remove trailing "f" from hex float constants.
44397         (parse_args): Handle XFAIL_TEST.
44398         (convert_condition): New function.
44399         (or_value): Likewise.
44400         (or_cond_value): Likewise.
44401         (generate_testfile): Handle AUTO_TESTS_* lines.
44402         (parse_auto_input): New function.
44403         * math/libm-test.inc (XFAIL_TEST): New macro.
44404         (ERRNO_UNCHANGED): Update value.
44405         (ERRNO_EDOM): Likewise.
44406         (ERRNO_ERANGE): Likewise.
44407         (IGNORE_RESULT): Likewise.
44408         (TEST_COND_flt_32): New macro.
44409         (TEST_COND_dbl_64): Likewise.
44410         (TEST_COND_ldbl_96_intel): Likewise.
44411         (TEST_COND_ldbl_96_m68k): Likewise.
44412         (TEST_COND_ldbl_128): Likewise.
44413         (TEST_COND_ldbl_128ibm): Likewise.
44414         (TEST_COND_long32): Likewise.
44415         (TEST_COND_long64): Likewise.
44416         (TEST_COND_before_rounding): Likewise.
44417         (TEST_COND_after_rounding): Likewise.
44418         (enable_test): Handle XFAIL_TEST flag.
44419         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44420         with finite results.
44421         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44422         auto-libm-test-out.
44424 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44425             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44427         [BZ #16214]
44428         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44429         __tls_get_addr_internal instead of __tls_get_offset in order to
44430         avoid GOT pointer dependency.  Make rtld export
44431         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44432         __tls_get_addr since we are a __tls_get_offset platform.
44433         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44434         GOT pointer being set up before.
44435         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44437 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44439         * manual/math.texi (Errors in Math Functions): Document accuracy
44440         goals.
44442         [BZ #15004]
44443         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44444         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44445         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44446         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44447         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44448         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44449         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44450         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44451         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44452         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44453         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44454         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44455         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44456         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44457         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44458         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44460         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44461         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44462         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44463         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44464         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44465         Likewise.
44466         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44467         Likewise.
44468         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44469         Likewise.
44470         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44471         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44472         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44473         atomic-feupdateenv and flt-rounds.
44474         * sysdeps/powerpc/nofpu/Versions (libc): Add
44475         __atomic_feholdexcept, __atomic_feclearexcept,
44476         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44477         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44478         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44479         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44480         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44481         here.
44482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44483         Update.
44485         * manual/arith.texi (FP Exceptions): Document that exceptions may
44486         not be raised when matherr is used.
44487         (Math Error Reporting): Document overflow in directed rounding
44488         modes.  Document that errno may not be set when finite values are
44489         returned on overflow.  Document intent to set errno on underflow
44490         only for underflow to zero.
44492         [BZ #16271]
44493         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44494         round-to-nearest then adjust result for other rounding modes.
44495         * include/fenv.h (fegetround): Use libm_hidden_proto.
44496         * math/fegetround.c (fegetround): Use libm_hidden_def.
44497         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44498         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44499         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44500         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44501         Likewise.
44502         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44503         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44504         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44505         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44507 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44509         [BZ #16077]
44510         * nss/Versions (libnss_files): Add
44511         _nss_files_gethostbyname3_r.
44512         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44513         New function.
44514         (HOST_DB_LOOKUP): Remove macro.
44515         (_nss_files_gethostbyname_r): Implement function without the
44516         HOST_DB_LOOKUP macro.
44517         (_nss_files_gethostbyname2_r): Likewise.
44519 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44521         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44523 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44525         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44526         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44527         warning.
44529 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44531         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44532         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44533         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44534         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44535         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44536         __fe_nomask_env_priv and attribute_hidden.
44537         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44538         (libc_feupdateenv_test_ppc): Likewise.
44539         (libc_feresetround_ppc): Likewise.
44540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44541         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44542         compat_symbol macro.
44543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44544         (__fe_nomask_env): Likewise.
44545         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44549         * string/Makefile: Remove ifunc tests.
44550         * string/test-string.h: Define TEST_IFUNC.
44551         * string/test-bcopy-ifunc.c: Remove.
44552         * string/test-bzero-ifunc.c: Likewise.
44553         * string/test-memccpy-ifunc.c: Likewise.
44554         * string/test-memchr-ifunc.c: Likewise.
44555         * string/test-memcmp-ifunc.c: Likewise.
44556         * string/test-memcpy-ifunc.c: Likewise.
44557         * string/test-memmem-ifunc.c: Likewise.
44558         * string/test-memmove-ifunc.c: Likewise.
44559         * string/test-mempcpy-ifunc.c: Likewise.
44560         * string/test-memrchr-ifunc.c: Likewise.
44561         * string/test-memset-ifunc.c: Likewise.
44562         * string/test-rawmemchr-ifunc.c: Likewise.
44563         * string/test-stpcpy-ifunc.c: Likewise.
44564         * string/test-stpncpy-ifunc.c: Likewise.
44565         * string/test-strcasecmp-ifunc.c: Likewise.
44566         * string/test-strcasestr-ifunc.c: Likewise.
44567         * string/test-strcat-ifunc.c: Likewise.
44568         * string/test-strchr-ifunc.c: Likewise.
44569         * string/test-strchrnul-ifunc.c: Likewise.
44570         * string/test-strcmp-ifunc.c: Likewise.
44571         * string/test-strcpy-ifunc.c: Likewise.
44572         * string/test-strcspn-ifunc.c: Likewise.
44573         * string/test-strlen-ifunc.c: Likewise.
44574         * string/test-strncasecmp-ifunc.c: Likewise.
44575         * string/test-strncat-ifunc.c: Likewise.
44576         * string/test-strncmp-ifunc.c: Likewise.
44577         * string/test-strncpy-ifunc.c: Likewise.
44578         * string/test-strnlen-ifunc.c: Likewise.
44579         * string/test-strpbrk-ifunc.c: Likewise.
44580         * string/test-strrchr-ifunc.c: Likewise.
44581         * string/test-strspn-ifunc.c: Likewise.
44582         * string/test-strstr-ifunc.c: Likewise.
44584 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44586         * benchtests/Makefile: Remove ifunc tests.
44587         * benchtests/bench-string.h: Define TEST_IFUNC.
44588         * benchtests/bench-bcopy-ifunc.c: Remove.
44589         * benchtests/bench-bzero-ifunc.c: Likewise.
44590         * benchtests/bench-memccpy-ifunc.c: Likewise.
44591         * benchtests/bench-memchr-ifunc.c: Likewise.
44592         * benchtests/bench-memcmp-ifunc.c: Likewise.
44593         * benchtests/bench-memcpy-ifunc.c: Likewise.
44594         * benchtests/bench-memmem-ifunc.c: Likewise.
44595         * benchtests/bench-memmove-ifunc.c: Likewise.
44596         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44597         * benchtests/bench-memrchr-ifunc.c: Likewise.
44598         * benchtests/bench-memset-ifunc.c: Likewise.
44599         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44600         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44601         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44602         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44603         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44604         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44605         * benchtests/bench-strcat-ifunc.c: Likewise.
44606         * benchtests/bench-strchr-ifunc.c: Likewise.
44607         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44608         * benchtests/bench-strcmp-ifunc.c: Likewise.
44609         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44610         * benchtests/bench-strcpy-ifunc.c: Likewise.
44611         * benchtests/bench-strcspn-ifunc.c: Likewise.
44612         * benchtests/bench-strlen-ifunc.c: Likewise.
44613         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44614         * benchtests/bench-strncat-ifunc.c: Likewise.
44615         * benchtests/bench-strncmp-ifunc.c: Likewise.
44616         * benchtests/bench-strncpy-ifunc.c: Likewise.
44617         * benchtests/bench-strnlen-ifunc.c: Likewise.
44618         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44619         * benchtests/bench-strrchr-ifunc.c: Likewise.
44620         * benchtests/bench-strsep-ifunc.c: Likewise.
44621         * benchtests/bench-strspn-ifunc.c: Likewise.
44622         * benchtests/bench-strstr-ifunc.c: Likewise.
44624 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44626         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44628 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44630         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44631         * rt/aio.h: Likewise.
44632         * sysdeps/gnu/bits/utmp.h: Likewise.
44633         * sysdeps/gnu/bits/utmpx.h: Likewise.
44634         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44635         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44636         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44637         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44638         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44639         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44640         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44641         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44642         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44643         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44644         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44645         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44646         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44648         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44649         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44650         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44651         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44652         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44653         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44654         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44655         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44656         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44657         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44658         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44660         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44661         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44662         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44663         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44664         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44665         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44666         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44667         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44668         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44669         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44670         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44671         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44672         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44673         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44674         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44675         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44677 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44679         [BZ #16245]
44680         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44681         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44683 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44685         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44686         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44687         Likewise.
44689 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44691         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44692         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44693         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44694         (__fesetround): Remove define.
44695         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44696         rounding and exceptions handling.
44697         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44698         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44699         (__fe_nomask_env): Likewise.
44700         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44701         __fegetround instead of fegetround.
44702         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44703         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44705 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44707         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44708         it's there.
44710         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44712 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44714         [BZ #11157]
44715         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44716         (encrypt_r): Likewise.
44717         * malloc/obstack.h (obstack_free): Likewise.
44718         * posix/unistd.h (encrypt): Likewise.
44720 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44722         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44723         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44724         DL_CALL_DT_FINI() that call the functions directly.
44725         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44726         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44727         * elf/dl-fini.c: Likewise.
44729 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44731         * malloc/hooks.c (memalign_check): Add alignment rounding.
44732         * malloc/malloc.c (_mid_memalign): New function.
44733         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44734         Implement by calling _mid_memalign.
44735         * manual/probes.texi (Memory Allocation Probes): Remove
44736         memory_valloc_retry and memory_pvalloc_retry.
44738 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44740         * locale/programs/locarchive.c (open_archive): Add const
44741         qualifier to ARCHIVEFNAME and copy default fname to
44742         DEFAULT_FNAME.
44744         [BZ #15601]
44745         * libio/tst-widetext.input: Rename Oriya to Odia.
44746         * locale/iso-639.def: Likewise.
44748         * manual/probes.texi (Mathematical Function Probes): Add
44749         documentation for sin, cos, asin and acos probes.
44750         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44751         (__sin32): Add slowasin probe.
44752         (__cos32): Add slowacos probe.
44753         (__mpsin): Add slowsin probe.
44754         (__mpcos): Add slowcos probe.
44756 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44758         [BZ #15483]
44759         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44760         thread-local __sim_exceptions_thread and global
44761         __sim_exceptions_global.
44762         (__sim_disabled_exceptions): Change to thread-local
44763         __sim_disabled_exceptions_thread and global
44764         __sim_disabled_exceptions_global.
44765         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44766         and global __sim_round_mode_global.
44767         (__simulate_exceptions): Use thread-local floating-point state and
44768         set global state from it as needed.
44769         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44770         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44771         __sim_round_mode_thread.
44772         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44773         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44774         and global __sim_exceptions_global.
44775         (__sim_disabled_exceptions): Change to thread-local
44776         __sim_disabled_exceptions_thread and global
44777         __sim_disabled_exceptions_global.
44778         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44779         and global __sim_round_mode_global.
44780         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44781         (SIM_SET_GLOBAL): Likewise.
44782         * sysdeps/powerpc/soft-fp/sfp-machine.h
44783         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44784         __sim_round_mode_thread.
44785         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44786         __sim_disabled_exceptions_thread.
44787         (__sim_exceptions): Change to __sim_exceptions_thread.
44788         (__sim_disabled_exceptions): Change to
44789         __sim_disabled_exceptions_thread.
44790         (__sim_round_mode): Change to __sim_round_mode_thread.
44791         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44792         thread-local floating-point state and set global state from it as
44793         needed.
44794         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44795         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44796         (__sim_disabled_exceptions): Remove extern declaration.
44797         (feenableexcept): Use thread-local floating-point state and set
44798         global state from it as needed.
44799         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44800         extern declaration.
44801         (__sim_disabled_exceptions): Likewise.
44802         (__sim_round_mode): Likewise.
44803         (__fegetenv): Use thread-local floating-point state.
44804         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44805         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44806         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44807         floating-point state and set global state from it as needed.
44808         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44809         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44810         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44811         Likewise.
44812         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44813         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44814         Likewise.
44815         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44816         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44817         Use __sim_round_mode_thread.
44818         * math/test-fenv-tls.c: New file.
44819         * math/Makefile (tests): Add test-fenv-tls.
44820         ($(objpfx)test-fenv-tls): Depend on
44821         $(common-objpfx)nptl/libpthread.so.
44823 2013-11-19  Andreas Schwab  <schwab@suse.de>
44825         * locale/programs/locale.c (show_info): Decode wordarray elements.
44826         * locale/categories.def (LC_MONETARY): Add element for
44827         _NL_MONETARY_CRNCYSTR.
44828         * locale/C-monetary.c (conversion_rate): New variable.
44829         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44830         element.
44832 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44834         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44835         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44837 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44839         * elf/Makefile (tst-auxv): New test.
44840         * elf/tst-auxv.c: New
44841         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44843 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44845         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44846         (hidden_proto): Caller changed.
44847         (hidden_tls_proto): New macro.
44848         (libc_hidden_tls_proto): Likewise.
44849         (rtld_hidden_tls_proto): Likewise.
44850         (libm_hidden_tls_proto): Likewise.
44851         (libresolv_hidden_tls_proto): Likewise.
44852         (librt_hidden_tls_proto): Likewise.
44853         (libdl_hidden_tls_proto): Likewise.
44854         (libnss_files_hidden_tls_proto): Likewise.
44855         (libnsl_hidden_tls_proto): Likewise.
44856         (libnss_nisplus_hidden_tls_proto): Likewise.
44857         (libutil_hidden_tls_proto): Likewise.
44859 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44861         [BZ #10253]
44862         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44863         (decompose_rpath): Defer expansion to fillin_rpath.
44864         (_dl_init_paths): Pass linkmap to fillin_rpath.
44866 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44868         * benchtests/Makefile: Add strsep.
44869         * benchtests/bench-strsep.c: New file: strsep benchtest.
44870         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44872 2013-11-18  Andreas Schwab  <schwab@suse.de>
44874         * locale/programs/locale.c (show_info) [case byte]: Check for
44875         '\377' instead of '\177'.
44876         * locale/C-monetary.c (not_available): Always use "\377".
44877         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44878         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44879         detect unavailable sign_posn locale elements.
44880         * locale/localeconv.c (__localeconv): For grouping and
44881         mon_grouping handle "\177" and "\377" like no grouping.
44882         (INT_ELEM): New macro.  Use it to set all numeric members.
44883         * locale/programs/ld-monetary.c (monetary_read)
44884         <tok_mon_grouping>: Normalize single -1 to the empty string.
44885         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44886         Likewise.
44888 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44890         [BZ #16055]
44891         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44892         when we match (nil).
44893         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44895 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44897         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44898         (NO_TEST_INLINE): Update value.
44899         (ERRNO_UNCHANGED): Likewise.
44900         (ERRNO_EDOM): Likewise.
44901         (ERRNO_ERANGE): Likewise.
44902         (IGNORE_RESULT): Likewise.
44903         (check_float_internal): Check signs of NaN results if
44904         TEST_NAN_SIGN used.
44905         (check_complex): Pass TEST_NAN_SIGN flag through to second
44906         check_float_internal call.
44907         (copysign_test_data): Add tests with quiet NaNs as second
44908         argument.  Use TEST_NAN_SIGN.
44909         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44910         TEST_NAN_SIGN.
44911         (signbit_test_data): Add tests of quiet NaN argument.
44912         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44914         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44915         $ignore_result.
44916         (parse_args): Handle function results specified as IGNORE.
44917         * math/libm-test.inc (IGNORE_RESULT): New macro.
44918         (check_float_internal): Do not check numerical result if flag
44919         IGNORE_RESULT set.
44920         (check_complex): Pass through IGNORE_RESULT to second
44921         check_float_internal call.
44922         (check_int): Do not check numerical result if flag IGNORE_RESULT
44923         set.
44924         (check_long): Likewise.
44925         (check_bool): Likewise.
44926         (check_longlong): Likewise.
44927         (lrint_test_data): Add tests of infinite and NaN arguments.
44928         (lrint_tonearest_test_data): Likewise.
44929         (lrint_towardzero_test_data): Likewise.
44930         (lrint_downward_test_data): Likewise.
44931         (lrint_upward_test_data): Likewise.
44932         (llrint_test_data): Likewise.
44933         (llrint_tonearest_test_data): Likewise.
44934         (llrint_towardzero_test_data): Likewise.
44935         (llrint_downward_test_data): Likewise.
44936         (llrint_upward_test_data): Likewise.
44937         (lround_test_data): Likewise.
44938         (llround_test_data): Likewise.
44940         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44941         (ERRNO_UNCHANGED): Update value.
44942         (ERRNO_EDOM): Likewise.
44943         (ERRNO_ERANGE): Likewise.
44944         (NO_TEST_INLINE_FLOAT): New macro.
44945         (NO_TEST_INLINE_DOUBLE): Likewise.
44946         (enable_test): New function.
44947         (RUN_TEST_f_f): Check enable_test before running test.
44948         (RUN_TEST_2_f): Likewise.
44949         (RUN_TEST_fff_f): Likewise.
44950         (RUN_TEST_c_f): Likewise.
44951         (RUN_TEST_f_f1): Likewise.
44952         (RUN_TEST_fF_f1): Likewise.
44953         (RUN_TEST_fI_f1): Likewise.
44954         (RUN_TEST_ffI_f1): Likewise.
44955         (RUN_TEST_c_c): Likewise.
44956         (RUN_TEST_cc_c): Likewise.
44957         (RUN_TEST_f_i): Likewise.
44958         (RUN_TEST_f_i_tg): Likewise.
44959         (RUN_TEST_ff_i_tg): Likewise.
44960         (RUN_TEST_f_b): Likewise.
44961         (RUN_TEST_f_b_tg): Likewise.
44962         (RUN_TEST_f_l): Likewise.
44963         (RUN_TEST_f_L): Likewise.
44964         (RUN_TEST_fFF_11): Likewise.
44965         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44966         conditionals.
44967         (cosh_test_data): Likewise.
44968         (exp_test_data): Likewise.
44969         (expm1_test_data): Likewise.
44970         (hypot_test_data): Likewise.
44971         (pow_test_data): Likewise.
44972         (sinh_test_data): Likewise.
44973         (tanh_test_data): Likewise.
44974         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44975         flags argument.
44977         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44978         tests with quiet NaN input and output.
44979         (acosh_test_data): Likewise.
44980         (asin_test_data): Likewise.
44981         (asinh_test_data): Likewise.
44982         (atan_test_data): Likewise.
44983         (atanh_test_data): Likewise.
44984         (atan2_test_data): Likewise.
44985         (cbrt_test_data): Likewise.
44986         (cos_test_data): Likewise.
44987         (cosh_test_data): Likewise.
44988         (erf_test_data): Likewise.
44989         (erfc_test_data): Likewise.
44990         (exp_test_data): Likewise.
44991         (exp10_test_data): Likewise.
44992         (exp2_test_data): Likewise.
44993         (expm1_test_data): Likewise.
44994         (hypot_test_data): Likewise.
44995         (j0_test_data): Likewise.
44996         (j1_test_data): Likewise.
44997         (jn_test_data): Likewise.
44998         (lgamma_test_data): Likewise.
44999         (log_test_data): Likewise.
45000         (log10_test_data): Likewise.
45001         (log1p_test_data): Likewise.
45002         (log2_test_data): Likewise.
45003         (pow_test_data): Likewise.
45004         (scalb_test_data): Likewise.
45005         (sin_test_data): Likewise.
45006         (sincos_test_data): Likewise.
45007         (sinh_test_data): Likewise.
45008         (tan_test_data): Likewise.
45009         (tanh_test_data): Likewise.
45010         (tgamma_test_data): Likewise.
45011         (y0_test_data): Likewise.
45012         (y1_test_data): Likewise.
45013         (yn_test_data): Likewise.
45015         [BZ #16167]
45016         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45017         argument being NaN and avoid computations with second argument in
45018         that case.
45019         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45020         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45021         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45023 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45025         * locale/iso-639.def: Add Chitwani Tharu (the).
45027 2013-11-14  Andreas Schwab  <schwab@suse.de>
45029         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45030         word instead of empty string.
45032 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45035         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45037         (__fe_nomask_env): Likewise.
45039 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45041         * benchtests/bench-timing.h: Include time.h.
45043 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45045         [BZ #15997]
45046         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45047         to 3.4.0 for x32.
45048         * sysdeps/unix/sysv/linux/configure: Regenerated.
45050 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45052         [BZ #16151]
45053         * stdlib/strtod_l.c (round_and_return): Do not consider
45054         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45055         exponent one less than half the least subnormal exponent.
45056         * stdlib/test-strtod-round-data: Add more tests.
45057         * stdlib/tst-strtod-round.c (tests): Regenerated.
45059 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45061         [BZ #14143]
45062         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45063         (__fe_mask_env): Likewise.
45064         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45065         libm_hidden_proto and add function prototype.
45066         (__fe_mask_env): Add function prototype.
45067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45068         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45070         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45072         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45074 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45076         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45077         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45079 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45081         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45082         of htab_find_slot().
45084 2013-11-11  David S. Miller  <davem@davemloft.net>
45086         [BZ #16150]
45087         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45088         symbol in the non-vis3 case in static builds.
45089         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45090         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45091         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45092         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45094 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45096         [BZ #387]
45097         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45098         it is empty.
45100 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45102         * benchtests/Makefile: Add bench-strtod.
45103         * benchtests/bench-strtod.c: New file: strtod benchtest
45105 2013-11-11  Andreas Schwab  <schwab@suse.de>
45107         [BZ #16153]
45108         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45109         terminating NUL in key length.
45111 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45114         Add artificial ODP entry for vDSO symbol for PPC64.
45115         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45116         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45118 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45120         [BZ #15374]
45121         * nss/getent.c (services_keys): Recognize services starting with digit.
45123 2013-11-06  David S. Miller  <davem@davemloft.net>
45125         [BZ #15985]
45126         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45127         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45129 2013-11-06  Will Newton  <will.newton@linaro.org>
45131         * manual/memory.texi (Malloc Examples): Remove register
45132         keyword from examples.
45134 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45136         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45138 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45140         [BZ #6981]
45141         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45142         depending on [__GCC_IEC_559 > 0].
45143         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45144         depending on [__GCC_IEC_559_COMPLEX > 0].
45146 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45148         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45149         to iso-639.def.
45151 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45153         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45155 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45157         [BZ #16112]
45158         * malloc/malloc (malloc_info): Do not handle first bin as
45159         special case.
45161 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45163         * locale/iso-639.def: Add Central Nahuatl (nhn).
45165 2013-11-01  Bruno Haible  <bruno@clisp.org>
45167         [BZ #7003]
45168         * manual/math.texi (BSD Random): Specify range upper bound as
45169         in POSIX.
45171 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45173         * locale/iso-639.def: Add Meadow Mari (mhr).
45175 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45177         [BZ #14752], [BZ #15763]
45178         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45179         Validate name.
45180         * rt/tst_shm.c: Add test for escaping directory.
45182 2013-10-31  Andreas Schwab  <schwab@suse.de>
45184         [BZ #15917]
45185         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45186         followed by 'x' as part of digit sequence.
45187         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45189 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45191         [BZ #16037]
45192         * configure.ac: allow GNU Make 4.0 and greater.
45193         * configure: Regenerated.
45195 2013-10-30  Will Newton  <will.newton@linaro.org>
45197         [BZ #16038]
45198         * malloc/hooks.c (memalign_check): Limit alignment to the
45199         maximum representable power of two.
45200         * malloc/malloc.c (__libc_memalign): Likewise.
45201         * malloc/tst-memalign.c (do_test): Add test for very
45202         large alignment values.
45203         * malloc/tst-posix_memalign.c (do_test): Likewise.
45205 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45207         [BZ #11087]
45208         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45209         (munmap_chunk): Likewise.
45210         (mremap_chunk): Likewise.
45212 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45214         [BZ #15799]
45215         * stdlib/div.c (div): Remove obsolete code.
45216         * stdlib/ldiv.c (ldiv): Likewise.
45217         * stdlib/lldiv.c (lldiv): Likewise.
45219 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45221         [BZ #16071]
45222         * nss/nss_files/files-XXX.c (get_contents_ret): New
45223         enumerator.
45224         (get_contents): New function.
45225         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45227 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45229         * configure.in: Moved to ...
45230         * configure.ac: ... here. Change reference to configure.in
45231         to configure.ac.
45232         * sysdeps/arm/preconfigure.ac: ... here.
45233         configure.in to configure.ac.
45234         * sysdeps/gnu/configure.in: Moved to ...
45235         * sysdeps/gnu/configure.ac: ... here.
45236         * sysdeps/i386/configure.in: Moved to ...
45237         * sysdeps/i386/configure.ac: ... here.
45238         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45239         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45240         * sysdeps/mach/configure.in: Moved to ...
45241         * sysdeps/mach/configure.ac: ... here.
45242         * sysdeps/mach/hurd/configure.in: Moved to ...
45243         * sysdeps/mach/hurd/configure.ac: ... here.
45244         * sysdeps/powerpc/configure.in: Moved to ...
45245         * sysdeps/powerpc/configure.ac: ... here.
45246         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45247         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45248         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45249         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45250         * sysdeps/s390/s390-32/configure.in: Moved to ...
45251         * sysdeps/s390/s390-32/configure.ac: ... here.
45252         * sysdeps/s390/s390-64/configure.in: Moved to ...
45253         * sysdeps/s390/s390-64/configure.ac: ... here.
45254         * sysdeps/sh/configure.in: Moved to ...
45255         * sysdeps/sh/configure.ac: ... here.
45256         * sysdeps/sparc/configure.in: Moved to ...
45257         * sysdeps/sparc/configure.ac: ... here.
45258         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45259         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45260         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45261         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45262         * sysdeps/x86_64/configure.in: Moved to ...
45263         * sysdeps/x86_64/configure.ac: ... here.
45264         * sysdeps/x86_64/preconfigure.in: Moved to ...
45265         * sysdeps/x86_64/preconfigure.ac: ... here.
45266         * aclocal.m4: Change reference to configure.in to configure.ac.
45267         * config.h.in: Likewise.
45268         * manual/install.texi: Likewise.
45269         * manual/maint.texi: Likewise.
45270         * Makefile: Likewise.
45271         * malloc/Makefile: Likewise.
45272         * nscd/Makefile: Likewise.
45273         * Makeconfig: Change reference to configure.in and
45274         preconfigure.in to configure.ac and preconfigure.ac
45275         respectively.
45276         * INSTALL: Regenerated.
45277         * configure: Likewise.
45278         * sysdeps/gnu/configure: Likewise.
45279         * sysdeps/i386/configure: Likewise.
45280         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45281         * sysdeps/mach/configure: Likewise.
45282         * sysdeps/mach/hurd/configure: Likewise.
45283         * sysdeps/powerpc/configure: Likewise.
45284         * sysdeps/powerpc/powerpc32/configure: Likewise.
45285         * sysdeps/powerpc/powerpc64/configure: Likewise.
45286         * sysdeps/s390/s390-32/configure: Likewise.
45287         * sysdeps/s390/s390-64/configure: Likewise.
45288         * sysdeps/sh/configure: Likewise.
45289         * sysdeps/sparc/configure: Likewise.
45290         * sysdeps/unix/sysv/linux/configure: Likewise.
45291         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45292         * sysdeps/x86_64/configure: Likewise.
45293         * sysdeps/x86_64/preconfigure: Likewise.
45295 2013-10-29  Andreas Schwab  <schwab@suse.de>
45297         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45299 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45301         * benchtests/pow-inputs: Add new inputs.
45303         * benchtests/exp-inputs: Add new inputs.
45305         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45306         conditional check for return value.
45307         (__cos32): Likewise.
45309 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45311         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45312         to provide a boost for large inputs with word alignment.
45313         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45314         implementation based on optimized PPC64 strcpy.
45315         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45316         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45317         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45318         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45320 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45322         [BZ #2801]
45323         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45325 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45327         [BZ #14876]
45328         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45329         * time/tst-strptime.c (day_tests): Add testcase.
45331 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45333         [BZ #14029]
45334         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45336 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45338         [BZ #16074]
45339         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45340         MAP_FAILED on error.
45342 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45344         [BZ #16072]
45345         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45346         heap for large requests.
45348 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45350         [BZ #9954]
45351         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45352         result if the result has no associated interface.
45353         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45354         interface for all 127.X.Y.Z addresses.
45356 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45358         * locale/iso-639.def: Add Ligurian (lij)
45360 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45362         [BZ #15825]
45363         * sunrpc/rpc_main.c: Document rpcgen -5.
45365 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45367         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45369 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45371         [BZ #10278]
45372         * posix/glob.c: Match only directories when trailing slash is present.
45373         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45374         (main): Add testcase.
45376 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45378         [BZ #15670]
45379         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45381 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45383         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45384         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45385         AUTH_DES and cindex for FIPS 140-2.
45386         (DES Encryption): Add cindex FIPS 46-3.
45388         * locale/locarchive.h (struct locarhandle): Add fname.
45389         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45390         if an optional argument was specified to --list-archive,
45391         otherwise NULL.
45392         * locale/programs/locarchive.c (show_archive_content): Take new
45393         argument fname and pass it via ah.fname to open_archive.
45394         * locale/programs/localedef.h: Update decl.
45395         (open_archive): If AH->fname is non-null, open that file
45396         rather than the default file name, and don't ignore ENOENT.
45397         (create_archive): Set AH.fname to NULL.
45398         (delete_locales_from_archive): Likewise.
45399         (add_locales_to_archive): Likewise.
45400         * locale/programs/locfile.c (write_all_categories): Likewise.
45402 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45403             Aldy Hernandez  <aldyh@redhat.com>
45405         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45406         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45407         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45408         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45409         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45411         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45412         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45413         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45414         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45415         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45416         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45417         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45418         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45419         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45420         Likewise.
45421         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45422         Likewise.
45423         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45424         Likewise.
45425         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45426         Likewise.
45427         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45428         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45429         Likewise.
45430         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45431         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45432         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45433         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45434         Likewise.
45435         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45436         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45437         * sysdeps/powerpc/preconfigure: Likewise.
45438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45439         Likewise.
45440         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45441         Replace contents of file by #include of <fenv_libc.h>.
45442         * sysdeps/powerpc/soft-fp/sfp-machine.h
45443         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45444         and <sys/prctl.h>.
45445         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45446         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45448         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45449         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45454         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45455         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45456         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45458         Allow copysignl PLT reference to be missing.
45460 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45461             Joseph Myers  <joseph@codesourcery.com
45463         [BZ #15948]
45464         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45465         single character.
45466         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45468 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45470         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45471         * elf/tst-tls1.c: Likewise.
45472         * elf/tst-tls10.h: Likewise.
45473         * elf/tst-tls14.c: Likewise.
45474         * elf/tst-tls2.c: Likewise.
45475         * elf/tst-tls3.c: Likewise.
45476         * elf/tst-tls4.c: Likewise.
45477         * elf/tst-tls5.c: Likewise.
45478         * elf/tst-tls6.c: Likewise.
45479         * elf/tst-tls7.c: Likewise.
45480         * elf/tst-tls8.c: Likewise.
45481         * elf/tst-tls9.c: Likewise.
45482         * elf/tst-tlsmod1.c: Likewise.
45483         * elf/tst-tlsmod13.c: Likewise.
45484         * elf/tst-tlsmod13a.c: Likewise.
45485         * elf/tst-tlsmod14a.c: Likewise.
45486         * elf/tst-tlsmod16a.c: Likewise.
45487         * elf/tst-tlsmod16b.c: Likewise.
45488         * elf/tst-tlsmod2.c: Likewise.
45489         * elf/tst-tlsmod3.c: Likewise.
45490         * elf/tst-tlsmod4.c: Likewise.
45491         * elf/tst-tlsmod5.c: Likewise.
45492         * elf/tst-tlsmod6.c: Likewise.
45494 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45496         [BZ #12486]
45497         * malloc/malloc.c: remove checks for statistics.
45499 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45501         [BZ #15277]
45502         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45503         * inet/tst-network.c: Add testcase.
45505 2013-10-17  Andreas Schwab  <schwab@suse.de>
45507         [BZ #15218]
45508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45509         to determine canonical name.
45511 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45513         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45514         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45515         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45516         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45518         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45519         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45520         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45521         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45522         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45523         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45524         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45525         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45526         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45527         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45528         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45530         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45531         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45532         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45533         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45534         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45535         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45536         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45537         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45538         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45539         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45540         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45541         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45542         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45543         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45544         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45545         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45546         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45547         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45548         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45549         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45550         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45551         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45552         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45553         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45554         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45555         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45556         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45557         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45558         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45559         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45560         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45561         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45562         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45563         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45564         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45565         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45566         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45567         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45568         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45569         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45570         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45572 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45574         [BZ #16041]
45575         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45576         make result into a quiet NaN.
45578 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45580         * soft-fp/adddf3.c: Fix horizontal whitespace.
45581         * soft-fp/addsf3.c: Likewise.
45582         * soft-fp/addtf3.c: Likewise.
45583         * soft-fp/divdf3.c: Likewise.
45584         * soft-fp/divsf3.c: Likewise.
45585         * soft-fp/divtf3.c: Likewise.
45586         * soft-fp/double.h: Likewise.
45587         * soft-fp/eqdf2.c: Likewise.
45588         * soft-fp/eqsf2.c: Likewise.
45589         * soft-fp/eqtf2.c: Likewise.
45590         * soft-fp/extenddftf2.c: Likewise.
45591         * soft-fp/extended.h: Likewise.
45592         * soft-fp/extendsfdf2.c: Likewise.
45593         * soft-fp/extendsftf2.c: Likewise.
45594         * soft-fp/extendxftf2.c: Likewise.
45595         * soft-fp/fixdfdi.c: Likewise.
45596         * soft-fp/fixdfsi.c: Likewise.
45597         * soft-fp/fixdfti.c: Likewise.
45598         * soft-fp/fixsfdi.c: Likewise.
45599         * soft-fp/fixsfsi.c: Likewise.
45600         * soft-fp/fixsfti.c: Likewise.
45601         * soft-fp/fixtfdi.c: Likewise.
45602         * soft-fp/fixtfsi.c: Likewise.
45603         * soft-fp/fixtfti.c: Likewise.
45604         * soft-fp/fixunsdfdi.c: Likewise.
45605         * soft-fp/fixunsdfsi.c: Likewise.
45606         * soft-fp/fixunsdfti.c: Likewise.
45607         * soft-fp/fixunssfdi.c: Likewise.
45608         * soft-fp/fixunssfsi.c: Likewise.
45609         * soft-fp/fixunssfti.c: Likewise.
45610         * soft-fp/fixunstfdi.c: Likewise.
45611         * soft-fp/fixunstfsi.c: Likewise.
45612         * soft-fp/fixunstfti.c: Likewise.
45613         * soft-fp/floatdidf.c: Likewise.
45614         * soft-fp/floatdisf.c: Likewise.
45615         * soft-fp/floatditf.c: Likewise.
45616         * soft-fp/floatsidf.c: Likewise.
45617         * soft-fp/floatsisf.c: Likewise.
45618         * soft-fp/floatsitf.c: Likewise.
45619         * soft-fp/floattidf.c: Likewise.
45620         * soft-fp/floattisf.c: Likewise.
45621         * soft-fp/floattitf.c: Likewise.
45622         * soft-fp/floatundidf.c: Likewise.
45623         * soft-fp/floatundisf.c: Likewise.
45624         * soft-fp/floatunditf.c: Likewise.
45625         * soft-fp/floatunsidf.c: Likewise.
45626         * soft-fp/floatunsisf.c: Likewise.
45627         * soft-fp/floatunsitf.c: Likewise.
45628         * soft-fp/floatuntidf.c: Likewise.
45629         * soft-fp/floatuntisf.c: Likewise.
45630         * soft-fp/floatuntitf.c: Likewise.
45631         * soft-fp/fmadf4.c: Likewise.
45632         * soft-fp/fmasf4.c: Likewise.
45633         * soft-fp/fmatf4.c: Likewise.
45634         * soft-fp/gedf2.c: Likewise.
45635         * soft-fp/gesf2.c: Likewise.
45636         * soft-fp/getf2.c: Likewise.
45637         * soft-fp/ledf2.c: Likewise.
45638         * soft-fp/lesf2.c: Likewise.
45639         * soft-fp/letf2.c: Likewise.
45640         * soft-fp/muldf3.c: Likewise.
45641         * soft-fp/mulsf3.c: Likewise.
45642         * soft-fp/multf3.c: Likewise.
45643         * soft-fp/negdf2.c: Likewise.
45644         * soft-fp/negsf2.c: Likewise.
45645         * soft-fp/negtf2.c: Likewise.
45646         * soft-fp/op-1.h: Likewise.
45647         * soft-fp/op-2.h: Likewise.
45648         * soft-fp/op-4.h: Likewise.
45649         * soft-fp/op-8.h: Likewise.
45650         * soft-fp/op-common.h: Likewise.
45651         * soft-fp/quad.h: Likewise.
45652         * soft-fp/single.h: Likewise.
45653         * soft-fp/soft-fp.h: Likewise.
45654         * soft-fp/sqrtdf2.c: Likewise.
45655         * soft-fp/sqrtsf2.c: Likewise.
45656         * soft-fp/sqrttf2.c: Likewise.
45657         * soft-fp/subdf3.c: Likewise.
45658         * soft-fp/subsf3.c: Likewise.
45659         * soft-fp/subtf3.c: Likewise.
45660         * soft-fp/truncdfsf2.c: Likewise.
45661         * soft-fp/trunctfdf2.c: Likewise.
45662         * soft-fp/trunctfsf2.c: Likewise.
45663         * soft-fp/trunctfxf2.c: Likewise.
45664         * soft-fp/unorddf2.c: Likewise.
45665         * soft-fp/unordsf2.c: Likewise.
45666         * soft-fp/unordtf2.c: Likewise.
45668 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45670         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45671         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45673 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45675         * elf/dl-libc.c: Clear initfini list after freeing.
45677 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45679         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45680         * soft-fp/addsf3.c: Likewise.
45681         * soft-fp/addtf3.c: Likewise.
45682         * soft-fp/divdf3.c: Likewise.
45683         * soft-fp/divsf3.c: Likewise.
45684         * soft-fp/divtf3.c: Likewise.
45685         * soft-fp/double.h: Likewise.
45686         * soft-fp/eqdf2.c: Likewise.
45687         * soft-fp/eqsf2.c: Likewise.
45688         * soft-fp/eqtf2.c: Likewise.
45689         * soft-fp/extenddftf2.c: Likewise.
45690         * soft-fp/extended.h: Likewise.
45691         * soft-fp/extendsfdf2.c: Likewise.
45692         * soft-fp/extendsftf2.c: Likewise.
45693         * soft-fp/extendxftf2.c: Likewise.
45694         * soft-fp/fixdfdi.c: Likewise.
45695         * soft-fp/fixdfsi.c: Likewise.
45696         * soft-fp/fixdfti.c: Likewise.
45697         * soft-fp/fixsfdi.c: Likewise.
45698         * soft-fp/fixsfsi.c: Likewise.
45699         * soft-fp/fixsfti.c: Likewise.
45700         * soft-fp/fixtfdi.c: Likewise.
45701         * soft-fp/fixtfsi.c: Likewise.
45702         * soft-fp/fixtfti.c: Likewise.
45703         * soft-fp/fixunsdfdi.c: Likewise.
45704         * soft-fp/fixunsdfsi.c: Likewise.
45705         * soft-fp/fixunsdfti.c: Likewise.
45706         * soft-fp/fixunssfdi.c: Likewise.
45707         * soft-fp/fixunssfsi.c: Likewise.
45708         * soft-fp/fixunssfti.c: Likewise.
45709         * soft-fp/fixunstfdi.c: Likewise.
45710         * soft-fp/fixunstfsi.c: Likewise.
45711         * soft-fp/fixunstfti.c: Likewise.
45712         * soft-fp/floatdidf.c: Likewise.
45713         * soft-fp/floatdisf.c: Likewise.
45714         * soft-fp/floatditf.c: Likewise.
45715         * soft-fp/floatsidf.c: Likewise.
45716         * soft-fp/floatsisf.c: Likewise.
45717         * soft-fp/floatsitf.c: Likewise.
45718         * soft-fp/floattidf.c: Likewise.
45719         * soft-fp/floattisf.c: Likewise.
45720         * soft-fp/floattitf.c: Likewise.
45721         * soft-fp/floatundidf.c: Likewise.
45722         * soft-fp/floatundisf.c: Likewise.
45723         * soft-fp/floatunsidf.c: Likewise.
45724         * soft-fp/floatunsisf.c: Likewise.
45725         * soft-fp/floatuntidf.c: Likewise.
45726         * soft-fp/floatuntisf.c: Likewise.
45727         * soft-fp/floatuntitf.c: Likewise.
45728         * soft-fp/fmadf4.c: Likewise.
45729         * soft-fp/fmasf4.c: Likewise.
45730         * soft-fp/fmatf4.c: Likewise.
45731         * soft-fp/gedf2.c: Likewise.
45732         * soft-fp/gesf2.c: Likewise.
45733         * soft-fp/getf2.c: Likewise.
45734         * soft-fp/ledf2.c: Likewise.
45735         * soft-fp/lesf2.c: Likewise.
45736         * soft-fp/letf2.c: Likewise.
45737         * soft-fp/muldf3.c: Likewise.
45738         * soft-fp/mulsf3.c: Likewise.
45739         * soft-fp/multf3.c: Likewise.
45740         * soft-fp/negdf2.c: Likewise.
45741         * soft-fp/negsf2.c: Likewise.
45742         * soft-fp/negtf2.c: Likewise.
45743         * soft-fp/op-1.h: Likewise.
45744         * soft-fp/op-2.h: Likewise.
45745         * soft-fp/op-4.h: Likewise.
45746         * soft-fp/op-8.h: Likewise.
45747         * soft-fp/op-common.h: Likewise.
45748         * soft-fp/quad.h: Likewise.
45749         * soft-fp/single.h: Likewise.
45750         * soft-fp/soft-fp.h: Likewise.
45751         * soft-fp/sqrtdf2.c: Likewise.
45752         * soft-fp/sqrtsf2.c: Likewise.
45753         * soft-fp/sqrttf2.c: Likewise.
45754         * soft-fp/subdf3.c: Likewise.
45755         * soft-fp/subsf3.c: Likewise.
45756         * soft-fp/subtf3.c: Likewise.
45757         * soft-fp/truncdfsf2.c: Likewise.
45758         * soft-fp/trunctfdf2.c: Likewise.
45759         * soft-fp/trunctfsf2.c: Likewise.
45760         * soft-fp/trunctfxf2.c: Likewise.
45761         * soft-fp/unorddf2.c: Likewise.
45762         * soft-fp/unordsf2.c: Likewise.
45763         * soft-fp/unordtf2.c: Likewise.
45765 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45767         [BZ #15672]
45768         * misc/error.c (error_tail): Fix possible buffer overflow.
45770 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45772         [BZ #13028]
45773         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45774         address.
45776 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45778         [BZ #832]
45779         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45780         testing pipefail option.
45782 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45784         * soft-fp/double.h: Indent preprocessor directives inside #if.
45785         * soft-fp/extended.h: Likewise.
45786         * soft-fp/op-2.h: Likewise.
45787         * soft-fp/op-4.h: Likewise.
45788         * soft-fp/op-common.h: Likewise.
45789         * soft-fp/quad.h: Likewise.
45790         * soft-fp/single.h: Likewise.
45791         * soft-fp/soft-fp.h: Likewise.
45793 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45795         * iconv/iconv_prog.c: Fix typos.
45796         * stdio-common/psiginfo-data.h: Likewise.
45798 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45800         [BZ #15764]
45801         * locale/setlocale.c: Fix typo.
45803 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45805         [BZ #16036]
45806         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45807         signaling NaN arguments.
45808         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45809         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45811         [BZ #14910]
45812         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45813         unordered operands.
45814         * soft-fp/gesf2.c (__gesf2): Likewise.
45815         * soft-fp/getf2.c (__getf2): Likewise.
45816         * soft-fp/ledf2.c (__ledf2): Likewise.
45817         * soft-fp/lesf2.c (__lesf2): Likewise.
45818         * soft-fp/letf2.c (__letf2): Likewise.
45820         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45821         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45822         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45823         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45824         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45825         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45826         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45827         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45828         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45829         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45830         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45831         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45832         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45833         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45834         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45835         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45836         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45837         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45838         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45839         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45840         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45841         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45842         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45843         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45844         * soft-fp/floattidf.c (__floattidf): Likewise.
45845         * soft-fp/floattisf.c (__floattisf): Likewise.
45846         * soft-fp/floattitf.c (__floattitf): Likewise.
45847         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45848         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45849         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45850         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45851         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45852         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45853         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45854         * soft-fp/gesf2.c (__gesf2): Likewise.
45855         * soft-fp/getf2.c (__getf2): Likewise.
45856         * soft-fp/ledf2.c (__ledf2): Likewise.
45857         * soft-fp/lesf2.c (__lesf2): Likewise.
45858         * soft-fp/letf2.c (__letf2): Likewise.
45860         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45861         Undefine and redefine.
45862         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45863         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45864         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45865         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45866         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45867         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45868         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45869         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45870         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45871         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45872         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45873         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45874         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45875         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45876         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45878         [BZ #16032]
45879         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45880         without decrementing exponent if mantissa >= that for the
45881         denominator, not >.
45882         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45883         denominator, not >.  Decrement exponent in < case instead of
45884         incrementing in >= case.
45885         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45886         without decrementing exponent if mantissa >= that for the
45887         denominator, not >.
45889         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45890         computing saturated result for unsigned overflow.
45892 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45893             Jeff Law  <law@redhat.com>
45895         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45896         (atan2Mp): Add systemtap probe marker.
45897         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45898         (__ieee754_log): Add systemtap probe marker.
45899         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45900         (atanMp): Add systemtap probe marker.
45901         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45902         (tanMp): Add systemtap probe marker.
45903         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45904         (__slowexp): Add systemtap probe marker.
45905         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45906         (__slowpow): Add systemtap probe marker.
45907         * manual/probes.texi: Document probes.
45909 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45911         [BZ #15362]
45912         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45913         written.
45914         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45915         written.
45916         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45917         written to buffer but not flushed.
45918         * libio/iofwrite_u.c:  Likewise.
45919         * libio/iopadn.c:  Return bytes returned even if EOF was
45920         encountered.
45921         * libio/iowpadn.c:  Likewise.
45922         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45923         if _IO_padn does not write the whole buffer.
45924         [!COMPILE_WPRINTF] (PAD): Likewise.
45926 2013-10-10  David S. Miller  <davem@davemloft.net>
45928         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45929         directory block.
45931 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45933         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45934         instead of FSF address.
45935         * soft-fp/fixdfti.c: Likewise.
45936         * soft-fp/fixsfti.c: Likewise.
45937         * soft-fp/fixtfti.c: Likewise.
45938         * soft-fp/fixunsdfti.c: Likewise.
45939         * soft-fp/fixunssfti.c: Likewise.
45940         * soft-fp/fixunstfti.c: Likewise.
45941         * soft-fp/floattidf.c: Likewise.
45942         * soft-fp/floattisf.c: Likewise.
45943         * soft-fp/floattitf.c: Likewise.
45944         * soft-fp/floatuntidf.c: Likewise.
45945         * soft-fp/floatuntisf.c: Likewise.
45946         * soft-fp/floatuntitf.c: Likewise.
45947         * soft-fp/trunctfxf2.c: Likewise.
45949         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45950         * soft-fp/fixdfti.c: Likewise.
45951         * soft-fp/fixsfti.c: Likewise.
45952         * soft-fp/fixtfti.c: Likewise.
45953         * soft-fp/fixunsdfti.c: Likewise.
45954         * soft-fp/fixunssfti.c: Likewise.
45955         * soft-fp/fixunstfti.c: Likewise.
45956         * soft-fp/floattidf.c: Likewise.
45957         * soft-fp/floattisf.c: Likewise.
45958         * soft-fp/floattitf.c: Likewise.
45959         * soft-fp/floatuntidf.c: Likewise.
45960         * soft-fp/floatuntisf.c: Likewise.
45961         * soft-fp/floatuntitf.c: Likewise.
45962         * soft-fp/trunctfxf2.c: Likewise.
45964 2013-10-10  David S. Miller  <davem@davemloft.net>
45966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45968 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45970         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45971         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45972         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45973         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45974         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45975         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45976         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45978         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45979         for NaNs before doing comparisons on argument.
45980         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45981         Likewise.
45983 2013-10-10  Will Newton  <will.newton@linaro.org>
45985         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45986         passed to _int_memalign does not overflow.
45988 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45990         * scripts/bench.pl: Add include-sources directive.
45991         * benchtests/README: Update documentation.
45993 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45995         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45996         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45997         instead of FP_INIT_ROUNDMODE.
45998         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45999         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46001         [BZ #16034]
46002         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46003         copy class of input value.
46004         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46005         not handle exceptions.
46006         * soft-fp/negsf2.c (__negsf2): Likewise.
46007         * soft-fp/negtf2.c (__negtf2): Likewise.
46008         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46010 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46012         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46013         semicolon.  From Linux kernel.
46015 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46019 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46021         [BZ #156]
46022         * manual/socket.texi: Added statement about buffer
46023         for gethostbyname2_r.
46025 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46027         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46028         Use .p2align directive instead, throughout.
46029         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46030         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46031         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46032         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46033         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46034         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46035         * sysdeps/x86_64/strchr.S: Likewise.
46036         * sysdeps/x86_64/strrchr.S: Likewise.
46038 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46040         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46042         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46044         * sysdeps/generic/math_private.h (__mpsin1): Remove
46045         declaration.
46046         (__mpcos1): Likewise.
46047         (__mpsin): New argument __range_reduce.
46048         (__mpcos): Likewise.
46049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46050         (slow): Use __mpsin and __mpcos.
46051         (slow1): Likewise.
46052         (slow2): Likewise.
46053         (sloww): Likewise.
46054         (sloww1): Likewise.
46055         (sloww2): Likewise.
46056         (bsloww): Likewise.
46057         (bsloww1): Likewise.
46058         (bsloww2): Likewise.
46059         (cslow2): Likewise.
46060         (csloww): Likewise.
46061         (csloww1): Likewise.
46062         (csloww2): Likewise.
46063         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46064         range_reduce.  Merge in __mpsin1.
46065         (__mpcos): Likewise.
46066         (__mpsin1): Remove.
46067         (__mpcos1): Likewise.
46069 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46071         * locale/loadlocale.c (_nl_intern_locale_data): Use
46072         LOCFILE_ALIGNED_P.
46073         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46074         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46075         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46076         obstack data is appropriately aligned.
46077         (obstack_int32_grow_fast): Likewise.
46078         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46079         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46080         (add_locale_uint32_array): Likewise.
46082 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46084         * benchtests/Makefile: Remove ARGLIST and RET variables.
46085         ($(objpfx)bench-%.c): Pass only function name to the script.
46086         * benchtests/README: Update documentation.
46087         * benchtests/acos-inputs: Add new directives.
46088         * benchtests/acosh-inputs: Likewise.
46089         * benchtests/asin-inputs: Likewise.
46090         * benchtests/asinh-inputs: Likewise.
46091         * benchtests/atan-inputs: Likewise.
46092         * benchtests/atanh-inputs: Likewise.
46093         * benchtests/cos-inputs: Likewise.
46094         * benchtests/cosh-inputs: Likewise.
46095         * benchtests/exp-inputs: Likewise.
46096         * benchtests/log-inputs: Likewise.
46097         * benchtests/pow-inputs: Likewise.
46098         * benchtests/rint-inputs: Likewise.
46099         * benchtests/sin-inputs: Likewise.
46100         * benchtests/sinh-inputs: Likewise.
46101         * benchtests/tan-inputs: Likewise.
46102         * benchtests/tanh-inputs: Likewise.
46103         * scripts/bench.pl: Add support for new directives.
46105 2013-10-07  Alan Modra  <amodra@gmail.com>
46107         * README: Fix careless merge.
46109 2013-10-05  Alan Modra  <amodra@gmail.com>
46111         * NEWS: Mention powerpc64le support and bugs fixed.
46112         * README: Both big-endian and little-endian powerpc64 supported.
46114 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46116         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46117         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46118         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46119         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46121 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46123         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46124         match prototype.
46126 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46128         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46129         Move -mhard-float appending from
46130         ports/sysdeps/powerpc/powerpc32/Makefile.
46131         [$(with-fp) = yes] (ASFLAGS): Likewise.
46132         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46133         * sysdeps/powerpc/nofpu: Move directory from
46134         ports/sysdeps/powerpc/nofpu.
46135         * sysdeps/powerpc/soft-fp: Move directory from
46136         ports/sysdeps/powerpc/soft-fp.
46137         * sysdeps/powerpc/powerpc32/405: Move directory from
46138         ports/sysdeps/powerpc/powerpc32/405.
46139         * sysdeps/powerpc/powerpc32/440: Move directory from
46140         ports/sysdeps/powerpc/powerpc32/440.
46141         * sysdeps/powerpc/powerpc32/464: Move directory from
46142         ports/sysdeps/powerpc/powerpc32/464.
46143         * sysdeps/powerpc/powerpc32/476: Move directory from
46144         ports/sysdeps/powerpc/powerpc32/476.
46145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46146         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46148         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46150         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46152         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46154         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46155         * README: Update for powerpc-*-linux-gnu software floating point
46156         support in libc.
46158         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46159         case to powerpc/powerpc32*.
46160         * sysdeps/unix/sysv/linux/configure: Regenerated.
46162         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46163         (_FPU_MASK_OM): Define as 0x04.
46164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46166         0x00c10080.
46167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46168         0x0000003c.
46169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46172         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46173         getcontext_e500.
46174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46175         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46176         setcontext_e500.
46177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46178         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46179         and setcontext_e500.
46181 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46183         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46185 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46187         * manual/threads.texi (Default Thread Attributes): Fix typo.
46189 2013-10-04  Will Newton  <will.newton@linaro.org>
46191         * malloc/Makefile: Add tst-memalign.
46192         * malloc/tst-memalign.c: New file.
46194         * malloc/tst-posix_memalign.c: Add comments.
46195         (do_test): Add comments and call free on all potentially
46196         allocated pointers. Add space after cast.
46198         * malloc/tst-pvalloc.c: Add comments.
46199         (do_test): Add comments and call free on all potentially
46200         allocated pointers. Remove duplicate check for NULL pointer.
46201         Add space after cast.
46203         * malloc/tst-valloc.c: Add comments.
46204         (do_test): Add comments and call free on all potentially
46205         allocated pointers. Remove duplicate check for NULL pointer.
46206         Add space after cast.
46208 2013-10-04  Alan Modra  <amodra@gmail.com>
46210         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46211         Use stdint types in rather than __attribute__((mode())).
46212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46214 2013-10-04  Alan Modra  <amodra@gmail.com>
46216         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46217         Correct handling of unaligned relocs for little-endian.
46218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46220 2013-10-04  Alan Modra  <amodra@gmail.com>
46222         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46223         * configure: Regenerate.
46224         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46225         * shlib-versions: Likewise.
46227 2013-10-04  Alan Modra  <amodra@gmail.com>
46229         * string/tester.c (test_memrchr): Increment reported test cycle.
46231 2013-10-04  Alan Modra  <amodra@gmail.com>
46233         * string/test-memcpy.c (do_one_test): When reporting errors, print
46234         string address and don't overrun end of string.
46236 2013-10-04  Alan Modra  <amodra@gmail.com>
46238         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46239         insrdi.  Make better use of reg selection to speed exit slightly.
46240         Schedule entry path a little better.  Remove useless "are we done"
46241         checks on entry to main loop.  Handle wrapping around zero address.
46242         Correct main loop count.  Handle single left-over word from main
46243         loop inline rather than by using loop_small.  Remove extra word
46244         case in loop_small caused by wrong loop count.  Add little-endian
46245         support.
46246         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46247         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46248         cache hint.
46249         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46250         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46251         support.  Avoid rlwimi.
46252         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46254 2013-10-04  Alan Modra  <amodra@gmail.com>
46256         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46257         insrdi.  Formatting.
46258         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46259         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46260         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46261         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46262         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46263         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46265 2013-10-04  Alan Modra  <amodra@gmail.com>
46267         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46268         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46269         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46270         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46271         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46272         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46273         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46274         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46275         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46276         use of regs.  Use power7 mtocrf.  Tidy function tails.
46278 2013-10-04  Alan Modra  <amodra@gmail.com>
46280         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46281         Formatting.  Consistently use rXXX register defines or rN defines.
46282         Use early exit labels that avoid restoring unused non-volatile regs.
46283         Make cr field use more consistent with rWORDn compares.  Rename
46284         regs used as shift registers for unaligned loop, using rN defines
46285         for short lifetime/multiple use regs.
46286         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46287         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46288         addi 1,1,64 to pop stack frame.  Simplify return value code.
46289         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46291 2013-10-04  Alan Modra  <amodra@gmail.com>
46293         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46294         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46295         rather than rlwimi.
46296         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46297         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46298         little-endian support.  Correct typos.
46299         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46300         rather than rlwimi.
46301         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46302         in loop and entry code to keep "and." results.
46303         (strchr): Add little-endian support.  Comment.  Move cntlzd
46304         earlier in tail.
46305         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46307 2013-10-04  Alan Modra  <amodra@gmail.com>
46309         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46310         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46311         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46312         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46314 2013-10-04  Alan Modra  <amodra@gmail.com>
46316         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46317         (rTMP): Define as r11.
46318         (strcmp): Add little-endian support.  Optimise tail.
46319         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46320         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46321         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46322         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46323         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46324         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46325         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46327 2013-10-04  Alan Modra  <amodra@gmail.com>
46329         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46330         little-endian support.  Remove unnecessary "are we done" tests.
46331         Handle "s" wrapping around zero and extremely large "size".
46332         Correct main loop count.  Handle single left-over word from main
46333         loop inline rather than by using small_loop.  Correct comments.
46334         Delete "zero" tail, use "end_max" instead.
46335         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46337 2013-10-04  Alan Modra  <amodra@gmail.com>
46339         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46340         support.  Don't branch over align.
46341         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46342         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46343         support.  Rearrange tmp reg use to suit.  Comment.
46344         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46346 2013-10-04  Alan Modra  <amodra@gmail.com>
46348         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46350 2013-10-04  Alan Modra  <amodra@gmail.com>
46352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46353         conditional form of branch and link when obtaining pc.
46354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46356 2013-10-04  Alan Modra  <amodra@gmail.com>
46358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46359         HIWORD/LOWORD.
46360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46363 2013-10-04  Alan Modra  <amodra@gmail.com>
46365         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46366         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46367         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46368         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46369         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46370         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46371         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46372         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46373         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46374         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46376 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46377             Alistair Popple <alistair@ozlabs.au.ibm.com>
46378             Alan Modra <amodra@gmail.com>
46380         [BZ #15723]
46381         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46382         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46383         _dl_hwcap access for little-endian.
46384         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46385         destroy vmx regs when saving unaligned.
46386         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46387         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46388         destroy vmx regs when saving unaligned.
46390 2013-10-04  Alan Modra  <amodra@gmail.com>
46392         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46393         Don't use a union to pack hi/low value.
46395 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46397         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46398         for little-endian.
46399         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46400         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46401         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46402         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46403         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46405 2013-10-04  Alan Modra  <amodra@gmail.com>
46407         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46408         constants to usual value for .cst8 section, and remove redundant
46409         high address load.
46410         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46411         constant for 0x1p52.  Load little-endian words of double from
46412         correct stack offsets.
46414 2013-10-04  Alan Modra  <amodra@gmail.com>
46416         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46417         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46418         words of double from correct stack offsets.
46419         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46420         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46421         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46423         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46424         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46425         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46426         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46427         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46429         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46430         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46431         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46432         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46433         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46434         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46435         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46437 2013-10-04  Alan Modra  <amodra@gmail.com>
46439         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46440         64-bit int/double union.
46441         (_FPU_SETCW): Likewise.
46442         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46443         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46445 2013-10-04  Alan Modra  <amodra@gmail.com>
46447         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46448         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46450 2013-10-04  Alan Modra  <amodra@gmail.com>
46452         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46453         use vector int constants.
46454         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46456 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46458         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46459         array with long long.
46460         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46461         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46462         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46463         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46464         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46465         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46466         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46467         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46468         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46469         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46470         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46471         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46472         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46474 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46476         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46477         (__signbit): Likewise.  Correct for little-endian.
46478         (__signbitl): Call __signbit.
46479         (lrint): Correct for little-endian.
46480         (lrintf): Call lrint.
46482 2013-10-04  Alan Modra  <amodra@gmail.com>
46484         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46485         union 32-bit int array member with 64-bit int array.
46486         (t515, tm256): Double rather than long double.
46487         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46489 2013-10-04  Alan Modra  <amodra@gmail.com>
46491         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46492         Delete.
46493         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46494         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46495         version of math_ldbl.h.
46497 2013-10-04  Alan Modra  <amodra@gmail.com>
46499         [BZ #15734], [BZ #15735]
46500         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46501         all uses of ieee875 long double macros and unions.  Simplify test
46502         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46503         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46504         normalize after ldbl_extract_mantissa, and don't add hidden bit
46505         already handled.  Don't treat low word of ieee854 mantissa like
46506         low word of IBM long double and mask off bit when testing for
46507         zero.
46508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46509         all uses of ieee875 long double macros and unions.  Simplify tests
46510         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46511         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46512         two1022, instead use their values.  Recognise that tests for large
46513         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46514         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46515         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46516         test for 0.0L and nan.  Correct negation.
46517         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46518         ieee875 long double macros and unions.  Correct output for large
46519         magnitude x.  Correct absolute value calculation.
46520         (__erfcl): Likewise.
46521         * math/libm-test.inc: Add tests for errors discovered in IBM long
46522         double versions of fmodl, remainderl, erfl and erfcl.
46524 2013-10-04  Alan Modra  <amodra@gmail.com>
46526         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46527         all uses of ieee854 long double macros and unions.  Simplify tests
46528         for long doubles that are fully specified by the high double.
46529         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46530         Likewise.
46531         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46532         Remove dead code too.
46533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46534         (__ieee754_ynl): Likewise.
46535         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46537         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46538         Remove dead code too.
46539         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46540         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46541         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46542         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46543         Simplify.
46544         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46545         Simplify.
46546         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46548         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46549         Comment on variable precision.
46550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46552         Likewise.
46553         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46557         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46559 2013-10-04  Alan Modra  <amodra@gmail.com>
46561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46562         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46563         all uses of ieee854 long double macros and unions.
46564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46565         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46566         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46567         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46569         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46570         Likewise.
46571         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46572         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46573         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46575         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46576         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46577         Simplify sign and nan test too.
46578         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46579         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46580         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46581         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46582         Likewise.
46583         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46584         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46585         Likewise.
46586         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46587         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46588         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46589         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46590         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46591         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46593 2013-10-04  Alan Modra  <amodra@gmail.com>
46595         * stdio-common/printf_size.c (__printf_size): Don't use
46596         union ieee854_long_double in fpnum union.
46597         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46598         signbit macro to retrieve sign from long double.
46599         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46600         retrieve sign from long double.
46601         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46602         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46603         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46604         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46605         * math/test-misc.c (main): Don't use union ieee854_long_double.
46607 2013-10-04  Alan Modra  <amodra@gmail.com>
46609         [BZ #15680]
46610         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46611         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46612         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46613         calculation.  Remove unnecessary test for denormal exponent.
46614         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46615         Correct handling of denormals.  Avoid undefined shift behaviour.
46616         Correct normalisation of low mantissa when low double is denormal.
46617         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46618         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46619         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46620         Correct normalisation of low mantissa.  Test for overflow of high
46621         mantissa and normalise.
46622         (ldbl_nearbyint): Use more readable constant for two52.
46623         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46624         (__mpn_construct_long_double): Fix test for overflow of high
46625         mantissa and correct normalisation.  Avoid undefined shift.
46627 2013-10-04  Alan Modra  <amodra@gmail.com>
46629         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46630         (union ibm_extended_long_double): Define as an array of ieee754_double.
46631         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46632         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46633         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46634         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46635         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46636         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46638         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46639         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46640         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46641         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46643 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46645         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46646         page size instead of calling getpagesize.
46648         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46649         (LOCFILE_ALIGN_MASK): Likewise.
46650         (LOCFILE_ALIGN_UP): Likewise.
46651         (LOCFILE_ALIGNED_P): Likewise.
46652         * locale/programs/ld-collate.c (collate_output): Use the new
46653         macros instead of __alignof__ (int32_t).
46654         * locale/weight.h (findidx): Likewise.
46656 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46658         [BZ #431]
46659         * manual/string.texi: Fix strncat and wcsncat.
46661 2013-10-03  Brooks Moses  <bmoses@google.com>
46663         [BZ #15915]
46664         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46665         * Makerules: ...here, and adjust associated comments.
46667 2013-10-02  Will Newton  <will.newton@linaro.org>
46669         * malloc/Makefile: Add tst-pvalloc.
46670         * malloc/tst-pvalloc.c: New file.
46672 2013-10-02  Will Newton  <will.newton@linaro.org>
46674         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46675         improve test coverage.
46677 2013-10-02  Will Newton  <will.newton@linaro.org>
46679         * malloc/Makefile: Add tst-posix_memalign.
46680         * malloc/tst-posix_memalign.c: New file.
46682 2013-10-01  Eric Blake  <eblake@redhat.com>
46684         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46685         Use __THROWNL rather than __THROW on static functions.
46687 2013-09-30  Petr Machata  <pmachata@redhat.com>
46689         * elf/elf.h (R_AARCH64_ABS16): New macro.
46690         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46691         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46692         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46693         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46694         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46695         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46696         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46697         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46698         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46699         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46700         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46701         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46702         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46703         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46704         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46705         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46706         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46707         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46708         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46709         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46710         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46711         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46712         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46713         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46714         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46715         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46716         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46717         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46718         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46719         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46720         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46721         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46722         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46723         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46724         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46725         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46726         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46727         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46728         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46729         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46730         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46731         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46732         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46733         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46734         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46735         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46736         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46737         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46738         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46739         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46740         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46741         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46742         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46743         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46744         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46745         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46746         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46747         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46748         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46749         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46750         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46751         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46752         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46753         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46754         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46755         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46756         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46757         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46758         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46759         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46760         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46761         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46762         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46763         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46764         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46765         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46766         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46767         (R_AARCH64_TLSDESC_LDR): Likewise.
46768         (R_AARCH64_TLSDESC_ADD): Likewise.
46769         (R_AARCH64_TLSDESC_CALL): Likewise.
46771 2013-09-30  Andreas Schwab  <schwab@suse.de>
46773         [BZ #15048]
46774         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46775         the nss database lookup.
46776         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46779 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46781         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46783 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46785         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46786         ${Bash-specific parameter/pattern/string} parameter expansion.
46787         * sysdeps/unix/make-syscalls.sh: Likewise.
46789 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46791         * sysdeps/sh/stackguard-macros.h: New file.
46793 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46797         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46798         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46799         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46800         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46802 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46804         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46805         Fix thread ID register.
46807 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46809         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46810         [POSIX || UNIX98]: Require rather than permitting all symbols from
46811         <time.h>.
46812         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46813         element of struct sched_param.
46814         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46815         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46816         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46817         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46818         constant.
46820 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46822         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46823         argument calculation.
46825 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46827         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46828         Expect macro.
46829         [POSIX] (pthread_attr_t): Do not require type.
46830         [POSIX] (pthread_cond_t): Likewise.
46831         [POSIX] (pthread_condattr_t): Likewise.
46832         [POSIX] (pthread_key_t): Likewise.
46833         [POSIX] (pthread_mutex_t): Likewise.
46834         [POSIX] (pthread_mutexattr_t): Likewise.
46835         [POSIX] (pthread_once_t): Likewise.
46836         [POSIX] (pthread_t): Likewise.
46837         [POSIX-based standards] (pthread_atfork): Expect function.
46839 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46840             Richard Sandiford  <richard@codesourcery.com>
46842         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46843         (swap_endianness_p): New extern variable.
46844         (set_big_endian): New inline function.
46845         (maybe_swap_uint32): Likewise.
46846         (maybe_swap_uint32_array): Likewise.
46847         (maybe_swap_uint32_obstack): Likewise.
46848         * locale/programs/locfile.c: Include <stdbool.h>.
46849         (swap_endianness_p): New variable.
46850         (add_locale_uint32): Call maybe_swap_uint32.
46851         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46852         (write_locale_data): Call maybe_swap_uint32_array.
46853         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46854         maybe_swap_uint32.
46855         (obstack_int32_grow_fast): Likewise.
46856         (output_weightwc): Call maybe_swap_uint32_obstack.
46857         (collate_output): Likewise.
46858         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46859         (OPT_LITTLE_ENDIAN): Likewise.
46860         (options): Add --little-endian and --big-endian options.
46861         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46862         * locale/programs/locarchive.c: Include "locfile.h".
46863         (GET): New macro.
46864         (SET): Likewise.
46865         (INC): Likewise.
46866         (create_archive): Use the new macros to access fields of
46867         structures directly mapped from or written to locale archives.
46868         (oldlocrecentcmp): Likewise.
46869         (enlarge_archive): Likewise.
46870         (insert_name): Likewise.
46871         (add_alias): Likewise.
46872         (add_locale): Likewise.
46873         (delete_locales_from_archive): Likewise.
46874         (show_archive_content): Likewise.
46875         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46876         locale data.
46878 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46880         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46881         http://www.gnu.org/doc/freemanuals.texi.
46882         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46884 2013-09-24  Will Newton  <will.newton@linaro.org>
46886         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46887         macro.
46889 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46891         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46892         unsigned char.
46894 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46896         * manual/threads.texi (POSIX Threads): Fix a typo.
46898 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46900         [BZ #14547]
46901         * string/tst-strcoll-overflow.c: New test case.
46902         * string/Makefile (xtests): Add tst-strcoll-overflow.
46903         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46904         cache if string sizes may cause integer overflow.
46906         [BZ #14547]
46907         * string/strcoll_l.c (coll_seq): New members rule, idx,
46908         save_idx and back_us.
46909         (get_next_seq_nocache): New function.
46910         (do_compare_nocache): New function.
46911         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46912         when malloc fails.
46914 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46916         [BZ #15754]
46917         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46918         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46919         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46921         [BZ #15754]
46922         * elf/Makefile (tests): Add tst-ptrguard1.
46923         (tests-static): Add tst-ptrguard1-static.
46924         (tst-ptrguard1-ARGS): Define.
46925         (tst-ptrguard1-static-ARGS): Define.
46926         * elf/tst-ptrguard1.c: New file.
46927         * elf/tst-ptrguard1-static.c: New file.
46928         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46929         * sysdeps/i386/stackguard-macros.h: Likewise.
46930         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46931         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46932         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46933         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46934         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46935         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46937 2013-09-23  Hector Marco  <hecmargi@upv.es>
46938             Ismael Ripoll  <iripoll@disca.upv.es>
46939             Carlos O'Donell  <carlos@redhat.com>
46941         [BZ #15754]
46942         * sysdeps/generic/stackguard-macros.h: Define
46943         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46944         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46945         Define __pointer_chk_guard_local.
46946         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46947         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46949 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46951         [BZ #15859]
46952         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46954 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46956         * include/string.h (__ffs): Declare as hidden.
46957         * string/ffs.c (__ffs): Define as hidden.
46958         * sysdeps/i386/ffs.c (__ffs): Likewise.
46959         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46960         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46961         * sysdeps/s390/ffs.c (__ffs): Likewise.
46962         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46964 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46966         * NEWS: Mention malloc probes.
46968         * malloc/arena.c (new_heap): New memory_heap_new probe.
46969         (grow_heap): New memory_heap_more probe.
46970         (shrink_heap): New memory_heap_less probe.
46971         (heap_trim): New memory_heap_free probe.
46972         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46973         (systrim): New memory_sbrk_less probe.
46974         * manual/probes.texi: Document them.
46976         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46977         * manual/probes.texi: Document it.
46979         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46980         (__libc_realloc): Add memory_realloc_retry probe.
46981         (__libc_memalign): Add memory_memalign_retry probe.
46982         (__libc_valloc): Add memory_valloc_retry probe.
46983         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46984         (__libc_calloc): Add memory_calloc_retry probe.
46985         * manual/probes.texi: Document them.
46987         * malloc/arena.c (get_free_list): Add probe
46988         memory_arena_reuse_free_list.
46989         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46990         and memory_arena_reuse.
46991         (arena_get2) [!PER_THREAD]: Likewise.
46992         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46993         memory_arena_reuse_realloc.
46994         * manual/probes.texi: Document them.
46996         * malloc/malloc.c (__libc_free): Add
46997         memory_mallopt_free_dyn_thresholds probe.
46998         (__libc_mallopt): Add multiple memory_mallopt probes.
46999         * manual/probes.texi: Document them.
47001         * malloc/malloc.c: Include stap-probe.h.
47002         (__libc_mallopt): Add memory_mallopt probe.
47003         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47004         * manual/probes.texi: New.
47005         * manual/Makefile (chapters): Add probes.
47006         * manual/threads.texi: Set next node.
47008 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47010         [BZ #15963, #13985]
47011         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47012         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47013         Add `Chinese' to `nan' entry name.
47015 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47017         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47018         (POLYNOMIAL): Likewise.
47019         (TAYLOR_SINCOS): Likewise.
47020         (TAYLOR_SLOW): Likewise.
47021         (__sin): Use TAYLOR_SINCOS.
47022         (__cos): Likewise.
47023         (slow): Use TAYLOR_SLOW.
47024         (sloww): Likewise.
47025         (bsloww): Likewise.
47026         (csloww): Likewise.
47028 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47030         * stdlib/strtod_l.c: Fix buffer overrun.
47032 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47034         * benchtests/Makefile (bench): Add sincos.
47035         * benchtests/bench-sincos.c: New file.
47037         * math/libm-test.inc (cos_test_data): New test inputs.
47038         (sin_test_data): Likewise.
47040         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47041         macro.
47042         (__sin): Use it.
47043         (__cos): Likewise.
47044         (slow1): Likewise.
47045         (slow2): Likewise.
47046         (sloww1): Likewise.
47047         (sloww2): Likewise.
47048         (bsloww1): Likewise.
47049         (bsloww2): Likewise.
47050         (cslow2): Likewise.
47051         (csloww1): Likewise.
47052         (csloww2): Likewise.
47054         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47055         function.
47056         (__sin): Use it.
47057         (__cos): Likewise.
47059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47060         gotos.
47061         (__cos): Likewise.
47063 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47065         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47066         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47067         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47068         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47069         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47070         * elf/cache.c (print_entry): Handle the new cache flags.
47072 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47073             Aldy Hernandez  <aldyh@redhat.com>
47075         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47076         Change condition to [_SOFT_FLOAT].
47077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47089         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47092         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47093         declaration.
47095 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47097         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47098         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47099         (__longjmp): Use LOAD_GP to load saved GPRs.
47100         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47101         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47102         (__sigsetjmp): Use SAVE_GP to save GPRs.
47104         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47105         Do not append -msoft-float.
47106         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47108 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47110         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47112 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47114         [BZ #15966]
47115         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47116         (_FPU_GETCW): Use initial "__" on variable and field names but not
47117         on macro parameter name.
47118         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47119         parentheses around reference to macro parameter.
47121 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47123         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47124         prototype.
47125         (ctype_startup): Use uint32_t in cast and sizeof for
47126         ctype->charnames.
47128 2013-09-11  Jia Liu  <proljc@gmail.com>
47130         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47131         __daddr_t_defined.
47132         [__FreeBSD__]: Likewise.
47134 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47137         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47138         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47139         (strchr): Remove __strchr_sse42 ifunc selection.
47140         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47141         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47143 2013-09-11  Will Newton  <will.newton@linaro.org>
47145         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47146         parameter to RES. Remove hardcoded 1000 value.
47147         * benchtests/bench-skeleton.c (main): Pass RES parameter
47148         to TIMING_INIT and multiply result by 1000.
47150 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47154 2013-09-11  Andreas Schwab  <schwab@suse.de>
47156         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47157         if not defined.
47158         (O_TMPFILE) [__USE_GNU]: Define.
47159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47160         Define.
47162 2013-09-11  Will Newton  <will.newton@linaro.org>
47164         [BZ #15857]
47165         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47166         does not overflow.
47168 2013-09-11  Will Newton  <will.newton@linaro.org>
47170         [BZ #15856]
47171         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47172         does not overflow.
47174 2013-09-11  Will Newton  <will.newton@linaro.org>
47176         [BZ #15855]
47177         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47178         does not overflow.
47180 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47182         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47184         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47185         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47186         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47188 2013-09-10  Allan McRae  <allan@archlinux.org>
47190         [BZ #15748]
47191         * manual/arith.texi (Parsing of Floats): Clarify
47192         cross-reference.
47194         [BZ #15849]
47195         * manual/install.texi (Running make install): Mention
47196         --enable-pt-chown.
47197         * INSTALL: Regenerated.
47199 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47201         * csu/init-first.c (_init): Remove the !SHARED condition around
47202         FPU control word initialization.
47203         * elf/dl-support.c (_dl_fpu_control): New variable.
47204         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47205         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47206         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47207         * math/test-fpucw-static.c: New file.
47208         * math/test-fpucw-ieee.c: New file.
47209         * math/test-fpucw-ieee-static.c: New file.
47210         * math/Makefile (tests): Add `test-fpucw-ieee' and
47211         `$(tests-static)'.
47212         (tests-static): New variable.
47213         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47214         dependency to...
47215         [($(build-shared),yes)]
47216         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47217         ... this.
47218         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47219         New dependency.
47221 2013-09-09  Allan McRae  <allan@archlinux.org>
47223         [BZ #15939]
47224         * manual/string.texi (Collation Functions): Fix typo in
47225         strcoll example.
47226         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47228         [BZ #15893]
47229         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47231         [BZ #15892]
47232         * libio/memstream.c (open_memstream): Fix memory leak.
47233         * libio/wmemstream.c (open_wmemstream): Likewise.
47235         [BZ #15895]
47236         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47238 2013-09-09  Will Newton  <will.newton@linaro.org>
47240         * malloc/Makefile: Add tst-realloc to tests.
47241         * malloc/tst-realloc.c: New file.
47243 2013-09-09  Allan McRae  <allan@archlinux.org>
47245         [BZ #15844]
47246         * COPYING: Update from GNU website to fix FSF address.
47247         * COPYING.LIB: Likewise.
47249 2013-09-06  David S. Miller  <davem@davemloft.net>
47251         * po/zh_TW.po: Update Chinese (traditional) translation from
47252         translation project.
47254 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47255             Joseph Myers  <joseph@codesourcery.com>
47257         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47258         "localeinfo.h".
47259         (obstack_chunk_alloc): New macro.
47260         (obstack_chunk_free): Likewise.
47261         (record_offset): New function.
47262         (init_locale_data): Likewise.
47263         (align_locale_data): Likewise.
47264         (add_locale_empty): Likewise.
47265         (add_locale_raw_data): Likewise.
47266         (add_locale_raw_obstack): Likewise.
47267         (add_locale_string): Likewise.
47268         (add_locale_wstring): Likewise.
47269         (add_locale_uint32): Likewise.
47270         (add_locale_uint32_array): Likewise.
47271         (add_locale_char): Likewise.
47272         (start_locale_structure): Likewise.
47273         (end_locale_structure): Likewise.
47274         (start_locale_prelude): Likewise.
47275         (end_locale_prelude): Likewise.
47276         (write_locale_data): Take locale_file structure rather than an
47277         iovec.
47278         * locale/programs/locfile.h: Include "obstack.h".
47279         (struct locale_file): Change to store locale file contents instead
47280         of header.
47281         (init_locale_data): New prototype.
47282         (align_locale_data): Likewise.
47283         (add_locale_empty): Likewise.
47284         (add_locale_raw_data): Likewise.
47285         (add_locale_raw_obstack): Likewise.
47286         (add_locale_string): Likewise.
47287         (add_locale_wstring): Likewise.
47288         (add_locale_uint32): Likewise.
47289         (add_locale_uint32_array): Likewise.
47290         (add_locale_char): Likewise.
47291         (start_locale_structure): Likewise.
47292         (end_locale_structure): Likewise.
47293         (start_locale_prelude): Likewise.
47294         (end_locale_prelude): Likewise.
47295         (write_locale_data): Update prototype.
47296         * locale/programs/3level.h (struct TABLE): Remove result field.
47297         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47298         Use new locale_file interface.
47299         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47300         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47301         * locale/programs/ld-address.c (address_output): Use new
47302         locale_file interface.
47303         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47304         NO_ADD_LOCALE.
47305         (collate_finish): Don't call collseq_table_finalize.
47306         (collate_output): Use new locale_file interface.
47307         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47308         in file.
47309         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47310         (TABLE): Move defines earlier in file.
47311         (ELEMENT): Likewise.
47312         (DEFAULT): Likewise.
47313         (wctrans_table_add): Move macro and inline function earlier in
47314         file.
47315         (struct wctype_table): Move type earlier in file.
47316         (add_locale_wctype_table): New static prototype.
47317         (struct locale_ctype_t): Use logical types instead of struct iovec
47318         pointers for members.
47319         (ctype_output): Use new locale_file interface.
47320         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47321         new locale_file interface.
47322         (allocate_arrays): Update for use of new locale_file interface.
47323         * locale/programs/ld-identification.c (identification_output): Use
47324         new locale_file interface.
47325         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47326         * locale/programs/ld-messages.c (messages_output): Likewise.
47327         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47328         * locale/programs/ld-name.c (name_output): Likewise.
47329         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47330         * locale/programs/ld-paper.c (paper_output): Likewise.
47331         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47332         * locale/programs/ld-time.c (time_output): Likewise.
47334 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47336         * benchtests/Makefile: Add memrchr benchmark.
47337         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47338         benchmark as memrchr.
47339         * benchtests/bench-memrchr-ifunc.c: New file.
47340         * benchtests/bench-memrchr.c: New file.
47342 2013-09-06   Will Newton  <will.newton@linaro.org>
47344         * benchtests/Makefile (string-bench): Add memcpy.
47346 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47347             Cong Wang  <amwang@redhat.com>
47349         [BZ #15850]
47350         * sysdeps/unix/sysv/linux/bits/in.h
47351         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47352         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47353         before __USE_KERNEL_IPV6_DEFS uses.
47354         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47355         IPPROTO_BEETPH.
47356         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47357         sockaddr_in6, or ipv6_mreq.
47359 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47361         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47362         memory access for final bytes in some large inputs.
47363         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47365 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47367         * string/test-memrchr.c: New file.
47368         * string/test-memrchr-ifunc.c: New file.
47369         * string/Makefile: Add new memrchr testcase.
47371 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47373         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47374         fanotify_init returns EPERM.
47376 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47378         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47379         errors.
47380         (top level): Treat second token from macro or constant entries for
47381         allowed headers as allowed.
47382         * include/complex.h: Condition internal declarations on
47383         [!_ISOMAC].
47384         * include/fenv.h: Condition include of <stdbool.h> and internal
47385         declarations on [!_ISOMAC].
47387 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47389         [BZ #15923]
47390         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47392 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47394         * configure.in (--enable-versioning): Remove configure option.
47395         (libc_cv_asm_symver_directive): Remove configure test.
47396         (libc_cv_ld_version_script_option): Likewise.
47397         (VERSIONING): Remove variable and AC_SUBST.
47398         (DO_VERSIONING): Remove AC_DEFINE.
47399         * configure: Regenerated.
47400         * config.h.in (DO_VERSIONING): Remove macro.
47401         * Makerules [$(versioning) = yes]: Change conditionals to
47402         [$(build-shared) = yes].
47403         * config.make.in (versioning): Remove variable.
47404         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47405         [$(build-shared) = yes].
47406         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47407         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47408         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47409         [$(build-shared) = yes].
47410         * extra-lib.mk [$(versioning) = yes]: Likewise.
47411         * hurd/Makefile [$(versioning) = yes]: Likewise.
47412         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47413         [SHARED].
47414         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47415         [SHARED].
47416         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47417         [SHARED && !NO_HIDDEN].
47418         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47419         [SHARED].
47420         [SHARED && DO_VERSIONING]: Likewise..
47421         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47422         [$(build-shared) = yes].
47423         * manual/install.texi (--disable-versioning): Remove
47424         documentation.
47425         * INSTALL: Regenerated.
47426         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47427         to [SHARED].
47428         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47429         [$(build-shared) = yes].
47430         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47431         * sysdeps/i386/i686/multiarch/strstr-c.c
47432         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47433         [SHARED && !NO_HIDDEN].
47434         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47435         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47436         * sysdeps/powerpc/powerpc32/dl-machine.c
47437         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47438         * sysdeps/powerpc/powerpc32/sysdep.h
47439         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47440         to [SHARED && PIC && !NO_HIDDEN].
47441         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47442         conditional to [SHARED].
47444 2013-09-04   Will Newton  <will.newton@linaro.org>
47446         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47447         * benchtests/bench-string.h: Include bench-timing.h instead
47448         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47449         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47450         call to HP_TIMING_DIFF_INIT.
47451         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47452         instead of hp-timing.h macros.
47453         * benchtests/bench-memchr.c: Likewise.
47454         * benchtests/bench-memcmp.c: Likewise.
47455         * benchtests/bench-memcpy.c: Likewise.
47456         * benchtests/bench-memmem.c: Likewise.
47457         * benchtests/bench-memmove.c: Likewise.
47458         * benchtests/bench-memset.c: Likewise.
47459         * benchtests/bench-rawmemchr.c: Likewise.
47460         * benchtests/bench-strcasecmp.c: Likewise.
47461         * benchtests/bench-strcasestr.c: Likewise.
47462         * benchtests/bench-strcat.c: Likewise.
47463         * benchtests/bench-strchr.c: Likewise.
47464         * benchtests/bench-strcmp.c: Likewise.
47465         * benchtests/bench-strcpy.c: Likewise.
47466         * benchtests/bench-strcpy_chk.c: Likewise.
47467         * benchtests/bench-strlen.c: Likewise.
47468         * benchtests/bench-strncasecmp.c: Likewise.
47469         * benchtests/bench-strncat.c: Likewise.
47470         * benchtests/bench-strncmp.c: Likewise.
47471         * benchtests/bench-strncpy.c: Likewise.
47472         * benchtests/bench-strnlen.c: Likewise.
47473         * benchtests/bench-strpbrk.c: Likewise.
47474         * benchtests/bench-strrchr.c: Likewise.
47475         * benchtests/bench-strspn.c: Likewise.
47476         * benchtests/bench-strstr.c: Likewise.
47478 2013-09-04  Will Newton  <will.newton@linaro.org>
47480         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47482 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47484         [BZ #15427]
47485         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47486         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47487         * math/libm-test.inc (lgamma_test_data): Add more tests.
47488         * sysdeps/i386/fpu/libm-test-ulps: Update.
47489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47491 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47493         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47495         Add ifunc.
47496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47497         Add strcmp-sse2-unaligned
47498         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47500 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47502         * Versions.def (libc): Add GLIBC_2.19.
47504 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47506         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47507         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47509 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47511         [BZ #14155]
47512         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47513         intermediate calculations in recurrence.
47514         (__ieee754_ynf): Likewise.
47515         * math/libm-test.inc (jn_test_data): Do not allow spurious
47516         underflow exception.  Add more tests.
47517         (yn_test_data): Add more tests.
47518         * sysdeps/i386/fpu/libm-test-ulps: Update.
47519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47521 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47523         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47525 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47527         * csu/init-first.c: Fix then/than typos.
47528         * locale/programs/ld-collate.c: Likewise.
47529         * locale/programs/linereader.h: Likewise.
47530         * manual/charset.texi: Likewise.
47531         * manual/filesys.texi: Likewise.
47532         * manual/stdio.texi: Likewise.
47533         * manual/string.texi: Likewise.
47534         * stdlib/fmtmsg.c: Likewise.
47535         * sysdeps/i386/stpncpy.S: Likewise.
47536         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47537         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47538         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47539         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47541 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47543         * elf/dl-open.c: Fix typos.
47544         * iconvdata/gbbig5.c: Likewise.
47545         * iconvdata/iso-2022-jp.c: Likewise.
47546         * iconv/gconv_int.h: Likewise.
47547         * iconv/loop.c: Likewise.
47548         * nis/rpcsvc/nis.h: Likewise.
47549         * resolv/ns_name.c: Likewise.
47550         * stdio-common/vfscanf.c: Likewise.
47551         * streams/stropts.h: Likewise.
47552         * sunrpc/rpc_thread.c: Likewise.
47553         * sysdeps/i386/strpbrk.S: Likewise.
47554         * sysdeps/ieee754/k_standard.c: Likewise.
47555         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47556         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47557         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47558         * sysdeps/mach/hurd/profil.c: Likewise.
47559         * sysdeps/s390/dl-procinfo.h: Likewise.
47560         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47561         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47562         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47563         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47564         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47566 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47568         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47571 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47573         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47574         aix specific files.
47575         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47576         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47577         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47578         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47579         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47580         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47581         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47582         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47584 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47585             Roland McGrath  <roland@hack.frob.com>
47587         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47588         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47590 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47592         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47593         __executable_start symbol instead of _start.
47595 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47597         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47598         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47599         Move macros to...
47600         * sysdeps/gnu/ldsodefs.h: ... this new file.
47602         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47603         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47604         instead of ELFOSABI_LINUX.
47606         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47607         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47608         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47609         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47610         Likewise.
47611         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47612         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47613         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47614         Likewise.
47615         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47616         (ibm_extended_long_double): Add ieee_nan member.
47617         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47618         (do_test): New function.
47620         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47621         TEST_TRUNC.
47622         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47623         functions, renamed from truncdfsf_test, trunctfsf_test,
47624         trunctfdf_test.
47625         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47626         functions.
47627         (do_test): Run all these.
47629 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47631         * argp/argp-help.c: Fix typos.
47632         * argp/argp-parse.c: Likewise.
47633         * debug/backtracesyms.c: Likewise.
47634         * elf/elf.h: Likewise.
47635         * malloc/malloc.c: Likewise.
47636         * nis/nis_print.c: Likewise.
47637         * resolv/res_comp.c: Likewise.
47638         * stdlib/stdlib.h: Likewise.
47639         * sunrpc/clnt_tcp.c: Likewise.
47640         * sunrpc/clnt_udp.c: Likewise.
47641         * sunrpc/clnt_unix.c: Likewise.
47642         * sysdeps/unix/bsd/ptsname.c: Likewise.
47643         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47644         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47646         Likewise.
47647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47648         Likewise.
47649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47650         Likewise.
47651         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47653 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47655         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47658 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47660         [BZ #15897]
47661         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47662         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47663         ($(objpfx)bug-dl-leaf): New rule.
47664         ($(objpfx)bug-dl-leaf.so): Likewise.
47665         ($(objpfx)bug-dl-leaf.out): Likewise.
47666         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47667         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47668         * dlfcn/bug-dl-leaf.c: New test.
47669         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47670         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47671         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47672         (dlclose): Likewise.
47673         (dlmopen): Likewise.
47675 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47677         * include/netdb.h [!_ISOMAC]:
47678         Don't include <tls.h>.
47679         (h_errno, __libc_h_errno): Move declaration and macros out of
47680         [_LIBC_REENTRANT].
47682         * include/resolv.h [_RESOLV_H_]:
47683         Don't include <tls.h>.
47684         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47685         * resolv/res_libc.c: Don't include <tls.h>.
47686         (_res): Use __attribute__ ((nocommon)) in place of
47687         __attribute__ ((section (".bss"))).
47689         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47690         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47692         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47694         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47695         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47697         * resolv/res_mkquery.c: Include <sys/time.h>.
47699         * inet/ifreq.c: Moved to ...
47700         * sysdeps/unix/ifreq.c: ... here.
47701         * inet/ifreq.c: New file, true stub version.
47703         * socket/sa_len.c: New file.
47704         * socket/Makefile (aux): Add it.
47705         * sysdeps/unix/sysv/linux/Makefile
47706         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47707         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47708         and #include <socket/sa_len.c>.
47709         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47710         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47712         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47713         * bits/socket.h: ... here.
47715         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47716         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47717         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47719 2013-08-27  Andreas Schwab  <schwab@suse.de>
47721         [BZ #15736]
47722         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47723         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47724         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47725         * string/test-strcasecmp.c (test_main): Run tests in several
47726         locales.
47727         * string/test-strncasecmp.c (test_main): Likewise.
47729         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47730         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47731         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47733         (__strncasecmp_ssse3) [PIC]: Likewise.
47735 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47737         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47739         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47740         instead of explicitly declaring xdecrypt.
47741         * nis/nss_nis/nis-publickey.c: Likewise.
47743 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47745         [BZ #15890]
47746         * nscd/aicache.c: Include res_hconf.h.
47747         (addhstaiX): Initialize res_hconf.
47749 2013-08-26  Andreas Schwab  <schwab@suse.de>
47751         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47752         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47754 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47756         * nscd/aicache.c (addhstaiX): Fix indentation.
47758 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47760         * configure.ac: Quote $build_pt_chown test.
47761         * configure: Regenerated.
47763 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47765         [BZ #15532]
47766         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47767         * math/s_cexpf.c (__cexpf): Likewise.
47768         * math/s_cexpl.c (__cexpl): Likewise.
47769         * math/libm-test.inc (cexp_test_data): Correct expected return
47770         value for NaN + i0.  Add another test.
47772 2013-08-22  David S. Miller  <davem@davemloft.net>
47774         * po/ca.po: Update Catalan translation from translation project.
47775         * po/uk.po: Add Ukrainian translations from translation project.
47777 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47779         [BZ #15797]
47780         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47781         is infinite, not alongside NaN test.
47782         * math/s_fdimf.c (__fdimf): Likewise.
47783         * math/s_fdiml.c (__fdiml): Likewise.
47784         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47785         errno is unchanged.
47787 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47789         * argp/argp-help.c: Fix typos.
47790         * crypt/speeds.c: Likewise.
47791         * csu/check_fds.c: Likewise.
47792         * elf/dl-load.c: Likewise.
47793         * elf/dl-open.c: Likewise.
47794         * elf/reldep3.c: Likewise.
47795         * elf/reldep.c: Likewise.
47796         * elf/sprof.c: Likewise.
47797         * iconv/iconv_charmap.c: Likewise.
47798         * iconv/skeleton.c: Likewise.
47799         * iconv/strtab.c: Likewise.
47800         * io/lockf64.c: Likewise.
47801         * libio/libioP.h: Likewise.
47802         * resolv/gai_notify.c: Likewise.
47803         * resolv/ns_name.c: Likewise.
47804         * resolv/ns_samedomain.c: Likewise.
47805         * resolv/res_send.c: Likewise.
47806         * stdlib/random.c: Likewise.
47807         * sunrpc/rpc/xdr.h: Likewise.
47808         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47809         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47810         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47811         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47812         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47813         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47814         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47815         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47816         * sysdeps/mach/hurd/check_fds.c: Likewise.
47817         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47818         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47819         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47820         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47821         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47822         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47823         * sysdeps/pthread/aio_notify.c: Likewise.
47824         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47825         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47826         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47827         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47828         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47830 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47832         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47833         version if bit_Slow_SSE4_2 is set.
47834         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47835         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47837 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47839         [BZ #15867]
47840         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47841         trampoline stack frame information.
47842         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47844         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47845         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47846         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47847         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47848         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47849         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47850         sa_flags value.
47851         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47852         interrupting a syscall and set with option SA_SIGINFO.
47854 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47856         [BZ #15531]
47857         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47858         argument is infinite.
47859         * math/s_cprojf.c (__cprojf): Likewise.
47860         * math/s_cprojl.c (__cprojl): Likewise.
47861         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47862         * math/libm-test.inc (cproj_test_data): Add more tests.
47864         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47866         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47867         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47868         size.  Use __ffs to determine corresponding shift.
47870 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47871             Roland McGrath  <roland@hack.frob.com>
47873         * Makefile (INSTALL): Remove trailing blank lines from output of
47874         makeinfo.
47876 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47878         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47879         Align 32 bit compat elf_greg to 8 bytes.
47881 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47883         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47885 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47887         * string/strcoll_l.c (coll_seq): New structure.
47888         (get_next_seq_cached): New function.
47889         (get_next_seq): New function.
47890         (do_compare): New function.
47891         (STRCOLL): Use GNU style definition.  Simplify implementation
47892         by using get_next_seq, get_next_seq_cached and do_compare.
47894 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47896         [BZ #14699]
47897         CVE-2013-4237
47898         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47899         member.
47900         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47901         member.
47902         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47903         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47904         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47905         conditional.
47906         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47907         GETDENTS_64BIT_ALIGNED.
47908         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47909         * manual/filesys.texi (Reading/Closing Directory): Document
47910         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47911         strongly.
47912         * manual/conf.texi (Limits for Files): Add portability note to
47913         NAME_MAX, PATH_MAX.
47914         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47916 2013-08-13  Andreas Schwab  <schwab@suse.de>
47918         [BZ #15749]
47919         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47920         of fabs.
47921         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47922         LDBL_MAX_EXP >= 16384]: Add tests for it.
47924 2013-08-12  David S. Miller  <davem@davemloft.net>
47926         * version.h (RELEASE): Set to "development".
47927         (VERSION): Set to "2.18.90".
47928         * NEWS: Add 2.19 section.
47930 2013-08-03  David S. Miller  <davem@davemloft.net>
47932         * po/ko.po: Update Korean translation from translation project.
47934 2013-08-01  David S. Miller  <davem@davemloft.net>
47936         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47937         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47938         Bilka.
47940 2013-07-30  David S. Miller  <davem@davemloft.net>
47942         * po/fr.po: Update French translation from translation project.
47944 2013-07-28  David S. Miller  <davem@davemloft.net>
47946         * po/cs.po: Update Czech translation from translation project.
47948         * po/sv.po: Update Swedish translation from translation project.
47950 2013-07-27  David S. Miller  <davem@davemloft.net>
47952         * po/eo.po: Update Esperanto translation from translation project.
47954         * po/vi.po: Update Vietnamese translation from translation project.
47956         * po/de.po: Update German translation from translation project.
47958 2013-07-26  David S. Miller  <davem@davemloft.net>
47960         * po/bg.po: Update Bulgarian translation from translation project.
47962         * po/nl.po: Update Dutch translation from translation project.
47963         * po/pl.po: Update Polish translation from translation project.
47964         * po/ru.po: Update Russian translation from translation project.
47966 2013-07-24  David S. Miller  <davem@davemloft.net>
47968         * po/libc.pot: Update.
47970 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47972         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47973         variable page size.
47974         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47975         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47976         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47978 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47980         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47982 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47983             Andreas Schwab  <schwab@suse.de>
47984             Roland McGrath  <roland@hack.frob.com>
47985             Joseph Myers  <joseph@codesourcery.com>
47986             Carlos O'Donell  <carlos@redhat.com>
47988         [BZ #15755]
47989         * config.h.in: Define HAVE_PT_CHOWN.
47990         * config.make.in (build-pt-chown): New variable.
47991         * configure.in (--enable-pt_chown): New configure option.
47992         * configure: Regenerate.
47993         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47994         build-pt-chown is enabled.
47995         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47996         pt_chown to fix pty ownership.
47997         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47998         CLOSE_ALL_FDS.
47999         * manual/install.texi (Configuring and compiling): Mention
48000         --enable-pt_chown. Add @findex for grantpt.
48001         * INSTALL: Regenerate.
48003 2013-07-20  David S. Miller  <davem@davemloft.net>
48005         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48006         difference between 32-bit and 64-bit.
48008 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48010         [BZ #15711]
48011         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48012         Avoid system header dependency with -ffreestanding.
48013         ($(objpfx)bits/syscall%d): Likewise.
48015 2013-07-13  David S. Miller  <davem@davemloft.net>
48017         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48018         underflows from atanl/atan2l due to bug 15319.
48019         (casinh_test_data): Likewise.
48021 2013-07-07  David S. Miller  <davem@davemloft.net>
48023         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48025 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48027         * sysdeps/i386/fpu/libm-test-ulps: Update.
48028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48030 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48032         * configure.in (--enable-lock-elision): Fix message text.
48033         * INSTALL: Regenerate.
48034         * configure: Regenerate.
48036 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48040 2013-07-03  Andreas Jaeger  <aj@suse.de>
48042         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48043         define.
48044         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48045         (ptrace_peeksiginfo_args): Add.
48046         (__ptrace_peeksiginfo_flags): Add.
48047         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48048         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48049         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48051 2013-07-03  Allan McRae  <allan@archlinux.org>
48053         * sysdeps/i386/fpu/libm-test-ulps: Update.
48055 2013-07-02  David S. Miller  <davem@davemloft.net>
48057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48059 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48063 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48065         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48068 2013-07-02  Andi Kleen <ak@linux.intel.com>
48070         * config.h.in (ENABLE_LOCK_ELISION): Add.
48071         * configure.in (--enable-lock-elision): Add option.
48072         * manual/install.texi: Document --enable lock elision.
48073         * configure: Regenerate
48074         * INSTALL: Regenerate.
48076 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48078         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48079         SSE4.2 strcasecmp for libc.a.
48080         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48082 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48084         [BZ #13304]
48085         * soft-fp/op-common.h (_FP_FMA): New macro.
48086         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48087         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48088         (_FP_MUL_MEAT_1_imm): ... here.
48089         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48090         (_FP_MUL_MEAT_1_wide): ... here.
48091         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48092         (_FP_MUL_MEAT_1_hard): ... here.
48093         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48094         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48095         (_FP_MUL_MEAT_2_wide): ... here.
48096         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48097         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48098         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48099         (_FP_MUL_MEAT_2_gmp): ... here.
48100         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48101         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48102         (_FP_MUL_MEAT_4_wide): ... here.
48103         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48104         (_FP_MUL_MEAT_4_gmp): ... here.
48105         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48106         (_FP_WFRACBITS_DW_S): Likewise.
48107         (_FP_WFRACXBITS_DW_S): Likewise.
48108         (_FP_HIGHBIT_DW_S): Likewise.
48109         (FP_FMA_S): Likewise.
48110         (_FP_FRAC_HIGH_DW_S): Likewise.
48111         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48112         (_FP_WFRACBITS_DW_D): Likewise.
48113         (_FP_WFRACXBITS_DW_D): Likewise.
48114         (_FP_HIGHBIT_DW_D): Likewise.
48115         (FP_FMA_D): Likewise.
48116         (_FP_FRAC_HIGH_DW_D): Likewise.
48117         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48118         (_FP_WFRACBITS_DW_E): Likewise.
48119         (_FP_WFRACXBITS_DW_E): Likewise.
48120         (_FP_HIGHBIT_DW_E): Likewise.
48121         (FP_FMA_E): Likewise.
48122         (_FP_FRAC_HIGH_DW_E): Likewise.
48123         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48124         (_FP_WFRACBITS_DW_Q): Likewise.
48125         (_FP_WFRACXBITS_DW_Q): Likewise.
48126         (_FP_HIGHBIT_DW_Q): Likewise.
48127         (FP_FMA_Q): Likewise.
48128         (_FP_FRAC_HIGH_DW_Q): Likewise.
48129         * soft-fp/fmasf4.c: New file.
48130         * soft-fp/fmadf4.c: Likewise.
48131         * soft-fp/fmatf4.c: Likewise.
48133 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48136         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48137         Silvermont.
48138         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48139         macro.
48140         (index_Slow_SSE4_2): Likewise.
48141         (index_Prefer_PMINUB_for_stringop): Likewise.
48142         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48143         bit_Slow_SSE4_2 is set.
48144         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48145         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48147 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48149         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48150         rtld_global._dl_hwcap2.
48151         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48152         POWER8.
48153         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48154         POWER8 feature descriptions defined in _dl_hwcap2.
48155         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48156         string handling for POWER8 feature bits.
48157         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48158         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48159         _dl_powerpc_cap_flags.
48160         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48161         * sysdeps/powerpc/rtld-global-offsets.sym
48162         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48163         _dl_hwcap2 in the rtld_global_ro structure.
48165 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48167         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48168         hardware capabilities in support of AT_HWCAP2.
48169         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48170         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48171         GLRO(dl_hwcap2).
48172         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48173         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48174         explicitly the unknown a_type display mechanism is used.
48175         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48176         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48177         struct member.
48178         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48179         to macro prototype for AT_HWCAP2 support.
48180         * sysdeps/i386/dl-procinfo.h: Likewise.
48181         * sysdeps/s390/dl-procinfo.h: Likewise.
48182         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48183         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48184         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48185         return -1 for unknown a_type display fallback.
48186         * sysdeps/sparc/dl-procinfo.h: Likewise.
48187         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48188         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48190 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48192         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48193         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48195 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48197         [BZ #12492]
48198         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48199         mprotect making __stack_prot writable.
48201 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48202             Joseph Myers  <joseph@codesourcery.com>
48204         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48205         as being properly aligned.
48207 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48209         * dlfcn/modstatic5.c: New file.
48210         * dlfcn/tststatic5.c: New file.
48211         * dlfcn/Makefile (tests): Add tststatic5.
48212         (tests-static): Likewise.
48213         (modules-names): Add modstatic5.
48214         (tststatic5-ENV): New variable.
48215         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48217         [BZ #15022]
48218         * elf/dl-support.c (_dl_main_map): New variable.
48219         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48220         (_dl_nns, _dl_load_adds): Set to 1.
48221         (_dl_initial_searchlist): Refer to _dl_main_map.
48222         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48223         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48224         call to _dl_get_origin.
48225         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48226         around call_map.
48227         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48228         * dlfcn/modstatic3.c: New file.
48229         * dlfcn/tststatic3.c: New file.
48230         * dlfcn/tststatic4.c: New file.
48231         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48232         (tests-static): Likewise.
48233         (modules-names): Add modstatic3.
48234         (tststatic3-ENV, tststatic4-ENV): New variables.
48235         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48236         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48238 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48240         * configure.in (CC): Require GCC version 4.4 or later.
48241         * configure: Regenerated.
48242         * manual/install.texi (Tools for Compilation): Update GCC version
48243         requirement.
48244         * INSTALL: Regenerated.
48246 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48248         [BZ #15674]
48249         * string/test-memcmp.c (check2): New.
48250         (main): Call check2.
48252         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48254 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48256         [BZ #15022]
48257         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48258         over to...
48259         (dl_open_worker) [!SHARED]: ... here.
48261 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48263         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48265 2013-06-25  Richard Henderson  <rth@redhat.com>
48267         * locale/programs/locarchive.c: Include <libc-internal.h>
48269 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48271         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48272         trailing whitespace removed.
48274 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48276         [BZ #10283]
48277         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48278         * locale/programs/locarchive.c: Include libc-mmap.h.
48279         (prepare_address_space): Take two new outputs (the mmap base and len).
48280         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48281         values.
48282         (create_archive): Declare new mmap base and len values for
48283         prepare_address_space, and store the result in ah.
48284         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48285         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48286         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48287         Declare new mmap base and len values for
48288         prepare_address_space, and store the result in new_ah.
48289         (open_archive): Declare new mmap base and len values for
48290         prepare_address_space, and store the result in ah.
48291         (close_archive): If ah->mmap_base is not NULL, use that and
48292         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48293         * sysdeps/generic/libc-mmap.h: New file.
48295 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48297         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48298         (ALIGN_UP): Likewise.
48299         (PTR_ALIGN_DOWN): Likewise.
48300         (PTR_ALIGN_UP): Likewise.
48302 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48304         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48305         entry mapped to PPC_PLATFORM_POWER8.
48306         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48307         POWER8.
48308         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48309         (_dl_string_platform): Add case for exporting platform position for
48310         POWER8.
48311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48312         search path to sysdeps/powerpc/powerpc32/power8 directory.
48313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48314         search path to sysdeps/powerpc/powerpc64/power8 directory.
48315         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48316         power7 directories.
48317         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48318         power7 directories.
48320 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48322         * INSTALL: Regenerate.
48324         * nscd/connections.c (nscd_init): Fix comment.
48326 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48328         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48330         [BZ #15667]
48331         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48332         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48334 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48336         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48337         DL_DST_REQ_STATIC.
48338         (DL_DST_REQ_STATIC): Remove macro.
48340 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48342         [BZ #7006]
48343         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48344         with a shift of 0 bits.
48346 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48348         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48349         $(tststatic-ENV).
48351 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48353         [BZ #15655]
48354         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48356 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48358         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48359         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48360         accepts -fno-tree-loop-distribute-patterns.
48361         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48362         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48363         recursive call.
48364         * string/memset.c (memset): Likewise.
48365         * string/test-memmove.c (simple_memmove): Disable loop transformation
48366         to library calls.
48367         * string/test-memset.c (simple_memset): Likewise.
48368         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48369         * benchtests/bench-memset.c (simple_memset): Likewise.
48370         * configure: Regenerated.
48372 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48374         * math/test-misc.c (main): Ignore fesetround failure when failures
48375         of subsequent rounding tests would be ignored.
48377         [BZ #15654]
48378         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48379         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48380         * math/fegetenv.c (__fegetenv): Return 0.
48381         * math/fegetexcept.c (fegetexcept): Return 0.
48382         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48383         FE_TONEAREST.
48384         * math/feholdexcpt.c (feholdexcept): Return 0.
48385         * math/fesetenv.c (__fesetenv): Return 0.
48386         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48387         argument FE_TONEAREST.
48388         * math/feupdateenv.c (__feupdateenv): Return 0.
48389         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48391 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48393         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48394         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48395         ($(objpfx)rtld-%.os rules): Use them.
48397 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48399         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48400         fields.
48402 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48404         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48405         length of target pattern, then descending length of dependency pattern.
48406         * configure.in (AWK): Require gawk 3.1.2 or newer.
48407         * manual/install.texi (Tools for Compilation): Say that we do.
48408         * configure: Regenerated.
48410         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48411         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48412         * scripts/sysd-rules.awk: ... this new script.
48413         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48414         than a glob-style pattern.
48416 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48418         * math/test-misc.c (main): Do not treat incorrectly rounded
48419         conversions as failure unless ROUNDING_TESTS passes.
48421 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48423         [BZ #15631]
48424         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48425         restore exception state around main square root computation, then
48426         check for inexactness explicitly.
48428         * math/libm-test.inc (fma_test_data): Add another test.
48430 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48432         * manual/threads.texi (Non-POSIX Extensions): New document
48433         node.  Document pthread_getattr_default_np and
48434         pthread_setattr_default_np.
48436         * Versions.def (libpthread): Add GLIBC_2.18.
48437         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48439         Likewise.
48440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48441         Likewise.
48442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48443         Likewise.
48444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48445         Likewise.
48446         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48447         Likewise.
48448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48449         Likewise.
48450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48451         Likewise.
48452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48453         Likewise.
48454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48455         Likewise.
48457 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48460         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48462 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48463             H.J. Lu  <hjl.tools@gmail.com>
48465         [BZ #15627]
48466         * sysdeps/x86_64/rtld-memset.c: Remove file.
48467         * sysdeps/x86_64/rtld-memset.S: New file.
48469 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48471         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48472         (test_in_one_mode): Take arguments for whether the rounding mode
48473         is supported for each floating-point type.
48474         (do_test): Pass new arguments to test_in_one_mode using
48475         ROUNDING_TESTS.
48477 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48479         * posix/tst-waitid.c (do_test): Distinguish different instances of
48480         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48481         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48482         before entering the kernel for waitpid.
48484 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48486         * NEWS: Fix note on clock function precision.  Text by Roland
48487         McGrath.
48489 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48491         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48492         it into place only when and if the sanity check passes.
48494 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48496         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48497         output for whether conversion result is exact.  Take argument
48498         indicating whether type is IBM long double.
48499         (round_for_all): Change need_exact field to ibm_ld.
48500         * stdlib/tst-strtod-round.c (struct exactness): New type.
48501         (struct test): Change bool ld_ok field to struct exactness exact.
48502         (TEST): Update all definitions for change to field.
48503         (tests): Regenerate array contents.
48504         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48505         field value.  Check for IBM long double here.
48506         (do_test): Update calls to test_in_one_mode.
48508 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48510         [BZ #12515]
48511         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48512         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48514 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48516         [BZ #15605]
48517         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48518         generated by the compiler on loop optimizations.
48519         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48520         general definitions.
48522 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48524         * math/bug-nextafter.c: Include <math-tests.h>.
48525         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48526         the relevant type.
48527         * math/bug-nexttoward.c: Include <math-tests.h>.
48528         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48529         the relevant type.
48530         * math/test-misc.c: Include <math-tests.h>.
48531         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48532         the relevant type.
48534 2013-06-12  Andreas Jaeger  <aj@suse.de>
48536         * po/ia.po: Update Interlingua translation from translation
48537         project.
48539 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48541         * include/fenv.h: Include stdbool.h.
48542         (struct rm_ctx): New structure.
48543         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48544         Define macro.
48545         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48546         (SET_RESTORE_ROUNDF): Likewise.
48547         (SET_RESTORE_ROUNDL): Likewise.
48548         (SET_RESTORE_ROUND_NOEX): Likewise.
48549         (SET_RESTORE_ROUND_NOEXF): Likewise.
48550         (SET_RESTORE_ROUND_NOEXL): Likewise.
48551         (SET_RESTORE_ROUND_53BIT): Likewise.
48552         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48553         (libc_feresetround_noexf_ctx): Likewise.
48554         (libc_feresetround_noexl_ctx): Likewise.
48555         (libc_feholdsetround_53bit_ctx): Likewise.
48556         (libc_feresetround_53bit_ctx): Likewise.
48557         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48558         (libc_feholdexcept_setround_sse_ctx): New function.
48559         (libc_fesetenv_sse_ctx): Likewise.
48560         (libc_feupdateenv_sse_ctx): Likewise.
48561         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48562         (libc_feholdexcept_setround_387_ctx): Likewise.
48563         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48564         (libc_feholdsetround_387_prec_ctx): Likewise.
48565         (libc_feholdsetround_387_ctx): Likewise.
48566         (libc_feholdsetround_387_53bit_ctx): Likewise.
48567         (libc_feholdsetround_sse_ctx): Likewise.
48568         (libc_feresetround_sse_ctx): Likewise.
48569         (libc_feresetround_387_ctx): Likewise.
48570         (libc_feupdateenv_387_ctx): Likewise.
48571         (libc_feholdexcept_setroundf_ctx): Define macro.
48572         (libc_fesetenvf_ctx): Likewise.
48573         (libc_feupdateenvf_ctx): Likewise.
48574         (libc_feholdsetroundf_ctx): Likewise.
48575         (libc_feresetroundf_ctx): Likewise.
48576         (libc_feholdexcept_setround_ctx): Likewise.
48577         (libc_fesetenv_ctx): Likewise.
48578         (libc_feupdateenv_ctx): Likewise.
48579         (libc_feholdsetround_ctx): Likewise.
48580         (libc_feresetround_ctx): Likewise.
48581         (libc_feholdexcept_setroundl_ctx): Likewise.
48582         (libc_feupdateenvl_ctx): Likewise.
48583         (libc_feholdsetroundl_ctx): Likewise.
48584         (libc_feresetroundl_ctx): Likewise.
48585         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48586         (libc_feresetround_53bit_ctx): Likewise.
48588 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48590         * locale/iso-639.def: Convert to UTF-8.
48592 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48594         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48595         (EXCEPTION_TESTS_double): Likewise.
48596         (EXCEPTION_TESTS_long_double): Likewise.
48597         (EXCEPTION_TESTS): Likewise.
48598         * math/libm-test.inc (test_exceptions): Only test exceptions if
48599         EXCEPTION_TESTS (FLOAT).
48601 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48603         * benchtests/Makefile (string-bench): Add strcpy_chk and
48604         stpcpy_chk.
48605         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48606         * benchtests/bench-stpcpy_chk.c: New file.
48607         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48608         * benchtests/bench-strcpy_chk.c: New file.
48609         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48610         code.
48611         (do_test): Likewise.
48613 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48615         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48616         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48617         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48618         with tabs where appropriate.
48619         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48620         dl-procinfo.h.
48621         [PPC_PLATFORM_PPC440]: Likewise.
48622         [PPC_PLATFORM_PPC464]: Likewise.
48623         [PPC_PLATFORM_PPC476]: Likewise.
48624         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48625         ppc464, and ppc476 platform strings merging from ports/
48626         dl-procinfo.h.
48628 2013-06-11  Andreas Schwab  <schwab@suse.de>
48630         [BZ #14991]
48631         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48632         (from_ucs4_idx): Regenerate.
48633         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48634         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48635         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48636         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48637         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48638         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48639         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48640         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48641         from FROM_LOOP and TO_LOOP specific macros.
48642         (BODY): Handle combining characters.
48643         * iconvdata/BIG5HKSCS.irreversible: Update.
48644         * iconvdata/BIG5HKSCS.precomposed: New file.
48645         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48646         characters.
48647         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48649 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48651         * include/sys/time.h: Fix indentation and add copyright header.
48653         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48654         (do_test): Likewise.
48655         * string/test-memchr.c (do_one_test): Likewise.
48656         (do_test): Likewise.
48657         * string/test-memcmp.c (do_one_test): Likewise.
48658         (do_test): Likewise.
48659         * string/test-memcpy.c (do_one_test): Likewise.
48660         (do_test): Likewise.
48661         * string/test-memmem.c (do_one_test): Likewise.
48662         (do_test): Likewise.
48663         (do_random_tests): Likewise.
48664         * string/test-memmove.c (do_one_test): Likewise.
48665         (do_test): Likewise.
48666         * string/test-memset.c (do_one_test): Likewise.
48667         (do_test): Likewise.
48668         * string/test-rawmemchr.c (do_one_test): Likewise.
48669         (do_test): Likewise.
48670         * string/test-strcasecmp.c (do_one_test): Likewise.
48671         (do_test): Likewise.
48672         * string/test-strcasestr.c (do_one_test): Likewise.
48673         (do_test): Likewise.
48674         * string/test-strcat.c (do_one_test): Likewise.
48675         (do_test): Likewise.
48676         * string/test-strchr.c (do_one_test): Likewise.
48677         (do_test): Likewise.
48678         * string/test-strcmp.c (do_one_test): Likewise.
48679         (do_test): Likewise.
48680         * string/test-strcpy.c (do_one_test): Likewise.
48681         (do_test): Likewise.
48682         * string/test-string.h: Likewise.
48683         (test_init): Likewise.
48684         * string/test-strlen.c (do_one_test): Likewise.
48685         (do_test): Likewise.
48686         * string/test-strncasecmp.c (do_one_test): Likewise.
48687         (do_test): Likewise.
48688         * string/test-strncat.c (do_one_test): Likewise.
48689         (do_test): Likewise.
48690         * string/test-strncmp.c (do_one_test): Likewise.
48691         (do_test_limit): Likewise.
48692         (do_test): Likewise.
48693         * string/test-strncpy.c (do_one_test): Likewise.
48694         (do_test): Likewise.
48695         * string/test-strnlen.c (do_one_test): Likewise.
48696         (do_test): Likewise.
48697         * string/test-strpbrk.c (do_one_test): Likewise.
48698         (do_test): Likewise.
48699         * string/test-strrchr.c (do_one_test): Likewise.
48700         (do_test): Likewise.
48701         * string/test-strspn.c (do_one_test): Likewise.
48702         (do_test): Likewise.
48703         * string/test-strstr.c (do_one_test): Likewise.
48704         (do_test): Likewise.
48706         * benchtests/Makefile (string-bench): Add string benchmarks.
48707         * benchtests/bench-bcopy-ifunc.c: New file.
48708         * benchtests/bench-bcopy.c: New file.
48709         * benchtests/bench-bzero-ifunc.c: New file.
48710         * benchtests/bench-bzero.c: New file.
48711         * benchtests/bench-memccpy-ifunc.c: New file.
48712         * benchtests/bench-memccpy.c: New file.
48713         * benchtests/bench-memchr-ifunc.c: New file.
48714         * benchtests/bench-memchr.c: New file.
48715         * benchtests/bench-memcmp-ifunc.c: New file.
48716         * benchtests/bench-memcmp.c: New file.
48717         * benchtests/bench-memmem-ifunc.c: New file.
48718         * benchtests/bench-memmem.c: New file.
48719         * benchtests/bench-memmove-ifunc.c: New file.
48720         * benchtests/bench-memmove.c: New file.
48721         * benchtests/bench-mempcpy-ifunc.c: New file.
48722         * benchtests/bench-mempcpy.c: New file.
48723         * benchtests/bench-memset-ifunc.c: New file.
48724         * benchtests/bench-memset.c: New file.
48725         * benchtests/bench-rawmemchr-ifunc.c: New file.
48726         * benchtests/bench-rawmemchr.c: New file.
48727         * benchtests/bench-stpcpy-ifunc.c: New file.
48728         * benchtests/bench-stpcpy.c: New file.
48729         * benchtests/bench-stpncpy-ifunc.c: New file.
48730         * benchtests/bench-stpncpy.c: New file.
48731         * benchtests/bench-strcasecmp-ifunc.c: New file.
48732         * benchtests/bench-strcasecmp.c: New file.
48733         * benchtests/bench-strcasestr-ifunc.c: New file.
48734         * benchtests/bench-strcasestr.c: New file.
48735         * benchtests/bench-strcat-ifunc.c: New file.
48736         * benchtests/bench-strcat.c: New file.
48737         * benchtests/bench-strchr-ifunc.c: New file.
48738         * benchtests/bench-strchr.c: New file.
48739         * benchtests/bench-strchrnul-ifunc.c: New file.
48740         * benchtests/bench-strchrnul.c: New file.
48741         * benchtests/bench-strcmp-ifunc.c: New file.
48742         * benchtests/bench-strcmp.c: New file.
48743         * benchtests/bench-strcpy-ifunc.c: New file.
48744         * benchtests/bench-strcpy.c: New file.
48745         * benchtests/bench-strcspn-ifunc.c: New file.
48746         * benchtests/bench-strcspn.c: New file.
48747         * benchtests/bench-strlen-ifunc.c: New file.
48748         * benchtests/bench-strlen.c: New file.
48749         * benchtests/bench-strncasecmp-ifunc.c: New file.
48750         * benchtests/bench-strncasecmp.c: New file.
48751         * benchtests/bench-strncat-ifunc.c: New file.
48752         * benchtests/bench-strncat.c: New file.
48753         * benchtests/bench-strncmp-ifunc.c: New file.
48754         * benchtests/bench-strncmp.c: New file.
48755         * benchtests/bench-strncpy-ifunc.c: New file.
48756         * benchtests/bench-strncpy.c: New file.
48757         * benchtests/bench-strnlen-ifunc.c: New file.
48758         * benchtests/bench-strnlen.c: New file.
48759         * benchtests/bench-strpbrk-ifunc.c: New file.
48760         * benchtests/bench-strpbrk.c: New file.
48761         * benchtests/bench-strrchr-ifunc.c: New file.
48762         * benchtests/bench-strrchr.c: New file.
48763         * benchtests/bench-strspn-ifunc.c: New file.
48764         * benchtests/bench-strspn.c: New file.
48765         * benchtests/bench-strstr-ifunc.c: New file.
48766         * benchtests/bench-strstr.c: New file.
48768         * benchtests/Makefile: Disable parallel execution of targets.
48769         (string-bench): Add memcpy.
48770         (benchset): New variable to store a list of benchmark sets.
48771         (bench-func): Renamed from bench.
48772         (bench-set): New target.
48773         (bench): Depend on bench-func and bench-set.
48774         * benchtests/README: Add section on benchmark sets.
48775         * benchtests/bench-memcpy-ifunc.c: New file.
48776         * benchtests/bench-memcpy.c: New file.
48777         * benchtests/bench-string.h: New file.
48779 2013-06-11  Andreas Schwab  <schwab@suse.de>
48781         [BZ #15577]
48782         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48783         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48784         values in the triple.
48785         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48786         terminator in the group key.
48788 2013-06-11  Andreas Jaeger  <aj@suse.de>
48790         * po/zh_TW.po: Update Chinese (traditional) translation from
48791         translation project.
48793 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48795         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48796         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48797         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48798         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48799         (clock_getcpuclockid): Likewise.
48800         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48801         Add weak_alias and libc_hidden_def.
48802         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48803         * rt/clock_gettime.c (clock_gettime): Rename to
48804         __clock_gettime.  Add weak_alias and libc_hidden_def.
48805         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48806         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48807         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48808         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48809         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48810         Likewise.
48811         * rt/clock_settime.c (clock_settime): Rename to
48812         __clock_settime.  Add weak_alias and libc_hidden_def.
48813         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48815 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48817         * mach/err_boot.sub: Remove trailing whitespace.
48818         * mach/err_ipc.sub: Likewise.
48819         * mach/err_mach.sub: Likewise.
48821         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48822         (ROUNDING_TESTS_double): Likewise.
48823         (ROUNDING_TESTS_long_double): Likewise.
48824         (ROUNDING_TESTS): Likewise.
48825         * math/libm-test.inc: Include <math-tests.h>.
48826         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48827         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48828         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48829         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48831 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48833         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48834         of assigning.
48836 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48838         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48839         otherwise empty TRANS lines.
48840         * sysdeps/gnu/errlist.c: Regenerated.
48842         * catgets/gencat.c (error_print): Use (void) in function
48843         definition.
48844         * crypt/crypt_util.c (__init_des): Likewise.
48845         * crypt/speeds.c (Stop): Likewise.
48846         (main): Likewise.
48847         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48848         * inet/ruserpass.c (token): Likewise.
48849         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48850         * intl/localealias.c (extend_alias_table): Likewise.
48851         * intl/plural-exp.c (init_germanic_plural): Likewise.
48852         * libio/fcloseall.c (__fcloseall): Likewise.
48853         * libio/genops.c (_IO_flush_all): Likewise.
48854         (_IO_flush_all_linebuffered): Likewise.
48855         (_IO_cleanup): Likewise.
48856         (_IO_iter_begin): Likewise.
48857         (_IO_iter_end): Likewise.
48858         (_IO_list_lock): Likewise.
48859         (_IO_list_unlock): Likewise.
48860         (_IO_list_resetlock): Likewise.
48861         * libio/getchar.c (getchar): Likewise.
48862         * libio/getchar_u.c (getchar_unlocked): Likewise.
48863         * libio/getwchar.c (getwchar): Likewise.
48864         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48865         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48866         * login/getpt.c (__getpt): Likewise.
48867         * login/tst-utmp.c (main): Likewise.
48868         * malloc/hooks.c (__malloc_check_init): Likewise.
48869         * malloc/malloc.c (__malloc_stats): Likewise.
48870         * malloc/mtrace.c (tr_break): Likewise.
48871         (mtrace): Likewise.
48872         (muntrace): Likewise.
48873         * misc/fstab.c (endfsent): Likewise.
48874         * misc/getclktck.c (__getclktck): Likewise.
48875         * misc/getdtsz.c (__getdtablesize): Likewise.
48876         * misc/gethostid.c (gethostid): Likewise.
48877         * misc/getpagesize.c (__getpagesize): Likewise.
48878         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48879         (__get_nprocs): Likewise.
48880         (__get_phys_pages): Likewise.
48881         (__get_avphys_pages): Likewise.
48882         * misc/getttyent.c (getttyent): Likewise.
48883         (setttyent): Likewise.
48884         (endttyent): Likewise.
48885         * misc/getusershell.c (getusershell): Likewise.
48886         (endusershell): Likewise.
48887         (setusershell): Likewise.
48888         (initshells): Likewise.
48889         * misc/hsearch.c (__hdestroy): Likewise.
48890         * misc/sync.c (sync): Likewise.
48891         * misc/syslog.c (closelog_internal): Likewise.
48892         (closelog): Likewise.
48893         * misc/ttyslot.c (ttyslot): Likewise.
48894         * misc/vhangup.c (vhangup): Likewise.
48895         * posix/fork.c (__fork): Likewise.
48896         * posix/getegid.c (__getegid): Likewise.
48897         * posix/geteuid.c (__geteuid): Likewise.
48898         * posix/getgid.c (__getgid): Likewise.
48899         * posix/getpid.c (__getpid): Likewise.
48900         * posix/getppid.c (__getppid): Likewise.
48901         * posix/getuid.c (__getuid): Likewise.
48902         * posix/pause.c (pause): Likewise.
48903         * posix/setpgrp.c (setpgrp): Likewise.
48904         * posix/setsid.c (__setsid): Likewise.
48905         * posix/test-vfork.c (noop): Likewise.
48906         * resolv/gethnamaddr.c (_endhtent): Likewise.
48907         (_gethtent): Likewise.
48908         (ht_endhostent): Likewise.
48909         (gethostent): Likewise.
48910         (dns_service): Likewise.
48911         * stdlib/drand48.c (drand48): Likewise.
48912         * stdlib/lrand48.c (lrand48): Likewise.
48913         * stdlib/mrand48.c (mrand48): Likewise.
48914         * stdlib/rand.c (rand): Likewise.
48915         * stdlib/random.c (__random): Likewise.
48916         * stdlib/setenv.c (clearenv): Likewise.
48917         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48918         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48919         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48920         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48921         (__get_nprocs): Likewise.
48922         (__get_phys_pages): Likewise.
48923         (__get_avphys_pages): Likewise.
48924         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48925         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48926         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48927         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48928         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48929         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48930         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48931         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48932         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48933         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48934         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48935         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48936         * sysdeps/posix/clock.c (clock): Likewise.
48937         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48938         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48939         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48940         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48941         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48942         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48943         (__get_nprocs_conf): Likewise.
48944         (__get_phys_pages): Likewise.
48945         (__get_avphys_pages): Likewise.
48946         * time/clock.c (clock): Likewise.
48947         * time/tzset.c (__tzname_max): Likewise.
48949 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48951         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48952         (__bswap_32): Do not use "register".
48953         * crypt/crypt.c (_ufc_doit_r): Likewise.
48954         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48955         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48956         * gmon/gmon.c (__monstartup): Likewise.
48957         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48958         * hurd/hurdmalloc.c (more_memory): Likewise.
48959         (malloc): Likewise.
48960         (free): Likewise.
48961         (realloc): Likewise.
48962         (malloc_fork_prepare): Likewise.
48963         (malloc_fork_parent): Likewise.
48964         (malloc_fork_child): Likewise.
48965         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48966         (_svcauth_des): Likewise.
48967         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48968         * inet/inet_net.c (inet_network): Likewise.
48969         * inet/inet_netof.c (inet_netof): Likewise.
48970         * inet/rcmd.c (__validuser2_sa): Likewise.
48971         * io/fts.c (fts_open): Likewise.
48972         (fts_load): Likewise.
48973         (fts_close): Likewise.
48974         (fts_read): Likewise.
48975         (fts_children): Likewise.
48976         (fts_build): Likewise.
48977         (fts_stat): Likewise.
48978         (fts_sort): Likewise.
48979         (fts_alloc): Likewise.
48980         (fts_lfree): Likewise.
48981         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48982         (_IO_file_xsgetn): Likewise.
48983         (_IO_file_xsgetn_mmap): Likewise.
48984         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48985         (_IO_cookie_write): Likewise.
48986         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48987         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48988         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48989         * malloc/obstack.c (_obstack_begin): Likewise.
48990         (_obstack_begin_1): Likewise.
48991         (_obstack_newchunk): Likewise.
48992         (_obstack_allocated_p): Likewise.
48993         (obstack_free): Likewise.
48994         (_obstack_memory_used): Likewise.
48995         * misc/getttyent.c (getttynam): Likewise.
48996         (getttyent): Likewise.
48997         (skip): Likewise.
48998         (value): Likewise.
48999         * misc/getusershell.c (initshells): Likewise.
49000         * misc/syslog.c (__vsyslog_chk): Likewise.
49001         * misc/ttyslot.c (ttyslot): Likewise.
49002         * nis/nis_hash.c (__nis_hash): Likewise.
49003         * posix/fnmatch_loop.c (FCT): Likewise.
49004         * posix/getconf.c (print_all): Likewise.
49005         (main): Likewise.
49006         * posix/getopt.c (exchange): Likewise.
49007         * posix/glob.c (globfree): Likewise.
49008         (prefix_array): Likewise.
49009         (__glob_pattern_type): Likewise.
49010         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49011         (NS_GET32): Likewise.
49012         (NS_PUT16): Likewise.
49013         (NS_PUT32): Likewise.
49014         * resolv/gethnamaddr.c (getanswer): Likewise.
49015         (gethostbyname2): Likewise.
49016         (gethostbyaddr): Likewise.
49017         (_gethtent): Likewise.
49018         (_gethtbyname2): Likewise.
49019         (_gethtbyaddr): Likewise.
49020         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49021         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49022         * resolv/res_init.c (__res_vinit): Likewise.
49023         (net_mask): Likewise.
49024         * resolv/res_mkquery.c (outchar): Likewise.
49025         (PRINT): Likewise.
49026         * stdio-common/printf_fp.c (outchar): Likewise.
49027         (PRINT): Likewise.
49028         * stdio-common/printf_fphex.c (outchar): Likewise.
49029         (PRINT): Likewise.
49030         * stdio-common/printf_size.c (outchar): Likewise.
49031         (PRINT): Likewise.
49032         * stdio-common/test_rdwr.c (main): Likewise.
49033         * stdio-common/tfformat.c (matches): Likewise.
49034         * stdio-common/vfprintf.c (outchar): Likewise.
49035         (printf_unknown): Likewise.
49036         (buffered_vfprintf): Likewise.
49037         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49038         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49039         (ReadFile): Likewise.
49040         * stdlib/qsort.c (SWAP): Likewise.
49041         (_quicksort): Likewise.
49042         * stdlib/setenv.c (__add_to_environ): Likewise.
49043         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49044         * stdlib/strtol_l.c (__strtol_l): Likewise.
49045         * stdlib/tst-strtod.c (main): Likewise.
49046         * stdlib/tst-strtol.c (main): Likewise.
49047         * stdlib/tst-strtoll.c (main): Likewise.
49048         * string/bits/string2.h (__strcmp_cc): Likewise.
49049         (__strcmp_cg): Likewise.
49050         (__strcspn_c1): Likewise.
49051         (__strcspn_c2): Likewise.
49052         (__strcspn_c3): Likewise.
49053         (__strspn_c1): Likewise.
49054         (__strspn_c2): Likewise.
49055         (__strspn_c3): Likewise.
49056         (__strsep_1c): Likewise.
49057         (__strsep_2c): Likewise.
49058         (__strsep_3c): Likewise.
49059         * string/memccpy.c (__memccpy): Likewise.
49060         * string/stpcpy.c (__stpcpy): Likewise.
49061         * string/strcmp.c (strcmp): Likewise.
49062         * string/strrchr.c (strrchr): Likewise.
49063         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49064         Likewise.
49065         * sysdeps/mach/hurd/getcwd.c
49066         (_hurd_canonicalize_directory_name_internal): Likewise.
49067         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49068         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49069         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49070         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49071         Likewise, in both definitions.
49072         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49073         definitions.
49074         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49075         64] (__bswap_64): Likewise.
49076         * time/test_time.c (main): Likewise.
49077         * time/tzfile.c (__tzfile_read): Likewise.
49078         (__tzfile_compute): Likewise.
49079         * time/tzset.c (__tzset_parse_tz): Likewise.
49080         (tzset_internal): Likewise.
49081         (compute_change): Likewise.
49082         * wcsmbs/wcscat.c (__wcscat): Likewise.
49083         * wcsmbs/wcschr.c (wcschr): Likewise.
49084         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49085         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49086         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49087         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49088         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49089         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49090         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49091         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49092         * wcsmbs/wmemset.c (wmemset): Likewise.
49094 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49096         * scripts/config.guess: Update to version 2013-05-16.
49097         * scripts/config.sub: Update to version 2013-04-24.
49098         * scripts/install-sh: Update to version 2011-11-20.07.
49099         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49100         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49102 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49104         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49105         * elf/sln.c: Likewise.
49106         * hurd/hurd/ioctl.h: Likewise.
49107         * hurd/hurdmalloc.c: Likewise.
49108         * hurd/xattr.c: Likewise.
49109         * include/shlib-compat.h: Likewise.
49110         * inet/ruserpass.c: Likewise.
49111         * libio/iofgets_u.c: Likewise.
49112         * libio/iofgetws_u.c: Likewise.
49113         * locale/programs/ld-identification.c: Likewise.
49114         * locale/programs/ld-time.c: Likewise.
49115         * mach/msg-destroy.c: Likewise.
49116         * nss/nss_files/files-netgrp.c: Likewise.
49117         * resolv/res_data.c: Likewise.
49118         * soft-fp/op-1.h: Likewise.
49119         * soft-fp/op-2.h: Likewise.
49120         * soft-fp/op-4.h: Likewise.
49121         * soft-fp/op-common.h: Likewise.
49122         * stdio-common/printf_fphex.c: Likewise.
49123         * stdlib/strtod_l.c: Likewise.
49124         * sunrpc/rpc/clnt.h: Likewise.
49125         * sysdeps/generic/framestate.c: Likewise.
49126         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49127         * sysdeps/i386/bsd-setjmp.S: Likewise.
49128         * sysdeps/i386/__longjmp.S: Likewise.
49129         * sysdeps/i386/setjmp.S: Likewise.
49130         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49131         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49132         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49133         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49135         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49136         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49137         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49138         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49139         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49140         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49141         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49142         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49143         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49144         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49145         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49146         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49147         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49148         * sysdeps/ieee754/support.c: Likewise.
49149         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49150         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49151         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49152         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49153         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49154         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49155         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49156         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49157         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49158         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49159         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49160         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49161         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49162         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49163         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49164         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49165         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49168 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49170         * posix/transbug.c: Remove executable mode.
49172 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49174         * crypt/speeds.c: Remove trailing whitespace.
49175         * dlfcn/default.c: Likewise.
49176         * elf/ifuncdep2.c: Likewise.
49177         * elf/ifuncmain1.c: Likewise.
49178         * elf/ifuncmain1vis.c: Likewise.
49179         * elf/testobj.h: Likewise.
49180         * elf/tst-stackguard1.c: Likewise.
49181         * gmon/sys/gmon.h: Likewise.
49182         * hurd/hurdmsg.c: Likewise.
49183         * hurd/new-fd.c: Likewise.
49184         * hurd/ports-get.c: Likewise.
49185         * iconvdata/ibm1008_420.c: Likewise.
49186         * inet/tst-getni1.c: Likewise.
49187         * inet/tst-getni2.c: Likewise.
49188         * libio/ioungetc.c: Likewise.
49189         * libio/wfiledoalloc.c: Likewise.
49190         * manual/libm-err-tab.pl: Likewise.
49191         * math/w_dremf.c: Likewise.
49192         * misc/ftruncate.c: Likewise.
49193         * posix/bug-glob2.c: Likewise.
49194         * posix/tst-pcre.c: Likewise.
49195         * posix/wait4.c: Likewise.
49196         * resolv/README: Likewise.
49197         * resolv/res_debug.h: Likewise.
49198         * resolv/tst-inet_ntop.c: Likewise.
49199         * setjmp/bug269-setjmp.c: Likewise.
49200         * soft-fp/extended.h: Likewise.
49201         * soft-fp/op-1.h: Likewise.
49202         * soft-fp/op-2.h: Likewise.
49203         * soft-fp/op-4.h: Likewise.
49204         * soft-fp/op-8.h: Likewise.
49205         * soft-fp/testit.c: Likewise.
49206         * stdio-common/bug16.c: Likewise.
49207         * stdlib/random.c: Likewise.
49208         * sunrpc/rpcsvc/rquota.x: Likewise.
49209         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49210         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49211         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49212         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49213         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49214         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49215         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49216         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49217         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49218         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49219         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49220         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49224         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49225         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49226         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49227         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49228         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49229         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49230         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49236         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49237         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49238         * sysdeps/ieee754/s_lib_version.c: Likewise.
49239         * sysdeps/mach/hurd/check_fds.c: Likewise.
49240         * sysdeps/mach/hurd/getsockname.c: Likewise.
49241         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49242         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49243         * sysdeps/powerpc/bits/link.h: Likewise.
49244         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49245         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49246         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49247         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49248         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49249         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49250         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49251         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49252         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49253         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49254         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49255         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49256         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49257         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49258         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49259         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49261         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49262         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49263         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49264         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49265         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49266         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49267         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49268         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49269         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49270         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49271         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49272         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49273         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49274         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49275         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49276         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49277         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49278         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49279         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49280         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49281         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49282         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49283         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49284         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49285         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49286         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49287         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49288         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49289         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49290         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49291         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49292         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49293         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49295         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49296         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49297         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49298         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49299         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49300         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49301         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49302         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49303         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49304         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49305         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49306         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49307         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49308         * sysdeps/powerpc/sysdep.h: Likewise.
49309         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49310         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49311         * sysdeps/sh/dl-trampoline.S: Likewise.
49312         * sysdeps/sh/memset.S: Likewise.
49313         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49314         * sysdeps/sh/strlen.S: Likewise.
49315         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49316         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49317         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49318         * sysdeps/sparc/sparc32/rem.S: Likewise.
49319         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49320         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49321         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49322         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49323         * sysdeps/sparc/sparc32/urem.S: Likewise.
49324         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49325         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49326         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49327         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49328         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49329         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49330         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49331         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49332         * sysdeps/unix/bsd/times.c: Likewise.
49333         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49334         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49338         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49339         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49340         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49341         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49342         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49343         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49344         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49345         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49346         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49347         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49348         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49349         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49350         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49351         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49352         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49353         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49354         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49355         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49356         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49357         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49358         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49359         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49360         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49361         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49362         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49363         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49364         * sysdeps/x86_64/strcspn.S: Likewise.
49366 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49368         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49369         generated file.  Regenerate properly from gen-translit.pl.
49370         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49371         locale/C-translit.h.
49373 2013-06-05  Andreas Schwab  <schwab@suse.de>
49375         [BZ #15100]
49376         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49377         week as 6 instead of -1.
49378         * time/tst-strptime.c (day_tests): Add test case.
49380 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49382         * sysdeps/generic/math_private.h
49383         (libc_feholdexcept_setround_53bit): Replace with
49384         libc_feholdsetround_53bit.
49385         (libc_feupdateenv_53bit): Replace with
49386         libc_feresetround_53bit.
49387         (SET_RESTORE_ROUND_53BIT): Adjust.
49389 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49391         * string/test-strchrnul.c: Add copyright header.
49393         * posix/tst-getaddrinfo4.c: Increase test timeout.
49395 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49397         [BZ #15536]
49398         * math/libm-test.inc (MAX_EXP): Remove
49399         (MIN_EXP): Define.
49400         (ulp): Use MIN_EXP - MANT_DIG.
49401         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49403 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49405         * po/be.po: Revert last change.
49406         * po/zh_CN.po: Likewise.
49407         * po/header.pot: Likewise.
49409 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49411         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49412         link-libc-deps to empty as target-specific variable.
49413         * Makerules (link-libc-args): New variable.
49414         (libc-for-link): Likewise.
49415         (link-libc-deps): Likewise.
49416         (lib%.so): Depend on $(link-libc-deps).  Link with
49417         $(link-libc-args).
49418         (build-module): Link with $(link-libc-args).
49419         (build-module-asneeded): Likewise.
49420         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49421         list of objects.
49422         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49423         target-specific variable.
49424         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49425         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49426         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49427         libc.
49428         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49429         libc and ld.so.
49430         ($(objpfx)libpcprofile.so): Likewise.
49431         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49432         libc_nonshared.a.
49433         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49434         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49435         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49436         $(link-libc-deps).
49437         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49438         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49439         * login/Makefile ($(objpfx)libutil.so): Likewise.
49440         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49441         * math/Makefile ($(objpfx)libm.so): Likewise.
49442         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49443         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49444         variable instead of depending directly on libc.
49445         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49446         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49447         $(link-libc-deps).
49448         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49449         libc.
49450         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49451         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49452         ($(objpfx)libanl.so): Likewise.
49453         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49454         ld.so.
49455         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49456         $(link-libc-deps).
49457         * sysdeps/i386/fpu/Makefile: Remove file.
49458         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49459         ($(objpfx)libm.so): Remove dependency on ld.so.
49461 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49463         [BZ # 15553]
49464         * nis/yp_xdr.c (XDRMAXNAME): Define.
49465         (XDRMAXRECORD): Define.
49466         (xdr_domainname): Use XDRMAXNAME.
49467         (xdr_mapname): Likewise.
49468         (xdr_peername): Likewise.
49469         (xdr_keydat): Use XDRMAXRECORD.
49470         (xdr_valdat): Likewise.
49472 2013-05-30  Jeff Law  <law@redhat.com>
49474         [BZ #14256]
49475         * manual/errno.texi (ESTALE): Update to account for more than
49476         just NFS file systems.
49477         * sysdeps/gnu/errlist.c: Regenerated.
49479 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49481         [BZ #15465]
49482         * elf/Makefile (tests): Add tst-null-argv.
49483         (modules-names):  Add tst-null-argv-lib.
49484         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49485         (tst-null-argv-ENV): Set environment for tst-null-argv.
49486         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49487         (RTLD_PROGNAME): New macro.
49488         * elf/tst-null-argv.c: New test case.
49489         * elf/tst-null-argv-lib.c: Library for test case.
49490         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49491         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49492         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49493         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49494         * elf/dl-init.c (call_init): Likewise.
49495         (_dl_init): Likewise.
49496         * elf/dl-load.c (print_search_path): Likewise.
49497         (_dl_map_object): Likewise.
49498         * elf/dl-lookup.c (do_lookup_x): Likewise.
49499         (add_dependency): Likewise.
49500         (_dl_lookup_symbol_x): Likewise.
49501         (_dl_debug_bindings): Likewise.
49502         * elf/dl-open.c (_dl_show_scope): Likewise.
49503         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49504         * elf/dl-version.c (match_symbol): Likewise.
49505         (_dl_check_map_versions): Likewise.
49506         * elf/rtld.c (dl_main): Likewise.
49507         (print_unresolved): Use RTLD_PROGNAME.
49508         (print_missing_version): Likewise.
49509         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49510         (elf_machine_rela): Likewise.
49511         * sysdeps/powerpc/powerpc32/dl-machine.c
49512         (__process_machine_rela): Likewise.
49513         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49514         Likewise.
49515         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49516         Likewise.
49517         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49518         Likewise.
49519         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49520         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49521         Likewise.
49522         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49523         Likewise.
49524         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49526 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49528         * po/be.po: Add descriptive title.
49529         * po/zh_CN.po: Likewise.
49530         * po/header.pot: Likewise.
49532 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49534         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49535         error message.
49536         (enlarge_archive): Likewise.
49538 2013-05-28  Ben North  <ben@redfrontdoor.org>
49540         * manual/arith.texi (frexp): It is the magnitude of the return
49541         value which lies in [0.5, 1), not the return value itself.
49543 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49547 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49549         * stdio-common/bug26.c (main): Correct fscanf template.
49551         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49552         declare _dl_skip_args.
49554         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49555         Don't declare.
49557         * manual/platform.texi: Add missing @end deftypefun.
49559 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49561         [BZ #15529]
49562         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49563         bit of mantissa of 2^16382.
49564         * math/libm-test.inc (hypot_test_data): Add more tests.
49566         * math/libm-test.inc: Add drem and pow10 to list of tested
49567         functions.
49568         (pow10_test): New function.
49569         (drem_test): Likewise.
49570         (drem_test_tonearest): Likewise.
49571         (drem_test_towardzero): Likewise.
49572         (drem_test_downward): Likewise.
49573         (drem_test_upward): Likewise.
49574         (main): Call the new functions.
49576         * math/libm-test.inc (finite_test_data): Remove.
49577         (finite_test): Run tests from isfinite_test_data.
49578         (gamma_test_data): Remove.
49579         (gamma_test): Run tests from lgamma_test_data.
49580         * sysdeps/i386/fpu/libm-test-ulps: Update.
49581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49583 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49585         * manual/platform.texi: Add PowerPC PPR function set documentation.
49586         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49587         implementation.
49589 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49591         * math/libm-test.inc (MAX_EXP): Define.
49592         (ULPDIFF): Define.
49593         (ulp): New function.
49594         (check_float_internal): Use ULPDIFF.
49595         (cpow_test): Disable failing test.
49596         (check_ulp): Test ulp() implemetnation.
49597         (main): Call check_ulp before starting tests.
49599 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49601         * math/gen-libm-test.pl (generate_testfile): Do not handle
49602         START_DATA and END_DATA.
49603         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49604         END_DATA.
49605         (acos_tonearest_test_data): Likewise.
49606         (acos_towardzero_test_data): Likewise.
49607         (acos_downward_test_data): Likewise.
49608         (acos_upward_test_data): Likewise.
49609         (acosh_test_data): Likewise.
49610         (asin_test_data): Likewise.
49611         (asin_tonearest_test_data): Likewise.
49612         (asin_towardzero_test_data): Likewise.
49613         (asin_downward_test_data): Likewise.
49614         (asin_upward_test_data): Likewise.
49615         (asinh_test_data): Likewise.
49616         (atan_test_data): Likewise.
49617         (atanh_test_data): Likewise.
49618         (atan2_test_data): Likewise.
49619         (cabs_test_data): Likewise.
49620         (cacos_test_data): Likewise.
49621         (cacosh_test_data): Likewise.
49622         (carg_test_data): Likewise.
49623         (casin_test_data): Likewise.
49624         (casinh_test_data): Likewise.
49625         (catan_test_data): Likewise.
49626         (catanh_test_data): Likewise.
49627         (cbrt_test_data): Likewise.
49628         (ccos_test_data): Likewise.
49629         (ccosh_test_data): Likewise.
49630         (ceil_test_data): Likewise.
49631         (cexp_test_data): Likewise.
49632         (cimag_test_data): Likewise.
49633         (clog_test_data): Likewise.
49634         (clog10_test_data): Likewise.
49635         (conj_test_data): Likewise.
49636         (copysign_test_data): Likewise.
49637         (cos_test_data): Likewise.
49638         (cos_tonearest_test_data): Likewise.
49639         (cos_towardzero_test_data): Likewise.
49640         (cos_downward_test_data): Likewise.
49641         (cos_upward_test_data): Likewise.
49642         (cosh_test_data): Likewise.
49643         (cosh_tonearest_test_data): Likewise.
49644         (cosh_towardzero_test_data): Likewise.
49645         (cosh_downward_test_data): Likewise.
49646         (cosh_upward_test_data): Likewise.
49647         (cpow_test_data): Likewise.
49648         (cproj_test_data): Likewise.
49649         (creal_test_data): Likewise.
49650         (csin_test_data): Likewise.
49651         (csinh_test_data): Likewise.
49652         (csqrt_test_data): Likewise.
49653         (ctan_test_data): Likewise.
49654         (ctan_tonearest_test_data): Likewise.
49655         (ctan_towardzero_test_data): Likewise.
49656         (ctan_downward_test_data): Likewise.
49657         (ctan_upward_test_data): Likewise.
49658         (ctanh_test_data): Likewise.
49659         (ctanh_tonearest_test_data): Likewise.
49660         (ctanh_towardzero_test_data): Likewise.
49661         (ctanh_downward_test_data): Likewise.
49662         (ctanh_upward_test_data): Likewise.
49663         (erf_test_data): Likewise.
49664         (erfc_test_data): Likewise.
49665         (exp_test_data): Likewise.
49666         (exp_tonearest_test_data): Likewise.
49667         (exp_towardzero_test_data): Likewise.
49668         (exp_downward_test_data): Likewise.
49669         (exp_upward_test_data): Likewise.
49670         (exp10_test_data): Likewise.
49671         (exp2_test_data): Likewise.
49672         (expm1_test_data): Likewise.
49673         (fabs_test_data): Likewise.
49674         (fdim_test_data): Likewise.
49675         (finite_test_data): Likewise.
49676         (floor_test_data): Likewise.
49677         (fma_test_data): Likewise.
49678         (fma_towardzero_test_data): Likewise.
49679         (fma_downward_test_data): Likewise.
49680         (fma_upward_test_data): Likewise.
49681         (fmax_test_data): Likewise.
49682         (fmin_test_data): Likewise.
49683         (fmod_test_data): Likewise.
49684         (fpclassify_test_data): Likewise.
49685         (frexp_test_data): Likewise.
49686         (gamma_test_data): Likewise.
49687         (hypot_test_data): Likewise.
49688         (ilogb_test_data): Likewise.
49689         (isfinite_test_data): Likewise.
49690         (isgreater_test_data): Likewise.
49691         (isgreaterequal_test_data): Likewise.
49692         (isinf_test_data): Likewise.
49693         (isless_test_data): Likewise.
49694         (islessequal_test_data): Likewise.
49695         (islessgreater_test_data): Likewise.
49696         (isnan_test_data): Likewise.
49697         (isnormal_test_data): Likewise.
49698         (issignaling_test_data): Likewise.
49699         (isunordered_test_data): Likewise.
49700         (j0_test_data): Likewise.
49701         (j1_test_data): Likewise.
49702         (jn_test_data): Likewise.
49703         (ldexp_test_data): Likewise.
49704         (lgamma_test_data): Likewise.
49705         (lrint_test_data): Likewise.
49706         (lrint_tonearest_test_data): Likewise.
49707         (lrint_towardzero_test_data): Likewise.
49708         (lrint_downward_test_data): Likewise.
49709         (lrint_upward_test_data): Likewise.
49710         (llrint_test_data): Likewise.
49711         (llrint_tonearest_test_data): Likewise.
49712         (llrint_towardzero_test_data): Likewise.
49713         (llrint_downward_test_data): Likewise.
49714         (llrint_upward_test_data): Likewise.
49715         (log_test_data): Likewise.
49716         (log10_test_data): Likewise.
49717         (log1p_test_data): Likewise.
49718         (log2_test_data): Likewise.
49719         (logb_test_data): Likewise.
49720         (logb_downward_test_data): Likewise.
49721         (lround_test_data): Likewise.
49722         (llround_test_data): Likewise.
49723         (modf_test_data): Likewise.
49724         (nearbyint_test_data): Likewise.
49725         (nextafter_test_data): Likewise.
49726         (nexttoward_test_data): Likewise.
49727         (pow_test_data): Likewise.
49728         (pow_tonearest_test_data): Likewise.
49729         (pow_towardzero_test_data): Likewise.
49730         (pow_downward_test_data): Likewise.
49731         (pow_upward_test_data): Likewise.
49732         (remainder_test_data): Likewise.
49733         (remainder_tonearest_test_data): Likewise.
49734         (remainder_towardzero_test_data): Likewise.
49735         (remainder_downward_test_data): Likewise.
49736         (remainder_upward_test_data): Likewise.
49737         (remquo_test_data): Likewise.
49738         (rint_test_data): Likewise.
49739         (rint_tonearest_test_data): Likewise.
49740         (rint_towardzero_test_data): Likewise.
49741         (rint_downward_test_data): Likewise.
49742         (rint_upward_test_data): Likewise.
49743         (round_test_data): Likewise.
49744         (scalb_test_data): Likewise.
49745         (scalbn_test_data): Likewise.
49746         (scalbln_test_data): Likewise.
49747         (signbit_test_data): Likewise.
49748         (sin_test_data): Likewise.
49749         (sin_tonearest_test_data): Likewise.
49750         (sin_towardzero_test_data): Likewise.
49751         (sin_downward_test_data): Likewise.
49752         (sin_upward_test_data): Likewise.
49753         (sincos_test_data): Likewise.
49754         (sinh_test_data): Likewise.
49755         (sinh_tonearest_test_data): Likewise.
49756         (sinh_towardzero_test_data): Likewise.
49757         (sinh_downward_test_data): Likewise.
49758         (sinh_upward_test_data): Likewise.
49759         (sqrt_test_data): Likewise.
49760         (tan_test_data): Likewise.
49761         (tan_tonearest_test_data): Likewise.
49762         (tan_towardzero_test_data): Likewise.
49763         (tan_downward_test_data): Likewise.
49764         (tan_upward_test_data): Likewise.
49765         (tanh_test_data): Likewise.
49766         (tgamma_test_data): Likewise.
49767         (trunc_test_data): Likewise.
49768         (y0_test_data): Likewise.
49769         (y1_test_data): Likewise.
49770         (yn_test_data): Likewise.
49771         (significand_test_data): Likewise.
49773         * math/gen-libm-test.pl (@functions): Remove variable.
49774         (generate_testfile): Don't handle START and END lines.
49775         * math/libm-test.inc (START): New macro.
49776         (END): Likewise.
49777         (END_COMPLEX): Likewise.
49778         (acos_test): Use END macro without arguments.
49779         (acos_test_tonearest): Likewise.
49780         (acos_test_towardzero): Likewise.
49781         (acos_test_downward): Likewise.
49782         (acos_test_upward): Likewise.
49783         (acosh_test): Likewise.
49784         (asin_test): Likewise.
49785         (asin_test_tonearest): Likewise.
49786         (asin_test_towardzero): Likewise.
49787         (asin_test_downward): Likewise.
49788         (asin_test_upward): Likewise.
49789         (asinh_test): Likewise.
49790         (atan_test): Likewise.
49791         (atanh_test): Likewise.
49792         (atan2_test): Likewise.
49793         (cabs_test): Likewise.
49794         (cacos_test): Use END_COMPLEX macro without arguments.
49795         (cacosh_test): Likewise.
49796         (carg_test): Use END macro without arguments.
49797         (casin_test): Use END_COMPLEX macro without arguments.
49798         (casinh_test): Likewise.
49799         (catan_test): Likewise.
49800         (catanh_test): Likewise.
49801         (cbrt_test): Use END macro without arguments.
49802         (ccos_test): Use END_COMPLEX macro without arguments.
49803         (ccosh_test): Likewise.
49804         (ceil_test): Use END macro without arguments.
49805         (cexp_test): Use END_COMPLEX macro without arguments.
49806         (cimag_test): Use END macro without arguments.
49807         (clog_test): Use END_COMPLEX macro without arguments.
49808         (clog10_test): Likewise.
49809         (conj_test): Likewise.
49810         (copysign_test): Use END macro without arguments.
49811         (cos_test): Likewise.
49812         (cos_test_tonearest): Likewise.
49813         (cos_test_towardzero): Likewise.
49814         (cos_test_downward): Likewise.
49815         (cos_test_upward): Likewise.
49816         (cosh_test): Likewise.
49817         (cosh_test_tonearest): Likewise.
49818         (cosh_test_towardzero): Likewise.
49819         (cosh_test_downward): Likewise.
49820         (cosh_test_upward): Likewise.
49821         (cpow_test): Use END_COMPLEX macro without arguments.
49822         (cproj_test): Likewise.
49823         (creal_test): Use END macro without arguments.
49824         (csin_test): Use END_COMPLEX macro without arguments.
49825         (csinh_test): Likewise.
49826         (csqrt_test): Likewise.
49827         (ctan_test): Likewise.
49828         (ctan_test_tonearest): Likewise.
49829         (ctan_test_towardzero): Likewise.
49830         (ctan_test_downward): Likewise.
49831         (ctan_test_upward): Likewise.
49832         (ctanh_test): Likewise.
49833         (ctanh_test_tonearest): Likewise.
49834         (ctanh_test_towardzero): Likewise.
49835         (ctanh_test_downward): Likewise.
49836         (ctanh_test_upward): Likewise.
49837         (erf_test): Use END macro without arguments.
49838         (erfc_test): Likewise.
49839         (exp_test): Likewise.
49840         (exp_test_tonearest): Likewise.
49841         (exp_test_towardzero): Likewise.
49842         (exp_test_downward): Likewise.
49843         (exp_test_upward): Likewise.
49844         (exp10_test): Likewise.
49845         (exp2_test): Likewise.
49846         (expm1_test): Likewise.
49847         (fabs_test): Likewise.
49848         (fdim_test): Likewise.
49849         (finite_test): Likewise.
49850         (floor_test): Likewise.
49851         (fma_test): Likewise.
49852         (fma_test_towardzero): Likewise.
49853         (fma_test_downward): Likewise.
49854         (fma_test_upward): Likewise.
49855         (fmax_test): Likewise.
49856         (fmin_test): Likewise.
49857         (fmod_test): Likewise.
49858         (fpclassify_test): Likewise.
49859         (frexp_test): Likewise.
49860         (gamma_test): Likewise.
49861         (hypot_test): Likewise.
49862         (ilogb_test): Likewise.
49863         (isfinite_test): Likewise.
49864         (isgreater_test): Likewise.
49865         (isgreaterequal_test): Likewise.
49866         (isinf_test): Likewise.
49867         (isless_test): Likewise.
49868         (islessequal_test): Likewise.
49869         (islessgreater_test): Likewise.
49870         (isnan_test): Likewise.
49871         (isnormal_test): Likewise.
49872         (issignaling_test): Likewise.
49873         (isunordered_test): Likewise.
49874         (j0_test): Likewise.
49875         (j1_test): Likewise.
49876         (jn_test): Likewise.
49877         (ldexp_test): Likewise.
49878         (lgamma_test): Likewise.
49879         (lrint_test): Likewise.
49880         (lrint_test_tonearest): Likewise.
49881         (lrint_test_towardzero): Likewise.
49882         (lrint_test_downward): Likewise.
49883         (lrint_test_upward): Likewise.
49884         (llrint_test): Likewise.
49885         (llrint_test_tonearest): Likewise.
49886         (llrint_test_towardzero): Likewise.
49887         (llrint_test_downward): Likewise.
49888         (llrint_test_upward): Likewise.
49889         (log_test): Likewise.
49890         (log10_test): Likewise.
49891         (log1p_test): Likewise.
49892         (log2_test): Likewise.
49893         (logb_test): Likewise.
49894         (logb_test_downward): Likewise.
49895         (lround_test): Likewise.
49896         (llround_test): Likewise.
49897         (modf_test): Likewise.
49898         (nearbyint_test): Likewise.
49899         (nextafter_test): Likewise.
49900         (nexttoward_test): Likewise.
49901         (pow_test): Likewise.
49902         (pow_test_tonearest): Likewise.
49903         (pow_test_towardzero): Likewise.
49904         (pow_test_downward): Likewise.
49905         (pow_test_upward): Likewise.
49906         (remainder_test): Likewise.
49907         (remainder_test_tonearest): Likewise.
49908         (remainder_test_towardzero): Likewise.
49909         (remainder_test_downward): Likewise.
49910         (remainder_test_upward): Likewise.
49911         (remquo_test): Likewise.
49912         (rint_test): Likewise.
49913         (rint_test_tonearest): Likewise.
49914         (rint_test_towardzero): Likewise.
49915         (rint_test_downward): Likewise.
49916         (rint_test_upward): Likewise.
49917         (round_test): Likewise.
49918         (scalb_test): Likewise.
49919         (scalbn_test): Likewise.
49920         (scalbln_test): Likewise.
49921         (signbit_test): Likewise.
49922         (sin_test): Likewise.
49923         (sin_test_tonearest): Likewise.
49924         (sin_test_towardzero): Likewise.
49925         (sin_test_downward): Likewise.
49926         (sin_test_upward): Likewise.
49927         (sincos_test): Likewise.
49928         (sinh_test): Likewise.
49929         (sinh_test_tonearest): Likewise.
49930         (sinh_test_towardzero): Likewise.
49931         (sinh_test_downward): Likewise.
49932         (sinh_test_upward): Likewise.
49933         (sqrt_test): Likewise.
49934         (tan_test): Likewise.
49935         (tan_test_tonearest): Likewise.
49936         (tan_test_towardzero): Likewise.
49937         (tan_test_downward): Likewise.
49938         (tan_test_upward): Likewise.
49939         (tanh_test): Likewise.
49940         (tgamma_test): Likewise.
49941         (trunc_test): Likewise.
49942         (y0_test): Likewise.
49943         (y1_test): Likewise.
49944         (yn_test): Likewise.
49945         (significand_test): Likewise.
49947 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49949         [BZ #15381]
49950         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49952 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49954         [BZ #14894]
49955         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49956         __ppc_mdoio and __ppc_mdoom.
49957         * manual/platform.texi: Document new functions __ppc_yield,
49958         __ppc_mdoio and __ppc_mdoom.
49960 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49962         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49963         (main): Mention "tls" pseudo-hwcap is legacy.
49964         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49966 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49968         * math/gen-libm-test.pl (parse_args): Output only string of
49969         arguments as text for test name, not full call or descriptions of
49970         tests for extra outputs.
49971         (generate_testfile): Do not pass function name to parse_args.
49972         Generate this_func variable from START.
49973         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49974         field to arg_str.
49975         (struct test_ff_f_data): Likewise.
49976         (test_ff_f_data_nexttoward): Likewise.
49977         (struct test_fi_f_data): Likewise.
49978         (struct test_fl_f_data): Likewise.
49979         (struct test_if_f_data): Likewise.
49980         (struct test_fff_f_data): Likewise.
49981         (struct test_c_f_data): Likewise.
49982         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49983         (struct test_fF_f1_data): Likewise.
49984         (struct test_ffI_f1_data): Likewise.
49985         (struct test_c_c_data): Rename test_name field to arg_str.
49986         (struct test_cc_c_data): Likewise.
49987         (struct test_f_i_data): Likewise.
49988         (struct test_ff_i_data): Likewise.
49989         (struct test_f_l_data): Likewise.
49990         (struct test_f_L_data): Likewise.
49991         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49992         and extra2_name.
49993         (COMMON_TEST_SETUP): New macro.
49994         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49995         (COMMON_TEST_CLEANUP): Likewise.
49996         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49997         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49998         macros.
49999         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50000         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50001         macros.
50002         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50003         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50004         cleanup macros.
50005         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50006         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50007         macros.
50008         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50009         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50010         macros.
50011         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50012         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50013         cleanup macros.
50014         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50015         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50016         cleanup macros.
50017         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50018         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50019         cleanup macros.
50020         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50021         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50022         macros.
50023         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50024         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50025         macros.
50026         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50027         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50028         macros.
50029         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50030         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50031         cleanup macros.
50032         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50033         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50034         cleanup macros.
50035         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50036         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50037         macros.
50038         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50039         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50040         cleanup macros.
50041         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50042         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50043         macros.
50044         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50045         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50046         macros.
50047         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50048         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50049         cleanup macros.
50050         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50052 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50054         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50055         to _sifields.sigfault.
50056         (si_addr_lsb): Define new macro.
50057         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50058         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50059         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50061 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50063         [BZ #15441]
50064         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50065         returns -1.
50066         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50067         null return -1.
50068         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50069         loading the domain.
50071 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50073         * math/gen-libm-test.pl (parse_args): Do not include expected
50074         result in test name.
50075         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50076         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50077         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50078         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50079         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50082 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50084         * benchtests/Makefile: Sort function entries.
50086         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50087         tanh, asinh, acosh, atanh.
50088         * benchtests/acos-inputs: New file.
50089         * benchtests/acosh-inputs: New file.
50090         * benchtests/asin-inputs: New file.
50091         * benchtests/asinh-inputs: New file.
50092         * benchtests/atanh-inputs: New file.
50093         * benchtests/cosh-inputs: New file.
50094         * benchtests/log-inputs: New file.
50095         * benchtests/sinh-inputs: New file.
50096         * benchtests/tanh-inputs: New file.
50098 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50100         [BZ #15339]
50101         * posix/tst-getaddrinfo4.c: New test.
50102         * posix/Makefile (tests): Add it.
50104 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50106         [BZ #15339]
50107         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50108         when no services were used.
50109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50110         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50112 2013-05-21  Andreas Schwab  <schwab@suse.de>
50114         [BZ #15014]
50115         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50116         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50117         successful.
50118         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50119         redundant variable declarations and reallocation of buffer when
50120         parsing as IPv6 address.  Always set NSS status when called from
50121         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50122         buffer too small.  Correct computation of needed size.
50123         * nss/Makefile (tests): Add test-digits-dots.
50124         * nss/test-digits-dots.c: New test.
50126 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50128         * benchtests/Makefile: Remove instructions for adding
50129         benchmark tests.
50130         * benchtests/README: New file to explain how to execute and
50131         enhance the benchmark tests.
50133 2013-05-21  Andreas Schwab  <schwab@suse.de>
50135         [BZ #15493]
50136         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50137         * setjmp/tst-sigsetjmp.c: New test.
50139 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50141         * sysdeps/x86_64/memset.S (memset): New implementation.
50142         (__bzero): Likewise.
50143         (__memset_tail): New function.
50145 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50147         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50148         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50149         __memcpy_sse2_unaligned ifunc selection.
50150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50151         Add memcpy-sse2-unaligned.S.
50152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50153         Add: __memcpy_sse2_unaligned.
50155 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50157         [BZ #15490]
50158         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50159         math_force_eval before restoring floating-point envrionment.
50160         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50161         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50162         Likewise.
50163         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50164         <math_private.h>.
50165         (__nearbyintl): Use math_force_eval before restoring
50166         floating-point environment.
50167         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50169         * math/gen-libm-test.pl (special_functions): Remove.
50170         (parse_args): Don't handle TEST_extra.  Handle functions with no
50171         return value.
50172         * math/libm-test.inc (struct test_sincos_data): Replace with
50173         struct test_fFF_11_data.
50174         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50175         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50176         (sincos_test_data): Change element type to struct
50177         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50178         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50179         RUN_TEST_LOOP_sincos.
50180         * math/README.libm-test: Don't mention special handling of
50181         individual functions.
50182         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50183         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50184         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50185         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50186         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50189         * math/gen-libm-test.pl (get_variable): Remove function.
50190         (parse_args): Don't show pointer parameters to call in test
50191         names.  Use "extra output N" in test names for extra outputs
50192         rather than naming variables.
50194 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50196         [BZ #15488]
50197         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50198         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50199         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50200         double tests.
50201         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50202         disable.
50203         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50204         check_long_double.
50206         * math/gen-libm-test.pl (@tests): Remove variable.
50207         ($count): Likewise.
50208         (new_test): Remove function.
50209         (show_exceptions): New function.
50210         (special_functions): Use show_exceptions instead of new_test.
50211         (parse_args): Likewise.
50212         (generate_testfile): Pass only function name in generated call to
50213         print_max_error or print_complex_max_error.
50214         (get_ulps): Do not handle complex tests specially.
50215         (output_test): Rename to ...
50216         (get_all_ulps_for_test): ... this.  Return a string rather than
50217         printing to a file.  Require ulps to be present.
50218         (output_ulps): Generate arrays rather than #defines.
50219         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50220         (struct ulp_data): New type.
50221         (BUILD_COMPLEX_ULP): Remove macro.
50222         (compare_ulp_data): New function.
50223         (find_ulps): Likewise.
50224         (find_test_ulps): Likewise.
50225         (find_function_ulps): Likewise.
50226         (find_complex_function_ulps): Likewise.
50227         (print_max_error): Determine allowed ulps using
50228         find_function_ulps.
50229         (print_complex_max_error): Determine allowed ulps using
50230         find_complex_function_ulps.
50231         (check_float_internal): Determine max ulps using find_test_ulps.
50232         (check_float): Do not take max_ulp parameter.  Update call to
50233         check_float_internal.
50234         (check_complex): Likewise.
50235         (check_int): Do not take max_ulp parameter.
50236         (check_long): Likewise.
50237         (check_bool): Likewise.
50238         (check_longlong): Likewise.
50239         (struct test_f_f_data): Remove max_ulp field.
50240         (struct test_ff_f_data): Likewise.
50241         (struct test_ff_f_data_nexttoward): Likewise.
50242         (struct test_fi_f_data): Likewise.
50243         (struct test_fl_f_data): Likewise.
50244         (struct test_if_f_data): Likewise.
50245         (struct test_fff_f_data): Likewise.
50246         (struct test_c_f_data): Likewise.
50247         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50248         (struct test_fF_f1_data): Likewise.
50249         (struct test_ffI_f1_data): Likewise.
50250         (struct test_c_c_data): Remove max_ulp field.
50251         (struct test_cc_c_data): Likewise.
50252         (struct test_f_i_data): Likewise.
50253         (struct test_ff_i_data): Likewise.
50254         (struct test_f_l_data): Likewise.
50255         (struct test_f_L_data): Likewise.
50256         (struct test_sincos_data): Likewise.
50257         (RUN_TEST_f_f): Do not handle ulps.
50258         (RUN_TEST_LOOP_f_f): Likewise.
50259         (RUN_TEST_2_f): Likewise.
50260         (RUN_TEST_LOOP_2_f): Likewise.
50261         (RUN_TEST_fff_f): Likewise.
50262         (RUN_TEST_LOOP_fff_f): Likewise.
50263         (RUN_TEST_c_f): Likewise.
50264         (RUN_TEST_LOOP_c_f): Likewise.
50265         (RUN_TEST_f_f1): Likewise.
50266         (RUN_TEST_LOOP_f_f1): Likewise.
50267         (RUN_TEST_fF_f1): Likewise.
50268         (RUN_TEST_LOOP_fF_f1): Likewise.
50269         (RUN_TEST_fI_f1): Likewise.
50270         (RUN_TEST_LOOP_fI_f1): Likewise.
50271         (RUN_TEST_ffI_f1): Likewise.
50272         (RUN_TEST_LOOP_ffI_f1): Likewise.
50273         (RUN_TEST_c_c): Likewise.
50274         (RUN_TEST_LOOP_c_c): Likewise.
50275         (RUN_TEST_cc_c): Likewise.
50276         (RUN_TEST_LOOP_cc_c): Likewise.
50277         (RUN_TEST_f_i): Likewise.
50278         (RUN_TEST_LOOP_f_i): Likewise.
50279         (RUN_TEST_f_i_tg): Likewise.
50280         (RUN_TEST_LOOP_f_i_tg): Likewise.
50281         (RUN_TEST_ff_i_tg): Likewise.
50282         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50283         (RUN_TEST_f_b): Likewise.
50284         (RUN_TEST_LOOP_f_b): Likewise.
50285         (RUN_TEST_f_b_tg): Likewise.
50286         (RUN_TEST_LOOP_f_b_tg): Likewise.
50287         (RUN_TEST_f_l): Likewise.
50288         (RUN_TEST_LOOP_f_l): Likewise.
50289         (RUN_TEST_f_L): Likewise.
50290         (RUN_TEST_LOOP_f_L): Likewise.
50291         (RUN_TEST_sincos): Likewise.
50292         (RUN_TEST_LOOP_sincos): Likewise.
50294 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50296         [BZ #15480]
50297         [BZ #15485]
50298         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50299         main case of finite arguments, set rounding mode to FE_TONEAREST
50300         and discard exceptions.
50301         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50302         exceptions.
50303         (remainder_tonearest_test_data): New variable.
50304         (remainder_test_tonearest): New function.
50305         (remainder_towardzero_test_data): New variable.
50306         (remainder_test_towardzero): New function.
50307         (remainder_downward_test_data): New variable.
50308         (remainder_test_downward): New function.
50309         (remainder_upward_test_data): New variable.
50310         (remainder_test_upward): New function.
50311         (main): Call the new test functions.
50313         * math/libm-test.inc (struct test_f_f1_data): Remove field
50314         extra_init.
50315         (struct test_fF_f1_data): Likewise.
50316         (struct test_ffI_f1_data): Likewise.
50317         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50318         based on value of EXTRA_EXPECTED.
50319         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50320         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50321         EXTRA_VAR based on value of EXTRA_EXPECTED.
50322         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50323         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50324         EXTRA_VAR based on value of EXTRA_EXPECTED.
50325         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50326         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50327         EXTRA_VAR based on value of EXTRA_EXPECTED.
50328         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50329         * math/gen-libm-test.pl (parse_args): Don't output initializers
50330         for extra output values.
50332         * math/libm-test.inc (check_int): Expect result to be exactly
50333         equal to expected value and do not handle ulps.
50334         (check_long): Likewise.
50335         (check_longlong): Likewise.
50337         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50338         exceptions.
50339         (cimag_test_data): Likewise.
50340         (conj_test_data): Likewise.
50341         (copysign_test_data): Likewise.
50342         (cproj_test_data): Likewise.
50343         (creal_test_data): Likewise.
50344         (fabs_test_data): Likewise.
50345         (fdim_test_data): Likewise.
50346         (finite_test_data): Likewise.
50347         (floor_test_data): Likewise.
50348         (fmax_test_data): Likewise.
50349         (fmin_test_data): Likewise.
50350         (fmod_test_data): Likewise.
50351         (fpclassify_test_data): Likewise.
50352         (frexp_test_data): Likewise.
50353         (ilogb_test_data): Likewise.
50354         (isfinite_test_data): Likewise.
50355         (isgreater_test_data): Likewise.
50356         (isgreaterequal_test_data): Likewise.
50357         (isinf_test_data): Likewise.
50358         (isless_test_data): Likewise.
50359         (islessequal_test_data): Likewise.
50360         (islessgreater_test_data): Likewise.
50361         (isnan_test_data): Likewise.
50362         (isnormal_test_data): Likewise.
50363         (issignaling_test_data): Likewise.
50364         (isunordered_test_data): Likewise.
50365         (ldexp_test_data): Likewise.
50366         (lrint_test_data): Likewise.
50367         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50368         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50369         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50370         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50371         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50372         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50373         test input.
50374         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50375         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50376         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50377         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50378         that test input.
50379         (lrint_downward_test_data): Test for "inexact" exceptions.
50380         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50381         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50382         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50383         test input.
50384         (lrint_upward_test_data): Test for "inexact" exceptions.
50385         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50386         test input.
50387         (llrint_test_data): Test for "inexact" exceptions.
50388         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50389         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50390         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50391         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50392         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50393         (llrint_downward_test_data): Test for "inexact" exceptions.
50394         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50395         (llrint_upward_test_data): Test for "inexact" exceptions.
50396         (logb_test_data): Likewise.
50397         (logb_downward_test_data): Likewise.
50398         (nextafter_test_data): Likewise.
50399         (nexttoward_test_data): Likewise.
50400         (remainder_test_data): Likewise.
50401         (remquo_test_data): Likewise.
50402         (scalbn_test_data): Likewise.
50403         (scalbln_test_data): Likewise.
50404         (signbit_test_data): Likewise.
50405         (sqrt_test_data): Likewise.
50406         (significand_test_data): Likewise.
50408 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50410         [BZ #15424]
50411         * benchtests/bench-modf.c (struct args): Mark arg0 as
50412         volatile.
50413         * scripts/bench.pl: Mark members of struct args as volatile.
50415 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50417         [BZ # 15497]
50418         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50419         negative infinity on POWER6 or lower.
50420         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50422 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50424         [BZ #15442]
50425         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50426         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50427         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50428         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50429         (_FP_SETQNAN): New macro.
50430         (_FP_SETQNAN_SEMIRAW): Likewise.
50431         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50432         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50433         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50434         (FP_EXTEND): Use _FP_FRAC_SNANP.
50435         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50436         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50437         into account.
50438         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50439         New macro.
50440         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50441         Likewise.
50443 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50445         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50446         with DIVIDE_BY_ZERO_EXCEPTION.
50447         (gamma_test_data): Likewise.
50448         (lgamma_test_data): Likewise.
50449         (log_test_data): Likewise.
50450         (log10_test_data): Likewise.
50451         (log2_test_data): Likewise.
50452         (tgamma_test_data): Likewise.
50454         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50455         (acos_test_tonearest): Likewise.
50456         (acos_test_towardzero): Likewise.
50457         (acos_test_downward): Likewise.
50458         (acos_test_upward): Likewise.
50459         (acosh_test): Likewise.
50460         (asin_test): Likewise.
50461         (asin_test_tonearest): Likewise.
50462         (asin_test_towardzero): Likewise.
50463         (asin_test_downward): Likewise.
50464         (asin_test_upward): Likewise.
50465         (asinh_test): Likewise.
50466         (atan_test): Likewise.
50467         (atanh_test): Likewise.
50468         (atan2_test): Likewise.
50469         (cabs_test): Likewise.
50470         (cacos_test): Likewise.
50471         (cacosh_test): Likewise.
50472         (casin_test): Likewise.
50473         (casinh_test): Likewise.
50474         (catan_test): Likewise.
50475         (catanh_test): Likewise.
50476         (cbrt_test): Likewise.
50477         (ccos_test): Likewise.
50478         (ccosh_test): Likewise.
50479         (cexp_test): Likewise.
50480         (clog_test): Likewise.
50481         (clog10_test): Likewise.
50482         (cos_test): Likewise.
50483         (cos_test_tonearest): Likewise.
50484         (cos_test_towardzero): Likewise.
50485         (cos_test_downward): Likewise.
50486         (cos_test_upward): Likewise.
50487         (cosh_test): Likewise.
50488         (cosh_test_tonearest): Likewise.
50489         (cosh_test_towardzero): Likewise.
50490         (cosh_test_downward): Likewise.
50491         (cosh_test_upward): Likewise.
50492         (cpow_test): Likewise.
50493         (csin_test): Likewise.
50494         (csinh_test): Likewise.
50495         (csqrt_test): Likewise.
50496         (ctan_test): Likewise.
50497         (ctan_test_tonearest): Likewise.
50498         (ctan_test_towardzero): Likewise.
50499         (ctan_test_downward): Likewise.
50500         (ctan_test_upward): Likewise.
50501         (ctanh_test): Likewise.
50502         (ctanh_test_tonearest): Likewise.
50503         (ctanh_test_towardzero): Likewise.
50504         (ctanh_test_downward): Likewise.
50505         (ctanh_test_upward): Likewise.
50506         (erf_test): Likewise.
50507         (erfc_test): Likewise.
50508         (exp_test): Likewise.
50509         (exp_test_tonearest): Likewise.
50510         (exp_test_towardzero): Likewise.
50511         (exp_test_downward): Likewise.
50512         (exp_test_upward): Likewise.
50513         (exp10_test): Likewise.
50514         (exp2_test): Likewise.
50515         (expm1_test): Likewise.
50516         (fmod_test): Likewise.
50517         (gamma_test): Likewise.
50518         (hypot_test): Likewise.
50519         (j0_test): Likewise.
50520         (j1_test): Likewise.
50521         (jn_test): Likewise.
50522         (lgamma_test): Likewise.
50523         (log_test): Likewise.
50524         (log10_test): Likewise.
50525         (log1p_test): Likewise.
50526         (log2_test): Likewise.
50527         (logb_test_downward): Likewise.
50528         (pow_test): Likewise.
50529         (pow_test_tonearest): Likewise.
50530         (pow_test_towardzero): Likewise.
50531         (pow_test_downward): Likewise.
50532         (pow_test_upward): Likewise.
50533         (remainder_test): Likewise.
50534         (remquo_test): Likewise.
50535         (sin_test): Likewise.
50536         (sin_test_tonearest): Likewise.
50537         (sin_test_towardzero): Likewise.
50538         (sin_test_downward): Likewise.
50539         (sin_test_upward): Likewise.
50540         (sincos_test): Likewise.
50541         (sinh_test): Likewise.
50542         (sinh_test_tonearest): Likewise.
50543         (sinh_test_towardzero): Likewise.
50544         (sinh_test_downward): Likewise.
50545         (sinh_test_upward): Likewise.
50546         (sqrt_test): Likewise.
50547         (tan_test): Likewise.
50548         (tan_test_tonearest): Likewise.
50549         (tan_test_towardzero): Likewise.
50550         (tan_test_downward): Likewise.
50551         (tan_test_upward): Likewise.
50552         (tanh_test): Likewise.
50553         (tgamma_test): Likewise.
50554         (y0_test): Likewise.
50555         (y1_test): Likewise.
50556         (yn_test): Likewise.
50558         * math/gen-libm-test.pl (adjust_arg): Remove function.
50559         (special_function): Remove argument $in_func.  Only handle
50560         generating output for tables of tests, not inside functions.
50561         (parse_args): Likewise.
50562         (generate_testfile): Remove variable $in_func.  Update call to
50563         parse_args.
50564         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50565         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50566         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50567         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50568         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50569         (MAX_VALUE_INIT): Rename macro to max_value.
50570         (MIN_VALUE_INIT): Rename macro to min_value.
50571         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50572         (plus_zero): Remove variable.
50573         (minus_zero): Likewise.
50574         (plus_infty): Likewise.
50575         (minus_infty): Likewise.
50576         (qnan_value): Likewise.
50577         (max_value): Likewise.
50578         (min_value): Likewise.
50579         (min_subnorm_value): Likewise.
50581 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50583         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50584         uint64_t or uint32_t usage.
50585         * crypt/sha256-block.c: Likewise.
50586         * crypt/sha256-crypt.c: Likewise.
50587         * crypt/sha256.c: Likewise.
50588         * crypt/sha512-block.c: Likewise.
50589         * crypt/sha512-crypt.c: Likewise.
50590         * crypt/sha512.c: Likewise.
50591         * debug/backtrace-tst.c: Likewise.
50592         * debug/pcprofiledump.c: Likewise.
50593         * elf/cache.c: Likewise.
50594         * elf/dl-cache.c: Likewise.
50595         * elf/dl-misc.c: Likewise.
50596         * elf/dl-profile.c: Likewise.
50597         * elf/dl-support.c: Likewise.
50598         * elf/ldconfig.c: Likewise.
50599         * elf/sprof.c: Likewise.
50600         * iconv/dummy-repertoire.c: Likewise.
50601         * iconv/iconv_charmap.c: Likewise.
50602         * iconv/skeleton.c: Likewise.
50603         * iconvdata/8bit-generic.c: Likewise.
50604         * iconvdata/cp737.h: Likewise.
50605         * iconvdata/cp775.h: Likewise.
50606         * iconvdata/ibm1008.h: Likewise.
50607         * iconvdata/ibm1025.h: Likewise.
50608         * iconvdata/ibm1046.h: Likewise.
50609         * iconvdata/ibm1097.h: Likewise.
50610         * iconvdata/ibm1112.h: Likewise.
50611         * iconvdata/ibm1122.h: Likewise.
50612         * iconvdata/ibm1123.h: Likewise.
50613         * iconvdata/ibm1124.h: Likewise.
50614         * iconvdata/ibm1129.h: Likewise.
50615         * iconvdata/ibm1130.h: Likewise.
50616         * iconvdata/ibm1132.h: Likewise.
50617         * iconvdata/ibm1133.h: Likewise.
50618         * iconvdata/ibm1137.h: Likewise.
50619         * iconvdata/ibm1140.h: Likewise.
50620         * iconvdata/ibm1141.h: Likewise.
50621         * iconvdata/ibm1142.h: Likewise.
50622         * iconvdata/ibm1143.h: Likewise.
50623         * iconvdata/ibm1144.h: Likewise.
50624         * iconvdata/ibm1145.h: Likewise.
50625         * iconvdata/ibm1146.h: Likewise.
50626         * iconvdata/ibm1147.h: Likewise.
50627         * iconvdata/ibm1148.h: Likewise.
50628         * iconvdata/ibm1149.h: Likewise.
50629         * iconvdata/ibm1153.h: Likewise.
50630         * iconvdata/ibm1154.h: Likewise.
50631         * iconvdata/ibm1155.h: Likewise.
50632         * iconvdata/ibm1156.h: Likewise.
50633         * iconvdata/ibm1157.h: Likewise.
50634         * iconvdata/ibm1158.h: Likewise.
50635         * iconvdata/ibm1160.h: Likewise.
50636         * iconvdata/ibm1161.h: Likewise.
50637         * iconvdata/ibm1162.h: Likewise.
50638         * iconvdata/ibm1163.h: Likewise.
50639         * iconvdata/ibm1164.h: Likewise.
50640         * iconvdata/ibm1166.h: Likewise.
50641         * iconvdata/ibm1167.h: Likewise.
50642         * iconvdata/ibm12712.h: Likewise.
50643         * iconvdata/ibm1390.h: Likewise.
50644         * iconvdata/ibm1399.h: Likewise.
50645         * iconvdata/ibm16804.h: Likewise.
50646         * iconvdata/ibm4517.h: Likewise.
50647         * iconvdata/ibm4899.h: Likewise.
50648         * iconvdata/ibm4909.h: Likewise.
50649         * iconvdata/ibm4971.h: Likewise.
50650         * iconvdata/ibm5347.h: Likewise.
50651         * iconvdata/ibm803.h: Likewise.
50652         * iconvdata/ibm856.h: Likewise.
50653         * iconvdata/ibm901.h: Likewise.
50654         * iconvdata/ibm902.h: Likewise.
50655         * iconvdata/ibm9030.h: Likewise.
50656         * iconvdata/ibm9066.h: Likewise.
50657         * iconvdata/ibm921.h: Likewise.
50658         * iconvdata/ibm922.h: Likewise.
50659         * iconvdata/ibm9448.h: Likewise.
50660         * iconvdata/isiri-3342.h: Likewise.
50661         * iconvdata/jis0201.h: Likewise.
50662         * include/link.h: Likewise.
50663         * include/netdb.h: Likewise.
50664         * inet/check_native.c: Likewise.
50665         * inet/check_pf.c: Likewise.
50666         * inet/getipv4sourcefilter.c: Likewise.
50667         * inet/getnameinfo.c: Likewise.
50668         * inet/getsourcefilter.c: Likewise.
50669         * inet/htonl.c: Likewise.
50670         * inet/setipv4sourcefilter.c: Likewise.
50671         * inet/setsourcefilter.c: Likewise.
50672         * inet/test-inet6_opt.c: Likewise.
50673         * inet/tst-network.c: Likewise.
50674         * locale/C-collate.c: Likewise.
50675         * locale/C-ctype.c: Likewise.
50676         * locale/C-time.c: Likewise.
50677         * locale/C-translit.h: Likewise.
50678         * locale/loadarchive.c: Likewise.
50679         * locale/programs/3level.h: Likewise.
50680         * locale/programs/charmap.c: Likewise.
50681         * locale/programs/charmap.h: Likewise.
50682         * locale/programs/ld-address.c: Likewise.
50683         * locale/programs/ld-collate.c: Likewise.
50684         * locale/programs/ld-ctype.c: Likewise.
50685         * locale/programs/ld-identification.c: Likewise.
50686         * locale/programs/ld-measurement.c: Likewise.
50687         * locale/programs/ld-messages.c: Likewise.
50688         * locale/programs/ld-monetary.c: Likewise.
50689         * locale/programs/ld-name.c: Likewise.
50690         * locale/programs/ld-numeric.c: Likewise.
50691         * locale/programs/ld-paper.c: Likewise.
50692         * locale/programs/ld-telephone.c: Likewise.
50693         * locale/programs/ld-time.c: Likewise.
50694         * locale/programs/linereader.c: Likewise.
50695         * locale/programs/locale.c: Likewise.
50696         * locale/programs/locarchive.c: Likewise.
50697         * locale/programs/locfile.h: Likewise.
50698         * locale/programs/repertoire.c: Likewise.
50699         * locale/programs/simple-hash.c: Likewise.
50700         * locale/programs/simple-hash.h: Likewise.
50701         * malloc/memusage.c: Likewise.
50702         * malloc/memusagestat.c: Likewise.
50703         * nis/nis_defaults.c: Likewise.
50704         * nis/nis_hash.c: Likewise.
50705         * nis/nis_print.c: Likewise.
50706         * nis/nis_xdr.c: Likewise.
50707         * nscd/connections.c: Likewise.
50708         * nscd/hstcache.c: Likewise.
50709         * nscd/nscd_gethst_r.c: Likewise.
50710         * nscd/nscd_getserv_r.c: Likewise.
50711         * nscd/nscd_helper.c: Likewise.
50712         * nscd/servicescache.c: Likewise.
50713         * nss/makedb.c: Likewise.
50714         * nss/nss_db/db-XXX.c: Likewise.
50715         * nss/nss_db/db-initgroups.c: Likewise.
50716         * nss/nss_db/db-netgrp.c: Likewise.
50717         * nss/nss_files/files-network.c: Likewise.
50718         * nss/nss_files/files-parse.c: Likewise.
50719         * posix/bug-regex5.c: Likewise.
50720         * posix/fnmatch_loop.c: Likewise.
50721         * posix/regcomp.c: Likewise.
50722         * posix/regexec.c: Likewise.
50723         * posix/tst-rfc3484-2.c: Likewise.
50724         * posix/tst-rfc3484-3.c: Likewise.
50725         * posix/tst-rfc3484.c: Likewise.
50726         * resolv/nss_dns/dns-canon.c: Likewise.
50727         * resolv/nss_dns/dns-network.c: Likewise.
50728         * resolv/res_init.c: Likewise.
50729         * resolv/res_mkquery.c: Likewise.
50730         * resolv/tst-aton.c: Likewise.
50731         * stdlib/cxa_atexit.c: Likewise.
50732         * stdlib/cxa_finalize.c: Likewise.
50733         * stdlib/gen-fpioconst.c: Likewise.
50734         * stdlib/strtol_l.c: Likewise.
50735         * string/tst-endian.c: Likewise.
50736         * sunrpc/auth_des.c: Likewise.
50737         * sunrpc/clnt_udp.c: Likewise.
50738         * sunrpc/rtime.c: Likewise.
50739         * sunrpc/svcauth_des.c: Likewise.
50740         * sunrpc/xdr.c: Likewise.
50741         * sunrpc/xdr_intXX_t.c: Likewise.
50742         * sunrpc/xdr_rec.c: Likewise.
50743         * sysdeps/generic/ldconfig.h: Likewise.
50744         * sysdeps/generic/ldsodefs.h: Likewise.
50745         * sysdeps/generic/memusage.h: Likewise.
50746         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50747         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50748         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50749         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50753         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50754         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50756         * sysdeps/posix/getaddrinfo.c: Likewise.
50757         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50758         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50759         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50760         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50761         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50762         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50763         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50764         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50765         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50766         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50767         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50768         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50769         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50770         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50771         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50772         * sysdeps/x86_64/dl-tls.h: Likewise.
50773         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50774         * time/alt_digit.c: Likewise.
50775         * time/era.c: Likewise.
50776         * wcsmbs/tst-c16c32-1.c: Likewise.
50778 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50780         * math/libm-test.inc (struct test_sincos_data): New type.
50781         (RUN_TEST_LOOP_sincos): New macro.
50782         (sincos_test_data): New variable.
50783         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50785 2013-05-16  Richard Henderson  <rth@redhat.com>
50787         * math/atest-exp2.c (LIMB64): New macro.
50788         (CONSTSZ): New macro.
50789         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50790         (hexdig): Move ...
50791         (print_mpn_fp): ... to function scope.
50792         (read_mpn_hex): Remove.
50793         (get_log2): Remove.
50794         (exp2_mpn): Use mp_log2.
50795         (main): Use mp_exp1.
50797 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50799         * math/libm-test.inc: Remove comment about not testing "inexact"
50800         exceptions.
50801         (INEXACT_EXCEPTION): New macro.
50802         (NO_INEXACT_EXCEPTION): Likewise.
50803         (INVALID_EXCEPTION_OK): Update value.
50804         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50805         (OVERFLOW_EXCEPTION_OK): Likewise.
50806         (UNDERFLOW_EXCEPTION_OK): Likewise.
50807         (IGNORE_ZERO_INF_SIGN): Likewise.
50808         (ERRNO_UNCHANGED): Likewise.
50809         (ERRNO_EDOM): Likewise.
50810         (ERRNO_ERANGE): Likewise.
50811         (test_exceptions): Handle testing "inexact" exceptions.
50812         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50813         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50814         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50815         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50816         INEXACT_EXCEPTION.
50817         (rint_towardzero_test_data): Likewise.
50818         (rint_downward_test_data): Likewise.
50819         (rint_upward_test_data): Likewise.
50821         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50822         with OVERFLOW_EXCEPTION.
50823         (exp10_test_data): Likewise.
50824         (exp2_test_data): Likewise.
50825         (expm1_test_data): Likewise.
50826         (lgamma_test_data): Likewise.
50827         (pow_test_data): Likewise.
50828         (tgamma_test_data): Likewise.
50829         (yn_test_data): Remove duplicate test of overflow.
50831         * math/libm-test.inc (struct test_cc_c_data): New type.
50832         (RUN_TEST_LOOP_cc_c): New macro.
50833         (cpow_test_data): New variable.
50834         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50836         * math/libm-test.inc (struct test_f_L_data): New type.
50837         (RUN_TEST_LOOP_f_L): New macro.
50838         (llrint_test_data): New variable.
50839         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50840         (llrint_tonearest_test_data): New variable.
50841         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50842         (llrint_towardzero_test_data): New variable.
50843         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50844         (llrint_downward_test_data): New variable.
50845         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50846         (llrint_upward_test_data): New variable.
50847         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50848         (llround_test_data): New variable.
50849         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50851 2013-05-13  Peter Collingbourne  <pcc@google.com>
50853         * math/atest-exp2.c (get_log2): Remove const attribute.
50855 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50857         * math/libm-test.inc (struct test_f_l_data): New type.
50858         (RUN_TEST_LOOP_f_l): New macro.
50859         (lrint_test_data): New variable.
50860         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50861         (lrint_tonearest_test_data): New variable.
50862         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50863         (lrint_towardzero_test_data): New variable.
50864         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50865         (lrint_downward_test_data): New variable.
50866         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50867         (lrint_upward_test_data): New variable.
50868         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50869         (lround_test_data): New variable.
50870         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50872 2013-05-15  Peter Collingbourne  <pcc@google.com>
50874         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50875         (EXTRACT_WORDS64) Use where appropriate.
50876         (INSERT_WORDS64) Likewise.
50878         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50879         constraints with x constraints.
50880         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50882         * malloc/obstack.c (_obstack_compat): Add initializer.
50884 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50886         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50887         si_trapno and add si_addr_lsb to _sifields.sigfault.
50888         (si_trapno): Remove macro.
50889         (si_addr_lsb): Define new macro.
50890         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50892 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50894         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50895         instead of TEST_f_l.
50896         (llrint_test_tonearest): Likewise.
50897         (llrint_test_towardzero): Likewise.
50898         (llrint_test_downward): Likewise.
50899         (llrint_test_upward): Likewise.
50900         (llround_test): Likewise.
50902         * math/libm-test.inc (struct test_f_i_data): Add comment.
50903         (RUN_TEST_LOOP_f_b): New macro.
50904         (RUN_TEST_LOOP_f_b_tg): Likewise.
50905         (finite_test_data): New variable.
50906         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50907         (isfinite_test_data): New variable.
50908         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50909         (isinf_test_data): New variable.
50910         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50911         (isnan_test_data): New variable.
50912         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50913         (isnormal_test_data): New variable.
50914         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50915         (issignaling_test_data): New variable.
50916         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50917         (signbit_test_data): New variable.
50918         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50920         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50921         with INVALID_EXCEPTION.
50922         (acosh_test_data): Likewise.
50923         (asin_test_data): Likewise.
50924         (atanh_test_data): Likewise.
50925         (fmod_test_data): Likewise.
50926         (log_test_data): Likewise.
50927         (log10_test_data): Likewise.
50928         (log2_test_data): Likewise.
50929         (pow_test_data): Likewise.
50930         (sqrt_test_data): Likewise.
50931         (y0_test_data): Likewise.
50932         (y1_test_data): Likewise.
50933         (yn_test_data): Likewise.
50935         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50936         function contents.
50938         * math/libm-test.inc (struct test_ff_i_data): New type.
50939         (RUN_TEST_LOOP_ff_i_tg): New macro.
50940         (isgreater_test_data): New variable.
50941         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50942         (isgreaterequal_test_data): New variable.
50943         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50944         (isless_test_data): New variable.
50945         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50946         (islessequal_test_data): New variable.
50947         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50948         (islessgreater_test_data): New variable.
50949         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50950         (isunordered_test_data): New variable.
50951         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50953 2013-05-14  David S. Miller  <davem@davemloft.net>
50955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50957 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50959         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50961         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50962         extra_test to int.
50963         (struct test_f_i_data): Change type of max_ulp to int.
50965         * math/libm-test.inc (test_ffI_f1_data): New type.
50966         (RUN_TEST_LOOP_ffI_f1): New macro.
50967         (remquo_test_data): New variable.
50968         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50970         * setjmp/tst-setjmp-fp.c: New file.
50971         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50972         (link-libm): New variable.
50973         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50975         * math/libm-test.inc (struct test_f_i_data): New type.
50976         (RUN_TEST_LOOP_f_i): New macro.
50977         (RUN_TEST_LOOP_f_i_tg): Likewise.
50978         (fpclassify_test_data): New variable.
50979         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50980         (ilogb_test_data): New variable.
50981         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50983         * math/libm-test.inc (scalbln_test): Correct function name in END
50984         call.
50986         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50987         (RUN_TEST_LOOP_fI_f1): New macro.
50988         (frexp_test_data): New variable.
50989         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50991         * math/libm-test.inc (struct test_fF_f1_data): New type.
50992         (RUN_TEST_LOOP_fF_f1): New macro.
50993         (modf_test_data): New variable.
50994         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50996         * math/libm-test.inc (struct test_f_f1_data): New type.
50997         (RUN_TEST_LOOP_f_f1): New macro.
50998         (gamma_test_data): New variable.
50999         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51000         (lgamma_test_data): New variable.
51001         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51003 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51005         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51006         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51007         (main): Comment "tls" pseudo-hwcap.
51009 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51011         * math/libm-test.inc (struct test_fl_f_data): New type.
51012         (RUN_TEST_LOOP_fl_f): New variable.
51013         (scalbln_test_data): New variable.
51014         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51016         * math/libm-test.inc (struct test_fi_f_data): New type.
51017         (RUN_TEST_LOOP_fi_f): New macro.
51018         (ldexp_test_data): New variable.
51019         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51020         (scalbn_test_data): New variable.
51021         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51023         * math/libm-test.inc (struct test_c_f_data): New type.
51024         (RUN_TEST_LOOP_c_f): New macro.
51025         (cabs_test_data): New variable.
51026         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51027         (carg_test_data): New variable.
51028         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51029         (cimag_test_data): New variable.
51030         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51031         (creal_test_data): New variable.
51032         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51034         * math/libm-test.inc (struct test_if_f_data): New type.
51035         (RUN_TEST_LOOP_if_f): New macro.
51036         (jn_test_data): New variable.
51037         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51038         (yn_test_data): New variable.
51039         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51041         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51043 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51045         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51046         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51048 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51050         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51051         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51052         (bench-deps): Add bench-timing.h.
51053         * benchtests-bench-skeleton.c: Include bench-timing.h.
51054         (main): Use TIMING_* macros instead of clock_gettime.
51055         * benchtests/bench-timing.h: New file.
51057         [BZ #14582]
51058         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51059         Renamed from _LIB_VERSION.
51060         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51062 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51064         * math/libm-test.inc (struct test_fff_f_data): New type.
51065         (RUN_TEST_LOOP_fff_f): New macro.
51066         (fma_test_data): New variable.
51067         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51068         (fma_towardzero_test_data): New variable.
51069         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51070         (fma_downward_test_data): New variable.
51071         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51072         (fma_upward_test_data): New variable.
51073         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51075         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51076         (struct test_c_c_data): New type.
51077         (RUN_TEST_LOOP_c_c): New macro.
51078         (cacos_test_data): New variable.
51079         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51080         (cacosh_test_data): New variable.
51081         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51082         (casin_test_data): New variable.
51083         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51084         (casinh_test_data): New variable.
51085         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51086         (catan_test_data): New variable.
51087         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51088         (catanh_test_data): New variable.
51089         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51090         (ccos_test_data): New variable.
51091         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51092         (ccosh_test_data): New variable.
51093         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51094         (cexp_test_data): New variable.
51095         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51096         (clog_test_data): New variable.
51097         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51098         (clog10_test_data): New variable.
51099         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51100         (conj_test_data): New variable.
51101         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51102         (cproj_test_data): New variable.
51103         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51104         (csin_test_data): New variable.
51105         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51106         (csinh_test_data): New variable.
51107         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51108         (csqrt_test_data): New variable.
51109         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51110         (ctan_test_data): New variable.
51111         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51112         (ctan_tonearest_test_data): New variable.
51113         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51114         (ctan_towardzero_test_data): New variable.
51115         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51116         (ctan_downward_test_data): New variable.
51117         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51118         (ctan_upward_test_data): New variable.
51119         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51120         (ctanh_test_data): New variable.
51121         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51122         (ctanh_tonearest_test_data): New variable.
51123         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51124         (ctanh_towardzero_test_data): New variable.
51125         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51126         (ctanh_downward_test_data): New variable.
51127         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51128         (ctanh_upward_test_data): New variable.
51129         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51130         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51131         of BUILD_COMPLEX.
51133         * math/libm-test.inc (struct test_ff_f_data): New type.
51134         (struct test_ff_f_data_nexttoward): Likewise.
51135         (RUN_TEST_LOOP_2_f): New macro.
51136         (RUN_TEST_LOOP_ff_f): Likewise.
51137         (atan2_test_data): New variable.
51138         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51139         (copysign_test_data): New variable.
51140         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51141         (fdim_test_data): New variable.
51142         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51143         (fmax_test_data): New variable.
51144         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51145         (fmin_test_data): New variable.
51146         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51147         (fmod_test_data): New variable.
51148         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51149         (hypot_test_data): New variable.
51150         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51151         (nextafter_test_data): New variable.
51152         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51153         (nexttoward_test_data): New variable.
51154         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51155         (pow_test_data): New variable.
51156         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51157         (pow_tonearest_test_data): New variable.
51158         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51159         (pow_towardzero_test_data): New variable.
51160         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51161         (pow_downward_test_data): New variable.
51162         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51163         (pow_upward_test_data): New variable.
51164         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51165         (remainder_test_data): New variable.
51166         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51167         (scalb_test_data): New variable.
51168         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51169         * sysdeps/i386/fpu/libm-test-ulps: Update.
51171 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51173         * math/libm-test.inc (fma_test): Use max_value instead of local
51174         variable fltmax.
51175         (nextafter_test): Likewise.
51177         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51178         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51179         (acos_downward_test_data): New variable.
51180         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51181         (acos_upward_test_data): New variable.
51182         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51183         (acosh_test_data): New variable.
51184         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51185         (asin_test_data): New variable.
51186         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51187         (asin_tonearest_test_data): New variable.
51188         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51189         (asin_towardzero_test_data): New variable.
51190         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51191         (asin_downward_test_data): New variable.
51192         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51193         (asin_upward_test_data): New variable.
51194         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51195         (asinh_test_data): New variable.
51196         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51197         (atan_test_data): New variable.
51198         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51199         (atanh_test_data): New variable.
51200         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51201         (cbrt_test_data): New variable.
51202         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51203         (ceil_test_data): New variable.
51204         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51205         (cos_test_data): New variable.
51206         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51207         (cos_tonearest_test_data): New variable.
51208         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51209         (cos_towardzero_test_data): New variable.
51210         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51211         (cos_downward_test_data): New variable.
51212         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51213         (cos_upward_test_data): New variable.
51214         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51215         (cosh_test_data): New variable.
51216         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51217         (cosh_tonearest_test_data): New variable.
51218         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51219         (cosh_towardzero_test_data): New variable.
51220         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51221         (cosh_downward_test_data): New variable.
51222         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51223         (cosh_upward_test_data): New variable.
51224         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51225         (erf_test_data): New variable.
51226         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51227         (erfc_test_data): New variable.
51228         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51229         (exp_test_data): New variable.
51230         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51231         (exp_tonearest_test_data): New variable.
51232         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51233         (exp_towardzero_test_data): New variable.
51234         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51235         (exp_downward_test_data): New variable.
51236         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51237         (exp_upward_test_data): New variable.
51238         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51239         (exp10_test_data): New variable.
51240         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51241         (exp2_test_data): New variable.
51242         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51243         (expm1_test_data): New variable.
51244         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51245         (fabs_test_data): New variable.
51246         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51247         (floor_test_data): New variable.
51248         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51249         (j0_test_data): New variable.
51250         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51251         (j1_test_data): New variable.
51252         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51253         (log_test_data): New variable.
51254         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51255         (log10_test_data): New variable.
51256         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51257         (log1p_test_data): New variable.
51258         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51259         (log2_test_data): New variable.
51260         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51261         (logb_test_data): New variable.
51262         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51263         (logb_downward_test_data): New variable.
51264         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51265         (nearbyint_test_data): New variable.
51266         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51267         (rint_test_data): New variable.
51268         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51269         (rint_tonearest_test_data): New variable.
51270         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51271         (rint_towardzero_test_data): New variable.
51272         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51273         (rint_downward_test_data): New variable.
51274         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51275         (rint_upward_test_data): New variable.
51276         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51277         (round_test_data): New variable.
51278         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51279         (sin_test_data): New variable.
51280         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51281         (sin_tonearest_test_data): New variable.
51282         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51283         (sin_towardzero_test_data): New variable.
51284         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51285         (sin_downward_test_data): New variable.
51286         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51287         (sin_upward_test_data): New variable.
51288         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51289         (sinh_test_data): New variable.
51290         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51291         (sinh_tonearest_test_data): New variable.
51292         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51293         (sinh_towardzero_test_data): New variable.
51294         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51295         (sinh_downward_test_data): New variable.
51296         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51297         (sinh_upward_test_data): New variable.
51298         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51299         (sqrt_test_data): New variable.
51300         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51301         (tan_test_data): New variable.
51302         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51303         (tan_tonearest_test_data): New variable.
51304         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51305         (tan_towardzero_test_data): New variable.
51306         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51307         (tan_downward_test_data): New variable.
51308         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51309         (tan_upward_test_data): New variable.
51310         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51311         (tanh_test_data): New variable.
51312         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51313         (tgamma_test_data): New variable.
51314         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51315         (trunc_test_data): New variable.
51316         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51317         (y0_test_data): New variable.
51318         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51319         (y1_test_data): New variable.
51320         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51321         (significand_test_data): New variable.
51322         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51324 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51326         [BZ #12387]
51327         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51329 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51331         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51333 2013-05-10  Andreas Jaeger  <aj@suse.de>
51335         [BZ #15448]
51336         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51337         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51339 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51341         * math/gen-libm-test.pl (adjust_arg): New function.
51342         (special_functions): Handle generating output in both functions
51343         and arrays.
51344         (parse_args): Likewise.
51345         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51346         $in_func argument to parse_args.
51347         * math/libm-test.inc (struct test_f_f_data): New type.
51348         (IF_ROUND_INIT_): New macro.
51349         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51350         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51351         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51352         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51353         (ROUND_RESTORE_): Likewise.
51354         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51355         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51356         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51357         (ROUND_RESTORE_FE_UPWARD): Likewise.
51358         (RUN_TEST_LOOP_f_f): New macro.
51359         (acos_test_data): New variable.
51360         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51361         (acos_tonearest_test_data): New variable.
51362         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51364 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51366         * benchtests/bench-skeleton.c (startup): Fix coding style.
51368 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51370         [BZ #6809]
51371         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51372         negative infinity argument.
51373         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51374         negative infinity argument.
51375         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51376         negative infinity argument.
51377         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51378         domain errors.
51380 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51382         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51383         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51384         * iconv/iconv_prog.c (main): Likewise.
51385         * locale/programs/charmap-dir.c (charmap_readdir)
51386         (fopen_uncompressed): Likewise.
51387         * locale/programs/locfile.c (siblings_uncached)
51388         (write_locale_data): Use lstat64 instead of lstat.
51389         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51390         stat.
51392 2013-05-10  Andreas Jaeger  <aj@suse.de>
51394         [BZ #15395]
51395         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51396         localization.
51397         Include <locale.h>.
51399 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51401         * elf/dl-close.c (_dl_close_worker): Add comments.
51403 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51405         [BZ #15359]
51406         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51407         high part of pi/2.
51408         (__ieee754_rem_pio2l): Update comments.
51410         [BZ #15429]
51411         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51412         high part of pi/2.
51413         (__ieee754_rem_pio2l): Update comments.
51415         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51416         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51418         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51419         M_PI_4l.
51421         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51422         (M_PI_34_LOG10El): Likewise.
51423         (M_PI2_LOG10El): Likewise.
51424         (M_PI4_LOG10El): Likewise.
51425         (M_PI_LOG10El): Likewise.
51427 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51431 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51433         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51434         (MINUS_ZERO_INIT): Likewise.
51435         (PLUS_INFTY_INIT): Likewise.
51436         (MINUS_INFTY_INIT): Likewise.
51437         (QNAN_VALUE_INIT): Likewise.
51438         (MAX_VALUE_INIT): Likewise.
51439         (MIN_VALUE_INIT): Likewise.
51440         (MIN_SUBNORM_VALUE_INIT): Likewise.
51441         (plus_zero): Initialize with PLUS_ZERO_INIT.
51442         (minus_zero): Initialize with MINUS_ZERO_INIT.
51443         (plus_infty): Initialize with PLUS_INFTY_INIT.
51444         (minus_infty): Initialize with MINUS_INFTY_INIT.
51445         (qnan_value): Initialize with QNAN_VALUE_INIT.
51446         (max_value): Initialize with MAX_VALUE_INIT.
51447         (min_value): Initialize with MIN_VALUE_INIT.
51448         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51450         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51451         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51452         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51453         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51455         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51456         (RUN_TEST_2_f): Likewise.
51457         (RUN_TEST_ff_f): Likewise.
51458         (RUN_TEST_fi_f): Likewise.
51459         (RUN_TEST_fl_f): Likewise.
51460         (RUN_TEST_fff_f): Likewise.
51461         (RUN_TEST_c_f): Likewise.
51462         (RUN_TEST_f_f1): Likewise.
51463         (RUN_TEST_fF_f1): Likewise.
51464         (RUN_TEST_fI_f1): Likewise.
51465         (RUN_TEST_ffI_f1): Likewise.
51466         (RUN_TEST_c_c): Likewise.
51467         (RUN_TEST_cc_c): Likewise.
51468         (RUN_TEST_f_i): Likewise.
51469         (RUN_TEST_f_i_tg): Likewise.
51470         (RUN_TEST_ff_i_tg): Likewise.
51471         (RUN_TEST_f_b): Likewise.
51472         (RUN_TEST_f_b_tg): Likewise.
51473         (RUN_TEST_f_l): Likewise.
51474         (RUN_TEST_f_L): Likewise.
51475         (RUN_TEST_sincos): Likewise.
51476         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51477         whether to show exceptions.  Do not include ");\n" in return
51478         value.
51479         (special_functions): Output call to RUN_TEST_sincos instead of
51480         check_float calls.  Update calls to new_test.
51481         (parse_args): Output call to single RUN_TEST_* macro instead of
51482         check_* calls and other assignments.  Update calls to new_test.
51484         [BZ #2546]
51485         [BZ #2560]
51486         [BZ #5159]
51487         [BZ #15426]
51488         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51489         input to result for tgamma overflow.
51490         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51491         (gamma_coeff): New variable.
51492         (NCOEFF): New macro.
51493         (gamma_positive): New function.
51494         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51495         underflow here.  Use gamma_positive instead of exp (lgamma) for
51496         other arguments.
51497         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51498         (gamma_coeff): New variable.
51499         (NCOEFF): New macro.
51500         (gammaf_positive): New function.
51501         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51502         underflow here.  Use gamma_positive instead of exp (lgamma) for
51503         other arguments.
51504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51505         (gamma_coeff): New variable.
51506         (NCOEFF): New macro.
51507         (gammal_positive): New function.
51508         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51509         underflow here.  Use gamma_positive instead of exp (lgamma) for
51510         other arguments.
51511         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51512         (gamma_coeff): New variable.
51513         (NCOEFF): New macro.
51514         (gammal_positive): New function.
51515         (__ieee754_gammal_r): Handle positive infinity, overflow and
51516         underflow here.  Handle NaN the same as positive infinity.  Remove
51517         check x < 0xffffffff for negative integers.  Use gamma_positive
51518         instead of exp (lgamma) for other arguments.
51519         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51520         (gamma_coeff): New variable.
51521         (NCOEFF): New macro.
51522         (gammal_positive): New function.
51523         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51524         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51525         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51526         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51527         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51528         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51529         * sysdeps/generic/math_private.h (__gamma_productf): New
51530         prototype.
51531         (__gamma_product): Likewise.
51532         (__gamma_productl): Likewise.
51533         * math/Makefile (libm-calls): Add gamma_product.
51534         * math/libm-test.inc (tgamma_test): Add more tests.
51535         * sysdeps/i386/fpu/libm-test-ulps: Update.
51536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51538 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51540         * benchtests/bench-skeleton.c (main): Preheat CPU.
51542 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51544         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51546 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51548         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51549         and _dl_skip_args_internal.
51551 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51553         * manual/message.texi (Message Translation): Talk about users.
51554         Message to key mapping impacts design.
51556 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51558         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51560         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51562         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51563         * sysdeps/wordsize-64/glob64.c: ... here.
51565         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51566         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51567         New macros.
51569         * debug/getlogin_r_chk.c: Moved to ...
51570         * login/getlogin_r_chk.c: ... here.
51571         * debug/Makefile (routines): Move getlogin_r_chk to ...
51572         * login/Makefile (routines): ... here.
51573         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51574         * login/Versions (libc: GLIBC_2.4): ... here.
51576         * io/poll.c (__poll): Renamed from poll.
51577         Add libc_hidden_def.
51578         (poll): Define as weak alias.
51580         * debug/ptsname_r_chk.c: Moved to ...
51581         * login/ptsname_r_chk.c: ... here.
51582         * debug/Makefile (routines): Move ptsname_r_chk to ...
51583         * login/Makefile (routines): ... here.
51584         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51585         * login/Versions (libc: GLIBC_2.4): ... here.
51587         * posix/getlogin.c: Moved to ...
51588         * login/getlogin.c: ... here.
51589         * posix/getlogin_r.c: Moved to ...
51590         * login/getlogin_r.c: ... here.
51591         * posix/getlogin_r.c: Moved to ...
51592         * login/getlogin_r.c: ... here.
51593         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51594         * login/Makefile (routines): ... here.
51595         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51596         * login/Versions (libc: GLIBC_2.0): ... here.
51598         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51599         (setrlimit): Define as weak alias.
51601         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51602         Call __ names for open, ftruncate, and close.
51603         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51604         (truncate): Define as weak alias.
51606 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51608         * math/gen-libm-test.pl (parse_args): Initialize x before each
51609         test of frexp, modf and remquo.
51611         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51612         test signgam value.
51614 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51616         [BZ #15418]
51617         [BZ #15419]
51618         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51619         internal tests.
51620         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51622 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51624         * elf/dl-writev.h: New file.
51625         * elf/dl-misc.c: Include it.
51626         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51627         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51629 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51631         * math/libm-test.inc (noXFails): Remove variable.
51632         (noXPasses): Likewise.
51633         (BUILD_COMPLEX_INT): Remove macro.
51634         (print_screen): Remove xfail argument.
51635         (print_screen_max_error): Likewise.
51636         (update_stats): Likewise.
51637         (print_max_error): Likewise.  Update calls to other affected
51638         functions.
51639         (print_complex_max_error): Likewise.
51640         (test_single_exception): Update calls to print_screen.
51641         (test_single_errno): Likewise.
51642         (check_float_internal): Remove xfail argument.  Update calls to
51643         other affected functions.
51644         (check_float): Likewise.
51645         (check_complex): Likewise.
51646         (check_int): Likewise.
51647         (check_long): Likewise.
51648         (check_bool): Likewise.
51649         (check_longlong): Likewise.
51650         (main): Don't print noXFails and noXPasses.
51651         * math/gen-libm-test.pl (top level): Don't mention expected
51652         failure handling in comment.
51653         (new_test): Don't handle expected failures.
51654         (parse_args): Don't mention expected failure handling in comment.
51655         (generate_testfile): Don't handle expected failures.
51656         (parse_ulps): Likewise.
51657         (print_ulps_file): Likewise.
51658         (get_failure): Remove function.
51659         (output_test): Don't handle expected failures.
51660         * make/README.libm-test: Don't mention expected failure handling.
51662         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51663         (minus_zero): Likewise.
51664         (plus_infty): Likewise.
51665         (minus_infty): Likewise.
51666         (qnan_value): Likewise.
51667         (max_value): Likewise.
51668         (min_value): Likewise.
51669         (min_subnorm_value): Likewise.
51670         (initialize): Do not initialize those variables dynamically.
51672 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51674         * io/open.c (__open_2): Moved to ...
51675         * io/open_2.c: ... this new file.
51676         * io/open64.c (__open64_2): Moved to ...
51677         * io/open64_2.c: ... this new file.
51678         * io/openat.c (__openat_2): Moved to ...
51679         * io/openat_2.c: ... this new file.
51680         * io/openat64.c (__openat64_2): Moved to ...
51681         * io/openat64_2.c: ... this new file.
51682         * io/Makefile (routines): Add them.
51683         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51684         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51685         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51686         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51687         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51688         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51689         (__openat64): Add hidden_ver.
51690         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51691         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51693         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51694         Separately conditionalize setting of GLRO(dl_sysinfo) so
51695         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51696         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51698 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51700         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51701         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51702         definition.
51703         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51704         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51705         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51706         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51707         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51709 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51711         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51712         test signgam value.
51714         * math/libm-test.inc (hypot_test): Do not use
51715         IGNORE_ZERO_INF_SIGN.
51717 2013-05-03  Andreas Jaeger  <aj@suse.de>
51719         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51720         Linux 3.9.
51721         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51722         (PF_MAX): Adjust for VSOCK change.
51724 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51728 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51730         [BZ #15264]
51731         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51732         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51733         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51735 2013-05-02  David S. Miller  <davem@davemloft.net>
51737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51739 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51741         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51743 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51745         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51747 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51749         [BZ #14952]
51750         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51751         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51752         Use __attribute__ ((__gnu_inline__)).
51753         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51754         Don't use __attribute__ ((__gnu_inline__)).
51756 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51758         [BZ #15423]
51759         * math/s_catan.c (__catan): Handle small real or imaginary part of
51760         input specially to avoid spurious underflow.
51761         * math/s_catanf.c (__catanf): Likewise.
51762         * math/s_catanh.c (__catanh): Likewise.
51763         * math/s_catanhf.c (__catanhf): Likewise.
51764         * math/s_catanhl.c (__catanhl): Likewise.
51765         * math/s_catanl.c (__catanl): Likewise.
51766         * math/libm-test.inc (catan_test): Add more tests.
51767         (catanh_test): Likewise.
51768         * sysdeps/i386/fpu/libm-test-ulps: Update.
51769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51771 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51775 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51777         [BZ #15416]
51778         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51779         accurately for denominator in atan2.
51780         * math/s_catanf.c (__catanf): Likewise.
51781         * math/s_catanh.c (__catanh): Likewise.
51782         * math/s_catanhf.c (__catanhf): Likewise.
51783         * math/s_catanhl.c (__catanhl): Likewise.
51784         * math/s_catanl.c (__catanl): Likewise.
51785         * math/libm-test.inc (catan_test): Add more tests.
51786         (catanh_test): Likewise.
51787         * sysdeps/i386/fpu/libm-test-ulps: Update.
51788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51790 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51792         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51794         * benchtests/Makefile (bench): Remove slow benchmarks.
51795         * benchtests/atan-inputs: Add slow benchmark inputs.
51796         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51797         (BENCH_FUNC): Accept variant offset.
51798         (VARIANT): Define.
51799         * benchtests/bench-skeleton.c (main): Run benchmark for each
51800         variant.
51801         * benchtests/cos-inputs: Add slow benchmark inputs.
51802         * benchtests/exp-inputs: Likewise.
51803         * benchtests/pow-inputs: Likewise.
51804         * benchtests/sin-inputs: Likewise.
51805         * benchtests/slowatan-inputs: Remove.
51806         * benchtests/slowatan.c: Remove.
51807         * benchtests/slowcos-inputs: Remove.
51808         * benchtests/slowcos.c: Remove.
51809         * benchtests/slowexp-inputs: Remove.
51810         * benchtests/slowexp.c: Remove.
51811         * benchtests/slowpow-inputs: Remove.
51812         * benchtests/slowpow.c: Remove.
51813         * benchtests/slowsin-inputs: Remove.
51814         * benchtests/slowsin.c: Remove.
51815         * benchtests/slowtan-inputs: Remove.
51816         * benchtests/slowtan.c: Remove.
51817         * benchtests/tan-inputs: Add slow benchmark inputs.
51818         * scripts/bench.pl: Parse comments and directives.
51820         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51821         in CPPFLAGS.
51822         ($(objpfx)bench-%.c): Remove *-ITER.
51823         * benchtests/bench-modf.c: Remove definition of ITER.
51824         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51825         (main): Loop for DURATION seconds instead of fixed number of
51826         iterations.
51827         * scripts/bench.pl: Don't expect iterations in parameters.
51829 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51831         * io/fchdir.c (__fchdir): Renamed from fchdir.
51832         (fchdir): Define as weak alias.
51834 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51836         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51837         (ERRNO_EDOM): Likewise.
51838         (ERRNO_ERANGE): Likewise.
51839         (noErrnoTests): New variable.
51840         (init_max_error): Set errno to 0.
51841         (test_single_errno): New function.
51842         (test_errno): Likewise.
51843         (check_float_internal): Call test_errno.  Set errno to 0.
51844         (check_complex): Refer to errno tests in comment.
51845         (check_int): Call test_errno.  Set errno to 0.
51846         (check_long): Likewise.
51847         (check_bool): Likewise.
51848         (check_longlong): Likewise.
51849         (cos_test): Use ERRNO_* flags for errno tests instead of
51850         check_int.
51851         (expm1_test): Likewise.
51852         (fmod_test): Likewise.
51853         (ilogb_test): Likewise.
51854         (lgamma_test): Likewise.
51855         (pow_test): Likewise.
51856         (remainder_test): Likewise.
51857         (sin_test): Likewise.
51858         (tan_test): Likewise.
51859         (yn_test): Likewise.
51860         (initialize): Set errno to 0.
51861         (main): Print number of errno tests.
51862         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51864 2013-04-29  Andreas Jaeger  <aj@suse.de>
51866         [BZ #15084]
51867         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51868         and RES_USEVC.
51870         [BZ #15085]
51871         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51872         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51873         unimplemented.
51875         [BZ #15380]
51876         * stdlib/random.c (__initstate): Return NULL if
51877         __initstate fails.
51879         [BZ #15086]
51880         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51881         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51882         RES_SNGLKUPREOP.
51884 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51888 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51890         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51891         of individual tests.
51892         (casin_test): Likewise.
51893         (casinh_test): Likewise.
51895 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51897         [BZ #15409]
51898         * math/s_catan.c (__catan): Handle arguments with large real or
51899         imaginary part separately without squaring.
51900         * math/s_catanf.c (__catanf): Likewise.
51901         * math/s_catanh.c (__catanh): Likewise.
51902         * math/s_catanhf.c (__catanhf): Likewise.
51903         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51904         and redefine.
51905         (__catanhl): Handle arguments with large real or imaginary part
51906         separately without squaring.
51907         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51908         and redefine.
51909         (__catanl): Handle arguments with large real or imaginary part
51910         separately without squaring.
51911         * math/libm-test.inc (catan_test): Add more tests.
51912         (catanh_test): Likewise.
51913         * sysdeps/i386/fpu/libm-test-ulps: Update.
51914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51916 2013-04-27  Andreas Jaeger  <aj@suse.de>
51918         [BZ #15007]
51919         * stdlib/stdlib.h: Update guards for qecvt.
51920         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51921         <stdlib.h>.
51923 2013-04-27  Allan McRae  <allan@archlinux.org>
51925         * sysdeps/i386/fpu/libm-test-ulps: Update.
51927 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51929         [BZ #15406]
51930         * math/s_catan.c: Include <float.h>.
51931         (__catan): Ensure underflow exception occurs for underflowed
51932         result.
51933         * math/s_catanf.c: Include <float.h>.
51934         (__catanf): Ensure underflow exception occurs for underflowed
51935         result.
51936         * math/s_catanh.c: Include <float.h>.
51937         (__catanh): Ensure underflow exception occurs for underflowed
51938         result.
51939         * math/s_catanhf.c: Include <float.h>.
51940         (__catanhf): Ensure underflow exception occurs for underflowed
51941         result.
51942         * math/s_catanhl.c: Include <float.h>.
51943         (__catanhl): Ensure underflow exception occurs for underflowed
51944         result.
51945         * math/s_catanl.c: Include <float.h>.
51946         (__catanl): Ensure underflow exception occurs for underflowed
51947         result.
51948         * math/libm-test.inc (catan_test): Add more tests.
51949         (catanh_test): Likewise.
51951         [BZ #15405]
51952         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51953         underflowed result.
51954         * math/s_ccoshf.c (__ccoshf): Likewise.
51955         * math/s_ccoshl.c (__ccoshl): Likewise.
51956         * math/s_csin.c (__csin): Likewise.
51957         * math/s_csinf.c (__csinf): Likewise.
51958         * math/s_csinh.c (__csinh): Likewise.
51959         * math/s_csinhf.c (__csinhf): Likewise.
51960         * math/s_csinhl.c (__csinhl): Likewise.
51961         * math/s_csinl.c (__csinl): Likewise.
51962         * math/libm-test.inc (ccos_test): Add more tests.
51963         (ccosh_test): Likewise.
51964         (csin_test): Likewise.
51965         (csinh_test): Likewise.
51967 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51969         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51970         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51971         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51972         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51973         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51974         powerpc/power5+/fpu folders.
51975         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51978 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51982 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51984         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51985         additions to variable.
51986         [$(config-machine) = x86_64] (modules-names): Likewise.
51987         ($(objpfx)tst-audit3): Remove dependency.
51988         ($(objpfx)tst-audit3.out): Likewise.
51989         ($(objpfx)tst-audit4): Likewise.
51990         ($(objpfx)tst-audit4.out): Likewise.
51991         ($(objpfx)tst-audit5): Likewise.
51992         ($(objpfx)tst-audit5.out): Likewise.
51993         ($(objpfx)tst-audit6): Likewise.
51994         ($(objpfx)tst-audit6.out): Likewise.
51995         ($(objpfx)tst-audit7): Likewise.
51996         ($(objpfx)tst-audit7.out): Likewise.
51997         (tst-audit3-ENV): Remove variable.
51998         (tst-audit4-ENV): Likewise.
51999         (tst-audit5-ENV): Likewise.
52000         (tst-audit6-ENV): Likewise.
52001         (tst-audit7-ENV): Likewise.
52002         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52003         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52004         addition to variable.
52005         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52006         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52007         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52008         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52009         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52010         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52011         tst-audit3, tst-audit4 and tst-audit5.
52012         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52013         tst-audit6 and tst-audit7.
52014         [$(subdir) = elf] (modules-names): Add audit modules for those
52015         tests.
52016         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52017         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52018         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52019         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52020         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52021         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52022         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52023         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52024         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52025         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52026         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52027         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52028         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52029         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52030         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52031         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52032         Likewise.
52033         [$(subdir) = elf && $(config-cflags-avx) = yes]
52034         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52035         [$(subdir) = elf && $(config-cflags-avx) = yes]
52036         (CFLAGS-tst-auditmod4a.c): Likewise.
52037         [$(subdir) = elf && $(config-cflags-avx) = yes]
52038         (CFLAGS-tst-auditmod4b.c): Likewise.
52039         [$(subdir) = elf && $(config-cflags-avx) = yes]
52040         (CFLAGS-tst-auditmod6b.c): Likewise.
52041         [$(subdir) = elf && $(config-cflags-avx) = yes]
52042         (CFLAGS-tst-auditmod6c.c): Likewise.
52043         [$(subdir) = elf && $(config-cflags-avx) = yes]
52044         (CFLAGS-tst-auditmod7b.c): Likewise.
52045         * elf/tst-audit3.c: Move to ...
52046         * sysdeps/x86_64/tst-audit3.c: ... here.
52047         * elf/tst-audit4.c: Move to ...
52048         * sysdeps/x86_64/tst-audit4.c: ... here.
52049         * elf/tst-audit5.c: Move to ...
52050         * sysdeps/x86_64/tst-audit5.c: ... here.
52051         * elf/tst-audit6.c: Move to ...
52052         * sysdeps/x86_64/tst-audit6.c: ... here.
52053         * elf/tst-audit7.c: Move to ...
52054         * sysdeps/x86_64/tst-audit7.c: ... here.
52055         * elf/tst-auditmod3a.c: Move to ...
52056         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52057         * elf/tst-auditmod3b.c: Move to ...
52058         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52059         * elf/tst-auditmod4a.c: Move to ...
52060         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52061         * elf/tst-auditmod4b.c: Move to ...
52062         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52063         * elf/tst-auditmod5a.c: Move to ...
52064         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52065         * elf/tst-auditmod5b.c: Move to ...
52066         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52067         * elf/tst-auditmod6a.c: Move to ...
52068         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52069         * elf/tst-auditmod6b.c: Move to ...
52070         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52071         * elf/tst-auditmod6c.c: Move to ...
52072         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52073         * elf/tst-auditmod7a.c: Move to ...
52074         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52075         * elf/tst-auditmod7b.c: Move to ...
52076         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52078 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52080         [BZ #15366]
52081         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52082         define unconditionally.
52083         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52084         define unconditionally.
52085         (INT8_C, INT16_C, etc.): Likewise.
52087 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52089         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52090         __ehdr_start with hidden visibility.
52092         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52094 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52096         * math/libm-test.inc (cos_test): Use accurate hex constants.
52097         (sincost_test): Likewise.
52099 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52101         * math/libm-test.inc (catan_test): Add more tests.
52102         (catanh_test): Likewise.
52104         * math/s_catanf.c (__catanf): Use suffixed floating-point
52105         constants.
52106         * math/s_catanhf.c (__catanhf): Likewise.
52107         * math/s_catanhl.c (__catanhl): Likewise.
52108         * math/s_catanl.c (__catanl): Likewise.
52110         [BZ #15394]
52111         * math/s_catan.c (__catan): Calculate imaginary part of result
52112         with log1p not log unless computing log of number close to 0.
52113         * math/s_catanf.c (__catanf): Likewise.
52114         * math/s_catanl.c (__catanl): Likewise.
52115         * math/s_catanh.c (__catanh): Calculate real part of result with
52116         log1p not log unless computing log of number close to 0.
52117         * math/s_catanhf.c (__catanhf): Likewise.
52118         * math/s_catanhl.c (__catanhl): Likewise.
52119         * math/libm-test.inc (catan_test): Add more tests.
52120         (catanh_test): Likewise.
52121         * sysdeps/i386/fpu/libm-test-ulps: Update.
52122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52124 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52126         * benchtests/Makefile: Mention files in which fast and slow
52127         paths of math functions are implemented.
52129 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52131         * sysdeps/posix/timespec_get.c: New file.
52133 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52135         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52136         POWER.
52137         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52138         for POWER.
52139         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52140         powerpc/power5/fpu folders.
52141         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52142         * benchtests/Makefile: Add modf testcase.
52143         * benchtests/bench-modf.c: New file: Benchmark test for mo
52145 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52147         [BZ #14888]
52148         * time/Makefile (tests): Add tst-strptime-whitespace.
52149         * time/strptime_l.c (get_number): Use ISSPACE.
52150         (__strptime_internal): Likewise.
52151         * time/tst-strptime-whitespace.c: New test case.
52153 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52155         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52156         member.
52157         (_nss_files_init): Set it here.
52159 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52161         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52162         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52163         unsigned.
52165 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52167         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52169 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52171         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52172         size just once.
52174 2013-04-21  David S. Miller  <davem@davemloft.net>
52176         * po/ru.po: Update Russion translation from translation project.
52178 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52180         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52181         and setfsgid.
52183 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52185         * configure.in: Remove i386 configure warning. Remove i386 case.
52186         * configure: Regenerate.
52187         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52188         Add example to error message.
52189         * sysdeps/i386/configure: Regenerate.
52191 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52193         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52194         slowtan.
52195         * benchtests/cos-inputs: New file.
52196         * benchtests/slowcos-inputs: New file.
52197         * benchtests/slowcos.c: New file.
52198         * benchtests/slowtan-inputs: New file.
52199         * benchtests/slowtan.c: New file.
52200         * benchtests/tan-inputs: New file.
52202 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52204         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52205         considered kosher.
52207 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52209         * benchtests/Makefile: Include cppflags-iterator.mk to add
52210         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52212         * Makefile.in (bench-clean): New target.
52213         * benchtests/Makefile (bench-clean): Likewise.
52215 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52217         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52219 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52221         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52223 2013-04-15  Andreas Schwab  <schwab@suse.de>
52225         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52227         * nscd/pwdcache.c (cache_addpw): Likewise.
52228         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52229         more than recsize.
52231 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52233         * benchtests/Makefile (bench): Write all output to
52234         bench-out.tmp together.
52236 2013-04-15  Andreas Schwab  <schwab@suse.de>
52238         * nscd/nscd.c (main): Don't fork again after closing files.
52240 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52242         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52244         * benchtests/Rules (bench-deps): Collect dependencies into a
52245         single variable.  Add Makefile to dependencies.
52246         ($(objpfx)bench-%.c): Depend on bench-deps.
52248 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52249             Xavier Roche  <roche+kml2@exalead.com>
52251         [BZ #15361]
52252         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52253         just that it's a file descriptor.
52254         * manual/llio.texi (Synchronizing AIO Operations): Update description
52255         for EBADF error from aio_fsync.
52257 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52259         * Rules (bench): Move target definition...
52260         * benchtests/Makefile: ... here.
52262 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52264         * math/libm-test.inc (cos_test): Fix PI/2 test.
52265         (sincos_test): Likewise.
52266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52267         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52269 2013-04-11  Andreas Schwab  <schwab@suse.de>
52271         [BZ #13988]
52272         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52273         accept exponent character only when digits were seen.
52274         * stdio-common/Makefile (tests): Add bug26.
52275         * stdio-common/bug26.c: New file.
52277         [BZ #14293]
52278         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52279         non-freeable.
52281 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52283         * Makeconfig (rtld-prefix): Define built linker prefix.
52284         * Rules (run-bench): Use it.
52285         * math/Makefile (run-regen-ulps): Likewise.
52287         * Rules (bench): Remove eval.
52289 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52290             Roland McGrath  <roland@hack.frob.com>
52291             Ondrej Bilka  <neleai@seznam.cz>
52293         [BZ #15346]
52294         * time/getdate.c: Include ctype.h and alloca.h.
52295         (__getdate_r): Trim leading and trailing spaces of input.
52296         * time/tst-getdate.c (tests): Add tests with leading and
52297         trailing spaces.
52299 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52301         [BZ #14280]
52302         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52303         when computing value.
52305 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52307         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52308         Use testrun.sh to run libm tests.
52310         [BZ #15309]
52311         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52313 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52315         [BZ #15264]
52316         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52318 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52320         * Makefile.in (regen-ulps): New target.
52321         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52322         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52323         [ifneq (no,$(PERL)] (regen-ulps): New target.
52324         [ifeq (no,$(PERL)] (regen-ulps): New target.
52325         * math/libm-test.inc (ulps_file_name): Define.
52326         (output_dir): New variable.
52327         (options): Add "output-dir" option.
52328         (parse_opt): Handle 'o' case.
52329         (main): If output_dir is non-NULL use it as a prefix
52330         otherwise use "".
52331         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52333 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52335         [BZ #10060, #10062]
52336         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52337         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52338         fail configure if __sync_val_compare_and_swap is not inlined.
52339         * sysdeps/i386/configure: Regenerate.
52340         * configure.in: Build for i686 when configured for i386.
52341         * configure: Regenerate.
52342         * README: Remove i386 reference.
52344 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52346         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52347         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52349 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52351         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52352         (lmsnanval): New variables.
52353         (F): Add conversion tests.
52354         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52355         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52357         * stdio-common/tstdiomisc.c (F): Properly collect individual
52358         tests' results.
52360         [BZ #14686, #15336]
52361         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52362         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52363         Instead, use input NaN values or generate a qNaN by arithmetic
52364         operation.  Also fix bugs to comply with the standard.
52365         * math/libm-test.inc (remainder_test): Add more tests.
52367         [BZ #15335, #15342]
52368         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52370         input NaN values or generate a qNaN by arithmetic operation.
52372         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52373         unreachable code.
52375         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52376         definitions.
52378 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52380         [BZ #14478]
52381         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52382         underflowed result.
52383         * math/s_cexpf.c (__cexpf): Likewise.
52384         * math/s_cexpl.c (__cexpl): Likewise.
52385         * math/libm-test.inc (cexp_test): Add more tests.
52387 2013-04-03  Andreas Schwab  <schwab@suse.de>
52389         [BZ #15330]
52390         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52391         order arrays from heap if bigger than alloca cutoff.
52393 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52395         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52396         (SNAN_TESTS_double): Refer to GCC PR56831.
52397         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52398         GCC PR56828.
52400 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52402         * Rules (bench): Move bench.out after the run is complete.
52404         * Rules (bench): Echo currently running benchmark.
52406         * benchtests/Makefile (bench): Add atan and slowatan.
52407         * benchtests/atan-inputs: New file.
52408         * benchtests/slowatan-inputs: New file.
52409         * benchtests/slowatan.c: New file.
52411         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52412         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52413         its value.
52415         [BZ #15305]
52416         * sysdeps/unix/sysv/linux/kernel-features.h
52417         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52418         __ASSUME_XFS_RESTRICTED_CHOWN.
52419         * sysdeps/unix/sysv/linux/pathconf.c
52420         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52421         Save and restore errno.
52423 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52425         [BZ #15327]
52426         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52427         arguments using __kernel_casinh.
52428         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52429         arguments using __kernel_casinhf.
52430         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52431         arguments using __kernel_casinhl.
52432         * math/libm-test.inc (cacosh_test): Add more tests.
52433         * sysdeps/i386/fpu/libm-test-ulps: Update.
52434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52436 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52438         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52441         * bench/Makefile (bench): Add sin and slowsin.
52442         * benchtests/sin-inputs: New file.
52443         * benchtests/slowsin-inputs: New file.
52444         * benchtests/slowsin.c: New file.
52446         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52447         (bench): Add slowexp and slowpow.
52448         (exp-ITER): Increase iterations.
52449         (pow-ITER): Likewise.
52450         * benchtests/exp-inputs: Change input.
52451         * benchtests/pow-inputs: Likewise.
52452         * benchtests/slowexp-inputs: New file.
52453         * benchtests/slowexp.c: New file.
52454         * benchtests/slowpow-inputs: New file.
52455         * benchtests/slowpow.c: New file.
52457 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52459         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52460         instructions.
52461         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52462         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52463         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52464         * benchtests/Makefile: Add rint benchtest.
52465         * benchtests/rint-inputs: Input for rint benchtest.
52467 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52469         * Versions.def (libm): Add GLIBC_2.18.
52470         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52471         hidden libm prototypes.
52472         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52473         * math/Makefile (libm-calls): Add s_issignaling.
52474         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52475         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52476         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52477         declaration.
52478         * math/math.h [__USE_GNU] (issignaling): New macro.
52479         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52480         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52481         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52482         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52483         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52484         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52485         * manual/arith.texi (issignaling): New section.
52486         * manual/libm-err-tab.pl (@all_functions): Update comment.
52487         * math/gen-libm-test.pl (parse_args): Apply special handling for
52488         issignaling.
52489         * math/libm-test.inc (print_float, issignaling_test): New
52490         functions.
52491         (check_float_internal): Add issignaling checks.
52492         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52493         default definition.
52494         * sysdeps/powerpc/math-tests.h: New file.
52495         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52496         tests.
52497         * math/test-snan.c (TEST_FUNC): Likewise.
52499 2013-03-30  David S. Miller  <davem@davemloft.net>
52501         * po/de.po: Update from translation team.
52503 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52505         [BZ #10357]
52506         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52507         imaginary part less than 1.0 and real part less than 0.5
52508         specially.
52509         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52510         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52511         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52512         (cacos_test): Add more tests.
52513         (casin_test): Likewise.
52514         (casinh_test): Likewise.
52515         * sysdeps/i386/fpu/libm-test-ulps: Update.
52516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52518 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52520         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52521         ONE with its value.
52523         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52524         (__pow_mp): Replace ONE and MONE with their values.
52525         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52526         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52527         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52528         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52529         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52530         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52532         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52534         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52535         (__pow_mp): Replace ZERO and MZERO with their values.
52536         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52537         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52538         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52539         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52540         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52541         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52542         (__sqr): Likewise.
52544         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52546         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52548 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52550         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52551         Declare with __attribute__ ((weak)).
52552         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52553         Call __call_tls_dtors only if it's not NULL.
52555 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52557         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52558         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52559         magic __ehdr_start linker symbol if it's defined.
52560         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52561         them up here if it was already done.
52563         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52564         (_dl_aux_init): Use const in cast when setting it.
52565         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52566         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52567         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52569         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52570         Declare them here.
52571         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52572         * csu/libc-tls.c: Nor here.
52573         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52575         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52576         (__libc_message): Never call vsyslog.
52578 2013-03-28  Alan Modra  <amodra@gmail.com>
52580         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52581         Define as empty.
52582         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52583         Likewise.
52585 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52587         [BZ #15214]
52588         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52589         underflow.
52590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52592 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52594         [BZ #15304]
52595         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52596         Don't add gid passed as argument.
52598         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52600 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52602         [BZ #15307]
52603         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52604         imaginary part between 1.0 and 1.5 and real part less than 0.5
52605         specially.
52606         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52607         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52608         * math/libm-test.inc (cacos_test): Add more tests.
52609         (casin_test): Likewise.
52610         (casinh_test): Likewise.
52611         * sysdeps/i386/fpu/libm-test-ulps: Update.
52612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52614 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52616         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52617         constants.
52618         (norm): Likewise.
52619         (denorm): Likewise.
52620         (__dbl_mp): Likewise.
52621         (add_magnitudes): Likewise.
52622         (sub_magnitudes): Likewise.
52623         (__add): Likewise.
52624         (__sub): Likewise.
52625         (__mul): Likewise.
52626         (__sqr): Likewise.
52627         (__inv): Likewise.
52628         (__dvd): Likewise.
52630         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52631         commented code.
52632         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52633         (__dubcos): Likewise.
52634         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52635         (__ieee754_acos): Likewise.
52636         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52637         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52638         (__exp1): Likewise.
52639         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52640         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52641         (log1): Likewise.
52642         (my_log2): Likewise.
52643         (checkint): Likewise.
52644         * sysdeps/ieee754/dbl-64/e_remainder.c
52645         (__ieee754_remainder): Likewise.
52646         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52647         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52648         (bsloww): Likewise.
52649         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52651         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52652         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52653         MANTISSA_STORE_T to store computations on mantissa.  Use
52654         macros for rounding and division.
52655         (denorm): Likewise.
52656         (__dbl_mp): Likewise.
52657         (add_magnitudes): Likewise.
52658         (sub_magnitudes): Likewise.
52659         (__mul): Likewise.
52660         (__sqr): Likewise.
52661         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52662         powers of two in terms of TWOPOW macro.
52663         (mp_no): Make type of mantissa as MANTISSA_T.
52664         [!RADIXI]: Define RADIXI.
52665         [!TWO52]: Define TWO52.
52666         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52668 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52670         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52671         llroundl symbol when building for PPC32.
52673 2013-03-24  Mark H Weaver  <mhw@netris.org>
52675         * manual/arith.texi (Normalization Functions): Fix prototypes for
52676         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52678 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52680         [BZ #13889]
52681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52682         high value to check if expl overflow.
52683         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52684         to check for underflow and overflow.
52685         * math/libm-test.inc: Add exp test.
52687 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52689         [BZ #11120]
52690         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52691         with NOT_IN_libc.
52693 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52695         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52696         symbol.
52698 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52700         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52701         wrap blocks consisting of several statements.
52703         * sysdeps/generic/math-tests.h: New file.
52704         * sysdeps/i386/fpu/math-tests.h: Likewise.
52705         * math/test-snan.c: Include it.
52706         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52708 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52710         [BZ #15285]
52711         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52712         (__ieee754_j0l): Do not improve calculations using cos of twice
52713         input for inputs above LDBL_MAX / 2.0L.
52714         (__ieee754_y0l): Likewise.
52715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52716         (__ieee754_j1l): Do not improve calculations using cos of twice
52717         input for inputs above LDBL_MAX / 2.0L.
52718         (__ieee754_y1l): Likewise.
52719         * math/libm-test.inc (j0_test): Add another test.
52720         (j1_test): Likewise.
52721         (y0_test): Likewise.
52722         (y1_test): Likewise.
52723         * sysdeps/i386/fpu/libm-test-ulps: Update.
52725 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52727         * Rules ($(objpfx)bench-%.c): Include code from a C source
52728         file.
52730 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52732         [BZ #15287]
52733         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52734         imaginary part 1.0 and real part less than 0.5 specially.
52735         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52736         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52737         * math/libm-test.inc (cacos_test): Add more tests.
52738         (casin_test): Likewise.
52739         (casinh_test): Likewise.
52740         * sysdeps/i386/fpu/libm-test-ulps: Update.
52741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52743 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52745         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52746         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52748 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52750         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52751         * config.make.in (config-cflags-sse4): Remove variable.
52752         (config-cflags-avx): Likewise.
52753         (config-cflags-sse2avx): Likewise.
52754         (config-cflags-novzeroupper): Likewise.
52755         (config-asflags-i686): Likewise.
52756         (have-mfma4): Likewise.
52757         (have-as-vis3): Likewise.
52758         (MIG): Likewise.
52759         * configure.in (MIG): Do not AC_SUBST.
52760         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52761         (libc_cv_cc_sse4): Do not AC_SUBST.
52762         (libc_cv_cc_avx): Likewise.
52763         (libc_cv_cc_sse2avx): Likewise.
52764         (libc_cv_cc_novzeroupper): Likewise.
52765         (libc_cv_cc_fma4): Likewise.
52766         (libc_cv_as_i686): Likewise.
52767         (libc_cv_sparc_as_vis3): Likewise.
52768         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52769         LIBC_CONFIG_VAR.
52770         (config-asflags-i686): Likewise.
52771         (config-cflags-avx): Likewise.
52772         (config-cflags-sse2avx): Likewise.
52773         (have-mfma4): Likewise.
52774         (config-cflags-novzeroupper): Likewise.
52775         * sysdeps/mach/configure.in (MIG): Likewise.
52776         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52777         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52778         LIBC_CONFIG_VAR.
52779         (config-cflags-avx): Likewise.
52780         (config-cflags-sse2avx): Likewise.
52781         (have-mfma4): Likewise.
52782         (config-cflags-novzeroupper): Likewise.
52783         * configure: Regenerated.
52784         * sysdeps/i386/configure: Likewise.
52785         * sysdeps/mach/configure: Likewise.
52786         * sysdeps/sparc/configure: Likewise.
52787         * sysdeps/x86_64/configure: Likewise.
52789 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52791         [BZ #14812]
52792         * locale/programs/localedef.c (options): Put N_ translation marker
52793         on argument names, not just descriptions.
52795 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52797         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52799 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52801         [BZ #14176]
52802         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52804 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52806         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52807         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52808         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52809         [!BEFORE_ABORT] (before_abort): New function.
52810         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52811         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52812         (writev_for_fatal): New function.
52813         (WRITEV_FOR_FATAL): New macro; call that.
52814         (backtrace_and_maps): New function.
52815         (BEFORE_ABORT): New macro; call that.
52816         (struct str_list): Type removed.
52817         (__libc_message, __libc_fatal): Functions removed.
52818         Include <sysdeps/posix/libc_fatal.c> instead.
52820 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52822         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52823         constants.
52824         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52825         double constants.
52827 2013-03-19  Andreas Schwab  <schwab@suse.de>
52829         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52830         * sysdeps/gnu/configure: Regenerate.
52832         * configure.in: Substitute libc_cv_rtlddir.
52833         * configure: Regenerate.
52834         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52835         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52836         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52837         * elf/Makefile (install-others, CFLAGS-interp.c)
52838         (ldso_install, common-ldd-rewrite): Likewise.
52839         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52840         $(inst_slibdir)/$(rtld-installed-name).
52841         * scripts/rellns-sh: Add -p option.
52842         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52843         for source.
52845 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52847         * manual/nptl.texi: Renamed to ...
52848         * manual/threads.texi: ... this.
52849         * manual/Makefile (chapters): Update.
52851 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52853         [BZ #14812]
52854         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52855         on argument names, not just descriptions.
52856         * malloc/memusagestat.c (options): Likewise.
52857         * nss/getent.c (options): Likewise.
52859 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52861         [BZ #14812]
52862         * iconv/iconv_prog.c (options): Put N_ translation marker
52863         on argument names, not just descriptions.
52864         * iconv/iconvconfig.c (options): Likewise.
52866 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52868         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52869         implementation which is faster on all x86_64 architectures.
52870         Tested on AMD, Intel Nehalem, SNB, IVB.
52871         * sysdeps/x86_64/strnlen.S: Likewise.
52873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52874         Remove all multiarch strlen and strnlen versions.
52875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52876         Remove strlen and strnlen related parts.
52878         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52879         Inline strlen part.
52880         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52882         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52883         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52884         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52885         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52886         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52887         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52889 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52891         * manual/memory.texi (Malloc Tunable Parameters):
52892         Sort parameters alphabetically. Add comments for missing entries.
52894 2013-03-17  David S. Miller  <davem@davemloft.net>
52896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52898 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52900         [BZ #15283]
52901         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52902         for arguments at most half maximum finite value.
52903         * math/libm-test.inc (j0_test): Add more tests.
52904         (j1_test): Likewise.
52905         (y0_test): Likewise.
52906         (y1_test): Likewise.
52907         * sysdeps/i386/fpu/libm-test-ulps: Update.
52908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52910         [BZ #14155]
52911         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52912         1 / x and functions P and Q for arguments above 0x1p256L.
52913         (__ieee754_y0l): Likewise.
52914         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52915         (__ieee754_y1l): Likewise.
52916         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52917         (j1_test): Likewise.
52918         (y0_test): Likewise.
52919         (y1_test): Likewise.
52921 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52923         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52924         variable.
52926 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52928         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52929         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52930         zero since it's initialized to EXEC_PAGESIZE.
52932         * sysdeps/unix/sysv/linux/ldsodefs.h
52933         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52934         * sysdeps/generic/ldsodefs.h: ... here.
52936 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52938         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52940         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52941         math/test-snan.c.
52942         * math/test-snan.c: Renamed from
52943         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52944         * math/Makefile (tests): Add test-snan.
52945         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52946         test-powerpc-snan.
52948         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52949         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52950         functions.
52951         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52952         __builtin_nan family of functions.
52953         * math/libm-test.inc (initialize): Initialize qnan_value with
52954         __builtin_nan family of functions.
52955         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52956         Remove variables.
52957         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52958         Remove functions.
52959         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52960         storage class.  Initialize qNaN_var and sNaN_var with
52961         __builtin_nan and __builtin_nans families of functions,
52962         respectively.
52964         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52965         (sqrt_test): Remove duplicate test with qNaN input.
52966         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52967         (round_test, signbit_test, significand_test): Note missing +/-Inf
52968         as well as qNaN tests.
52970         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52971         qNaN_var.  Fix a few strings, too.
52972         * math/libm-test.inc (nan_value): Rename to qnan_value.
52973         * math/gen-libm-test.pl (%beautify): Adjust to that.
52974         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52975         * math/test-misc.c (main): Likewise.
52976         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52977         to __qnan_bytes, and __qnan_union, respectively.
52978         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52979         Likewise.
52980         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52981         and lqnanval, respectively.
52982         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52983         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52984         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52985         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52987         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52988         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52989         doubles.
52991         * math/test-misc.c (main): Fix copy'n'pastos.
52992         * misc/tst-efgcvt.c (special): Likewise.
52994         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52995         Remove declarations.
52997 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52999         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53000         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53001         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53002         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53004 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53006         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53007         macro to return vdso values correctly in IFUNC implementations.
53008         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53009         Optimization by using IFUNC.
53011 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53012             Richard Henderson  <rth@redhat.com>
53013             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53015         * Makefile.in (bench): New target.
53016         * NEWS: Mention the benchmark framework.
53017         * Rules (bench): Likewise.
53018         (binaries-bench): Generate binaries for functions to
53019         benchmark.
53020         * benchtests/Makefile: New makefile for benchmark tests.
53021         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53022         programs.
53023         * benchtests/exp-inputs: New input file for EXP function.
53024         * benchtests/pow-inputs: New input file for POW function.
53025         * scripts/bench.pl: New script to generate source files for
53026         benchmark programs.
53028 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53030         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53031         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53032         computations on mantissa.  Use macros for rounding and
53033         division.
53034         (denorm): Likewise.
53035         (__dbl_mp): Likewise.
53036         (add_magnitudes): Likewise.
53037         (sub_magnitudes): Likewise.
53038         (__mul): Likewise.
53039         (__sqr): Likewise.
53040         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53041         powers of two in terms of TWOPOW macro.
53042         (mp_no): Make type of mantissa as MANTISSA_T.
53043         [!RADIXI]: Define RADIXI.
53044         [!TWO52]: Define TWO52.
53045         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53047         * manual/nptl.texi (cindex): Modify threads to pthreads.
53049 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53051         * sysdeps/x86_64/preconfigure: Regenerated.
53053 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53055         [BZ #14155]
53056         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53057         0x1p28 and above.
53058         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53059         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53060         0x1p28 and above.
53061         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53062         * math/libm-test.inc (j0_test): Do not allow one spurious
53063         underflow exception.
53064         (y1_test): Likewise.
53066 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53068         * manual/Makefile (chapters): Add nptl.
53069         * manual/debug.texi (Debugging Support): Add link to Threads
53070         chapter.
53071         * manual/nptl.texi: New file.
53073         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53075 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53077         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53078         for non-NULL pointer before the memory validity test. Pointed
53079         out by Holger Brunck <holger.brunck@keymile.com>.
53081 2013-03-13  Andreas Schwab  <schwab@suse.de>
53083         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53084         instead of .os.
53086 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53088         * timezone/zic.c: Update from tzcode 2013b.
53090 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53092         * manual/install.texi (Configuring and compiling):
53093         Mention i686 and i586.
53094         * INSTALL: Regenerate.
53096 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53098         * sysdeps/init_array/elf-init.c: New file.
53099         * csu/elf-init.c
53100         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53101         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53103         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53104         __gmon_start__ as global, but as static with a .preinit_array pointer.
53105         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53106         * sysdeps/init_array/crti.S: New file, empty except for comments.
53107         * sysdeps/init_array/crtn.S: Likewise.
53109 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53111         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53112         definining bcopy.
53113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53114         Remove Prefer_SSE_for_memop.
53115         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53116         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53117         HAS_PREFER_SSE_FOR_MEMOP.
53118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53119         memset-x86-64.
53120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53121         Remove bzero, memset ifunc support.
53122         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53123         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53124         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53125         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53127 2013-03-11  Andreas Schwab  <schwab@suse.de>
53129         [BZ #15234]
53130         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53131         by SHLIB_COMPAT.
53132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53133         (GLIBC_2.16): Remove pthread_atfork.
53135 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53137         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53138         (ptestcases.h): Likewise.
53140 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53142         * Makeconfig ($(common-objpfx)config.status): Depend on
53143         sysdeps/*/preconfigure{,.in} too.
53145 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53147         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53148         (__free_hook): Use void * instead of __malloc_ptr_t.
53149         (__malloc_hook): Likewise.
53150         (__realloc_hook): Likewise.
53151         (__memalign_hook): Likewise.
53152         (__after_morecore_hook): Likewise.
53153         * malloc/arena.c (save_malloc_hook): Likewise.
53154         (save_free_hook): Likewise.
53155         * malloc/hooks.c (malloc_hook_ini): Likewise.
53156         (realloc_hook_ini): Likewise.
53157         (memalign_hook_ini): Likewise.
53158         * malloc/malloc.c (malloc_hook_ini): Likewise.
53159         (realloc_hook_ini): Likewise.
53160         (memalign_hook_ini): Likewise.
53161         (__free_hook): Likewise.
53162         (__malloc_hook): Likewise.
53163         (__realloc_hook): Likewise.
53164         (__memalign_hook): Likewise.
53165         (__libc_malloc): Likewise.
53166         (__libc_free): Likewise.
53167         (__libc_realloc): Likewise.
53168         (__libc_memalign): Likewise.
53169         (__libc_valloc): Likewise.
53170         (__libc_pvalloc): Likewise.
53171         (__libc_calloc): Likewise.
53172         (__posix_memalign): Likewise.
53173         * malloc/morecore.c (__sbrk): Likewise.
53174         (__default_morecore): Likewise.
53176         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53178         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53179         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53180         __malloc_ptrdiff_t.
53182         * malloc/malloc.h (__malloc_size_t): Remove macro.
53183         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53184         __malloc_size_t.
53185         (old_memalign_hook): Likewise.
53186         (old_realloc_hook): Likewise.
53187         (struct hdr): Likewise.
53188         (flood): Likewise.
53189         (mallochook): Likewise.
53190         (memalignhook): Likewise.
53191         (reallochook): Likewise.
53192         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53193         (tr_old_realloc_hook): Likewise.
53194         (tr_old_memalign_hook): Likewise.
53195         (tr_mallochook): Likewise.
53196         (tr_reallochook): Likewise.
53197         (tr_memalignhook): Likewise.
53199 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53201         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53202         default_ldbl_pack and using as default implementation.
53203         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53204         implementation.
53205         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53206         redundant definition.
53207         (ldbl_insert_mantissa): Likewise.
53208         (ldbl_canonicalize): Likewise.
53209         (ldbl_nearbyint): Likewise.
53210         (ldbl_pack): Rename to ldbl_pack_ppc.
53211         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53212         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53213         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53215 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53218         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53219         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53220         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53222         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53223         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53224         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53226 2013-03-07  Andreas Jaeger  <aj@suse.de>
53228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53229         bits/mman-linux.h.
53231 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53233         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53234         Include mpa.h and declare __MPEXP.
53235         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53236         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53237         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53238         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53239         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53240         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53241         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53243         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53244         (__slowpow): Use long double EXPL and LOGL functions to
53245         compute POW.
53246         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53247         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53248         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53249         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53250         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53251         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53254         intermediate variable to calculate exponent.
53255         (__sqr): Likewise.
53256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53257         Likewise.
53258         (__sqr): Likewise.
53260         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53261         [!NO__SQR]: Define __sqr.
53262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53263         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53264         sysdeps/ieee754/dbl-64/mpa.c.
53265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53267         [BZ #12723]
53268         * posix/Makefile (tests): Add tst-pathconf.
53269         * posix/tst-pathconf.c: New test case.
53270         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53271         _PC_PIPE_BUF.
53272         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53274 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53276         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53278 2013-03-06  Andreas Jaeger  <aj@suse.de>
53280         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53281         definition via __MAP_ANONYMOUS.
53283         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53284         it's not part of Linux headers.
53286         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53287         (MAP_HUGE_MASK): Define.
53289         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53290         Define.
53291         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53293         Define.
53294         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53295         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53296         Define.
53297         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53298         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53299         Define.
53300         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53302         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53303         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53304         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53305         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53306         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53307         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53309         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53310         Handle f2fs.
53312         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53313         Handle f2fs and efivarfs.
53315         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53316         f2fs.
53318         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53319         (EFIVARFS_MAGIC): Add.
53320         (F2FS_LINK_MAX): Add.
53322 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53324         * stdio-common/vfprintf.c: Replace __builtin_expect with
53325         __glibc_unlikely.
53327 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53329         [BZ #13550]
53330         * sysdeps/generic/bp-sym.h: Remove file.
53331         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53332         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53333         <bp-sym.h> and <bp-asm.h>.
53334         (__longjmp): Don't use BP_SYM.
53335         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53336         and <bp-asm.h>.
53337         (memcpy): Don't use BP_SYM.
53338         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53339         <bp-sym.h> and <bp-asm.h>.
53340         (memcpy): Don't use BP_SYM.
53341         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53342         <bp-asm.h>.
53343         (memcpy): Don't use BP_SYM.
53344         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53345         <bp-asm.h>.
53346         (memset): Don't use BP_SYM.
53347         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53348         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53349         (__bzero): Don't use BP_SYM.
53350         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53351         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53352         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53353         <bp-sym.h> and <bp-asm.h>.
53354         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53355         pointers.
53356         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53357         <bp-sym.h> and <bp-asm.h>.
53358         (memcpy): Don't use BP_SYM.
53359         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53360         <bp-sym.h> and <bp-asm.h>.
53361         (memset): Don't use BP_SYM.
53362         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53363         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53364         (__bzero): Don't use BP_SYM.
53365         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53366         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53367         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53368         <bp-sym.h> and <bp-asm.h>.
53369         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53370         pointers.
53371         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53372         <bp-sym.h> and <bp-asm.h>.
53373         (memcpy): Don't use BP_SYM.
53374         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53375         <bp-sym.h> and <bp-asm.h>.
53376         (memset): Don't use BP_SYM.
53377         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53378         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53379         (__bzero): Don't use BP_SYM.
53380         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53381         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53382         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53383         <bp-sym.h> and <bp-asm.h>.
53384         (__memchr): Don't use BP_SYM.
53385         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53386         <bp-sym.h> and <bp-asm.h>.
53387         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53388         pointers.
53389         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53390         <bp-sym.h> and <bp-asm.h>.
53391         (memcpy): Don't use BP_SYM.
53392         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53393         <bp-sym.h> and <bp-asm.h>.
53394         (__mempcpy): Don't use BP_SYM.
53395         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53396         <bp-sym.h> and <bp-asm.h>.
53397         (__memrchr): Don't use BP_SYM.
53398         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53399         <bp-sym.h> and <bp-asm.h>.
53400         (memset): Don't use BP_SYM.
53401         (__bzero): Likewise.
53402         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53403         <bp-sym.h> and <bp-asm.h>.
53404         (__rawmemchr): Don't use BP_SYM.
53405         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53406         <bp-sym.h> and <bp-asm.h>.
53407         (__STRCMP): Don't use BP_SYM.
53408         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53409         <bp-sym.h> and <bp-asm.h>.
53410         (strchr): Don't use BP_SYM.
53411         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53412         <bp-sym.h> and <bp-asm.h>.
53413         (__strchrnul): Don't use BP_SYM.
53414         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53415         <bp-sym.h> and <bp-asm.h>.
53416         (strlen): Don't use BP_SYM.
53417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53418         <bp-sym.h> and <bp-asm.h>.
53419         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53420         pointers.
53421         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53422         <bp-sym.h> and <bp-asm.h>.
53423         (__strnlen): Don't use BP_SYM.
53424         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53425         <bp-sym.h> and <bp-asm.h>.
53426         (__GI__setjmp): Don't use BP_SYM.
53427         (_setjmp): Likewise.
53428         (__sigsetjmp): Likewise.
53429         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53430         (L(start_addresses)): Don't use BP_SYM.
53431         (_start): Likewise.
53432         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53433         <bp-asm.h>.
53434         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53435         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53436         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53437         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53438         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53439         <bp-asm.h>.
53440         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53441         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53442         about bounded pointers.
53443         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53444         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53445         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53446         <bp-asm.h>.
53447         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53448         about bounded pointers.  Remove GKM FIXME comments.
53449         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53450         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53451         <bp-asm.h>.
53452         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53453         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53454         Remove GKM FIXME comments.
53455         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53456         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53457         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53458         <bp-asm.h>.
53459         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53460         about bounded pointers.  Remove GKM FIXME comment.
53461         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53462         and <bp-asm.h>.
53463         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53464         pointers.
53465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53466         <bp-sym.h> and <bp-asm.h>.
53467         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53469         <bp-sym.h> and <bp-asm.h>.
53470         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53471         comment.
53473 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53475         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53476         call free(NULL).
53478 2013-03-05  David S. Miller  <davem@davemloft.net>
53480         * po/es.po: Update from translation team.
53482 2013-03-05  Andreas Jaeger  <aj@suse.de>
53484         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53485         <bits/mman-linux.h>.
53486         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53487         is fine.
53488         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53489         <bits/mman-linux.h> to end of file.
53490         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53491         is fine.
53492         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53493         <bits/mman-linux.h> to end of file.
53494         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53495         is fine.
53496         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53497         <bits/mman-linux.h> to end of file.
53499         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53500         (MCL_CURRENT, MCL_FUTURE): Define here.
53502 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53504         [BZ #15232]
53505         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53506         attribute_hidden.
53507         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53509 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53512         fourth parameter needed for rt_sigprocmask syscall.
53513         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53514         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53515         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53516         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53517         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53518         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53520 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53522         [BZ #13550]
53523         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53524         comment about bounded pointers.
53525         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53526         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53528 2013-03-04  Andreas Jaeger  <aj@suse.de>
53530         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53531         common definitions.
53533         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53534         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53535         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53536         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53537         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53538         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53540 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53542         [BZ #15055]
53543         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53544         __ieee754_sqrl instead of __sqrl.
53546 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53548         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53549         * sysdeps/powerpc/fpu_control.h: ... here.
53550         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53551         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53552         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53553         * sysdeps/powerpc/bits/mathinline.h: ... here.
53555 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53557         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53558         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53559         to just [NEED_DL_SYSINFO_DSO].
53560         * elf/dl-support.c: Likewise.
53561         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53562         * elf/rtld.c (dl_main): Likewise.
53563         * elf/setup-vdso.h (setup_vdso): Likewise.
53564         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53565         * sysdeps/unix/sysv/linux/dl-sysdep.c
53566         (_dl_discover_osversion): Likewise.
53568 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53570         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53571         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53573 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53575         * NEWS: Mention libm performance improvements and non-x86 PI
53576         futex support.
53578         * csu/libc-start.c (__pthread_initialize_minimal): Change
53579         function arguments.
53580         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53582 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53584         [BZ #13550]
53585         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53586         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53587         <bp-sym.h> and <bp-asm.h>.
53588         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53589         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53590         and <bp-asm.h>.
53591         (memcpy): Don't use BP_SYM.
53592         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53593         <bp-asm.h>.
53594         (__mpn_add_n): Don't use BP_SYM.
53595         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53596         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53597         and <bp-asm.h>.
53598         (__mpn_addmul_1): Don't use BP_SYM.
53599         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53600         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53601         <bp-sym.h>.
53602         (_setjmp): Don't use BP_SYM.
53603         (__novmx_setjmp): Likewise.
53604         (__GI__setjmp): Likewise.
53605         (__vmx_setjmp): Likewise.
53606         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53607         <bp-sym.h>.
53608         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53609         (__bzero): Don't use BP_SYM.
53610         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53611         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53612         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53613         <bp-sym.h> and <bp-asm.h>.
53614         (memcpy): Don't use BP_SYM.
53615         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53616         <bp-sym.h> and <bp-asm.h>.
53617         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53618         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53619         <bp-sym.h> and <bp-asm.h>.
53620         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53621         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53622         <bp-asm.h>.
53623         (__mpn_lshift): Don't use BP_SYM.
53624         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53625         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53626         <bp-asm.h>.
53627         (memset): Don't use BP_SYM.
53628         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53629         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53630         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53631         <bp-asm.h>.
53632         (__mpn_mul_1): Don't use BP_SYM.
53633         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53634         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53635         <bp-sym.h> and <bp-asm.h>.
53636         (memcmp): Don't use BP_SYM.
53637         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53638         <bp-sym.h> and <bp-asm.h>.
53639         (memcpy): Don't use BP_SYM.
53640         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53641         <bp-sym.h> and <bp-asm.h>.
53642         (memset): Don't use BP_SYM.
53643         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53644         <bp-sym.h> and <bp-asm.h>.
53645         (strncmp): Don't use BP_SYM.
53646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53647         <bp-sym.h> and <bp-asm.h>.
53648         (memcpy): Don't use BP_SYM.
53649         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53650         <bp-sym.h> and <bp-asm.h>.
53651         (memset): Don't use BP_SYM.
53652         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53653         <bp-sym.h> and <bp-asm.h>.
53654         (__memchr): Don't use BP_SYM.
53655         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53656         <bp-sym.h> and <bp-asm.h>.
53657         (memcmp): Don't use BP_SYM.
53658         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53659         <bp-sym.h> and <bp-asm.h>.
53660         (memcpy): Don't use BP_SYM.
53661         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53662         <bp-sym.h> and <bp-asm.h>.
53663         (__mempcpy): Don't use BP_SYM.
53664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53665         <bp-sym.h> and <bp-asm.h>.
53666         (__memrchr): Don't use BP_SYM.
53667         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53668         <bp-sym.h> and <bp-asm.h>.
53669         (memset): Don't use BP_SYM.
53670         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53671         <bp-sym.h> and <bp-asm.h>.
53672         (__rawmemchr): Don't use BP_SYM.
53673         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53674         <bp-sym.h> and <bp-asm.h>.
53675         (__STRCMP): Don't use BP_SYM.
53676         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53677         <bp-sym.h> and <bp-asm.h>.
53678         (strchr): Don't use BP_SYM.
53679         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53680         <bp-sym.h> and <bp-asm.h>.
53681         (__strchrnul): Don't use BP_SYM.
53682         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53683         <bp-sym.h> and <bp-asm.h>.
53684         (strlen): Don't use BP_SYM.
53685         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53686         <bp-sym.h> and <bp-asm.h>.
53687         (strncmp): Don't use BP_SYM.
53688         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53689         <bp-sym.h> and <bp-asm.h>.
53690         (__strnlen): Don't use BP_SYM.
53691         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53692         <bp-asm.h>.
53693         (__mpn_rshift): Don't use BP_SYM.
53694         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53695         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53696         <bp-sym.h> and <bp-asm.h>.
53697         (__sigsetjmp): Don't use BP_SYM.
53698         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53699         (L(start_addresses)): Don't use BP_SYM.
53700         (_start): Likewise.
53701         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53702         <bp-asm.h>.
53703         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53704         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53705         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53706         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53707         <bp-asm.h>.
53708         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53709         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53710         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53711         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53712         <bp-asm.h>.
53713         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53714         comments.
53715         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53716         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53717         <bp-asm.h>.
53718         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53719         FIXME comments.
53720         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53721         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53722         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53723         <bp-asm.h>.
53724         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53725         comment.
53726         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53727         and <bp-asm.h>.
53728         (strncmp): Don't use BP_SYM,
53729         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53730         <bp-asm.h>.
53731         (__mpn_sub_n): Don't use BP_SYM.
53732         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53733         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53734         and <bp-asm.h>.
53735         (__mpn_submul_1): Don't use BP_SYM.
53736         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53738         <bp-sym.h> and <bp-asm.h>.
53739         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53741         <bp-sym.h> and <bp-asm.h>.
53742         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53743         comment.
53745 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53748         Use ZK to minimize writes to Z.
53749         (sub_magnitudes): Simplify code a bit.
53750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53751         Use ZK to minimize writes to Z.
53752         (sub_magnitudes): Simplify code a bit.
53754 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53756         * csu/gmon-start.c: Add special exception to license text.
53758 2013-02-27  Richard Henderson  <rth@redhat.com>
53760         * scripts/config.guess: Update from config.git.
53761         * scripts/config.sub: Likewise.
53763 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53765         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53767         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53769         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53771         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53773         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53775 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53777         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53778         [$(build-shared = yes].
53780 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53782         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53783         (__mul): Reduce iterations for calculating mantissa.
53785         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53786         MPTWO.
53787         (__mpranred): Likewise.
53789         [BZ #15160]
53790         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53791         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53793 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53795         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53796         Define __attribute__.
53798 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53800         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53801         unused.
53802         * posix/regex_internal.h (__attribute): Remove.
53803         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53804         (re_string_context_at): Likewise.
53805         (bitset_not): Use __attribute__ and mark function as possibly
53806         unused.
53807         (bitset_merge): Likewise.
53808         (bitset_mask): Likewise.
53809         (re_string_char_size_at): Likewise.
53810         (re_string_wchar_at): Likewise.
53811         (re_string_elem_size_at): Likewise.
53813 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53815         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53816         code.
53817         (cc32): Likewise.
53819         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53820         (__acr): Likewise.
53821         (__cpy): Likewise.
53822         (norm): Likewise.
53823         (denorm): Likewise.
53824         (__dbl_mp): Likewise.
53825         (add_magnitudes): Likewise.
53826         (sub_magnitudes): Likewise.
53827         (__mul): Likewise.
53828         (__inv): Likewise.
53830         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53831         style.
53833         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53834         style.
53836         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53837         code.
53839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53840         up changes with default code.
53841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53842         Likewise.
53844 2013-02-24  Allan McRae  <allan@archlinux.org>
53846         * manual/socket.texi (The Internet Namespace): Order menu items
53847         to match that in the file.
53849         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53850         node listing of the info page menu.
53852 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53854         [BZ #13550]
53855         * sysdeps/i386/bp-asm.h: Remove file.
53856         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53857         (PARMS): Do not use macros from bp-asm.h.
53858         (S1): Likewise.
53859         (S2): Likewise.
53860         (SIZE): Likewise.
53861         (__mpn_add_n): Do not use BP_SYM
53862         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53863         "bp-asm.h".
53864         (PARMS): Do not use macros from bp-asm.h.
53865         (S1): Likewise.
53866         (SIZE): Likewise.
53867         (__mpn_addmul_1): Do not use BP_SYM
53868         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53869         "bp-asm.h".
53870         (PARMS): Do not use macros from bp-asm.h.
53871         (SIGMSK): Likewise.
53872         (_setjmp): Likewise.  Do not use BP_SYM.
53873         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53874         "bp-asm.h".
53875         (PARMS): Do not use macros from bp-asm.h.
53876         (SIGMSK): Likewise.
53877         (setjmp): Likewise.  Do not use BP_SYM.
53878         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53879         "bp-asm.h".
53880         (PARMS): Do not use macros from bp-asm.h.
53881         (__frexp): Do not use BP_SYM.
53882         (frexp): Likewise.
53883         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53884         "bp-asm.h".
53885         (PARMS): Do not use macros from bp-asm.h.
53886         (__frexpf): Do not use BP_SYM.
53887         (frexpf): Likewise.
53888         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53889         "bp-asm.h".
53890         (PARMS): Do not use macros from bp-asm.h.
53891         (__frexpl): Do not use BP_SYM.
53892         (frexpl): Likewise.
53893         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53894         "bp-asm.h".
53895         (PARMS): Do not use macros from bp-asm.h.
53896         (__remquo): Do not use BP_SYM.
53897         (remquo): Likewise.
53898         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53899         "bp-asm.h".
53900         (PARMS): Do not use macros from bp-asm.h.
53901         (__remquof): Do not use BP_SYM.
53902         (remquof): Likewise.
53903         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53904         "bp-asm.h".
53905         (PARMS): Do not use macros from bp-asm.h.
53906         (__remquol): Do not use BP_SYM.
53907         (remquol): Likewise.
53908         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53909         "bp-asm.h".
53910         (PARMS): Do not use macros from bp-asm.h.
53911         (DEST): Likewise.
53912         (SRC): Likewise.
53913         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53914         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53915         "bp-asm.h".
53916         (PARMS): Do not use macros from bp-asm.h.
53917         (strlen): Do not use BP_SYM.
53918         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53919         "bp-asm.h".
53920         (PARMS): Do not use macros from bp-asm.h.
53921         (S1): Likewise.
53922         (S2): Likewise.
53923         (SIZE): Likewise.
53924         (__mpn_add_n): Do not use BP_SYM.
53925         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53926         "bp-asm.h".
53927         (PARMS): Do not use macros from bp-asm.h.
53928         (S1): Likewise.
53929         (SIZE): Likewise.
53930         (__mpn_addmul_1): Do not use BP_SYM.
53931         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53932         weak_alias.
53933         (bzero): Likewise.
53934         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53935         "bp-asm.h".
53936         (PARMS): Do not use macros from bp-asm.h.
53937         (S): Likewise.
53938         (SIZE): Likewise.
53939         (__mpn_lshift): Do not use BP_SYM.
53940         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53941         "bp-asm.h".
53942         (PARMS): Do not use macros from bp-asm.h.
53943         (DEST): Likewise.
53944         (SRC): Likewise.
53945         (LEN): Likewise.
53946         (memcpy): Likewise.  Do not use BP_SYM.
53947         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53948         libc_hidden_def and weak_alias.
53949         (mempcpy): Do not use BP_SYM in weak_alias.
53950         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53951         "bp-asm.h".
53952         (PARMS): Do not use macros from bp-asm.h.
53953         (DEST): Likewise.
53954         (LEN): Likewise.
53955         [!BZERO_P] (CHR): Likewise.
53956         (memset): Likewise.  Do not use BP_SYM.
53957         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53958         "bp-asm.h".
53959         (PARMS): Do not use macros from bp-asm.h.
53960         (S1): Likewise.
53961         (SIZE): Likewise.
53962         (__mpn_mul_1): Do not use BP_SYM.
53963         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53964         "bp-asm.h".
53965         (PARMS): Do not use macros from bp-asm.h.
53966         (S): Likewise.
53967         (SIZE): Likewise.
53968         (__mpn_rshift): Do not use BP_SYM.
53969         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53970         "bp-asm.h".
53971         (PARMS): Do not use macros from bp-asm.h.
53972         (STR): Likewise.
53973         (CHR): Likewise.
53974         (strchr): Likewise.  Do not use BP_SYM.
53975         (index): Do not use BP_SYM in weak_alias.
53976         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53977         "bp-asm.h".
53978         (PARMS): Do not use macros from bp-asm.h.
53979         (DEST): Likewise.
53980         (SRC): Likewise.
53981         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53982         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53983         "bp-asm.h".
53984         (PARMS): Do not use macros from bp-asm.h.
53985         (strlen): Do not use BP_SYM.
53986         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53987         "bp-asm.h".
53988         (PARMS): Do not use macros from bp-asm.h.
53989         (S1): Likewise.
53990         (S2): Likewise.
53991         (SIZE): Likewise.
53992         (__mpn_sub_n): Do not use BP_SYM.
53993         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53994         "bp-asm.h".
53995         (PARMS): Do not use macros from bp-asm.h.
53996         (S1): Likewise.
53997         (SIZE): Likewise.
53998         (__mpn_submul_1): Do not use BP_SYM.
53999         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54000         "bp-asm.h".
54001         (PARMS): Do not use macros from bp-asm.h.
54002         (S1): Likewise.
54003         (S2): Likewise.
54004         (SIZE): Likewise.
54005         (__mpn_add_n): Do not use BP_SYM.
54006         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54007         weak_alias.
54008         (bzero): Likewise.
54009         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54010         "bp-asm.h".
54011         (PARMS): Do not use macros from bp-asm.h.
54012         (BLK2): Likewise.
54013         (LEN): Likewise.
54014         (memcmp): Do not use BP_SYM.
54015         (bcmp): Do not use BP_SYM in weak_alias.
54016         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54017         "bp-asm.h".
54018         (PARMS): Do not use macros from bp-asm.h.
54019         (DEST): Likewise.
54020         (SRC): Likewise.
54021         (LEN): Likewise.
54022         (memcpy): Likewise.  Do not use BP_SYM.
54023         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54024         "bp-asm.h".
54025         (PARMS): Do not use macros from bp-asm.h.
54026         (DEST): Likewise.
54027         (SRC): Likewise.
54028         (LEN): Likewise.
54029         (memmove): Likewise.  Do not use BP_SYM.
54030         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54031         "bp-asm.h".
54032         (PARMS): Do not use macros from bp-asm.h.
54033         (DEST): Likewise.
54034         (SRC): Likewise.
54035         (LEN): Likewise.
54036         (__mempcpy): Likewise.  Do not use BP_SYM.
54037         (mempcpy): Do not use BP_SYM in weak_alias.
54038         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54039         "bp-asm.h".
54040         (PARMS): Do not use macros from bp-asm.h.
54041         (DEST): Likewise.
54042         (LEN): Likewise.
54043         [!BZERO_P] (CHR): Likewise.
54044         (memset): Likewise.  Do not use BP_SYM.
54045         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54046         "bp-asm.h".
54047         (PARMS): Do not use macros from bp-asm.h.
54048         (STR2): Likewise.
54049         (strcmp): Do not use BP_SYM.
54050         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54051         "bp-asm.h".
54052         (PARMS): Do not use macros from bp-asm.h.
54053         (STR): Likewise.
54054         (DELIM): Likewise.
54055         [USE_AS_STRTOK_R] (SAVE): Likewise.
54056         (FUNCTION): Likewise.  Do not use BP_SYM.
54057         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54058         aliases.
54059         (strtok_r): Likewise.
54060         (__GI___strtok_r): Likewise.
54061         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54062         (PARMS): Do not use macros from bp-asm.h.
54063         (S): Likewise.
54064         (SIZE): Likewise.
54065         (__mpn_lshift): Do not use BP_SYM.
54066         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54067         (PARMS): Do not use macros from bp-asm.h.
54068         (STR): Likewise.
54069         (CHR): Likewise.
54070         (__memchr): Do not use BP_SYM.
54071         (memchr): Do not use BP_SYM in weak_alias.
54072         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54073         (PARMS): Do not use macros from bp-asm.h.
54074         (BLK2): Likewise.
54075         (LEN): Likewise.
54076         (memcmp): Do not use BP_SYM.
54077         (bcmp): Do not use BP_SYM in weak_alias.
54078         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54079         (PARMS): Do not use macros from bp-asm.h.
54080         (S1): Likewise.
54081         (SIZE): Likewise.
54082         (__mpn_mul_1): Do not use BP_SYM.
54083         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54084         "bp-asm.h".
54085         (PARMS): Do not use macros from bp-asm.h.
54086         (STR): Likewise.
54087         (CHR): Likewise.
54088         (__rawmemchr): Do not use BP_SYM.
54089         (rawmemchr): Do not use BP_SYM in weak_alias.
54090         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54091         (PARMS): Do not use macros from bp-asm.h.
54092         (S): Likewise.
54093         (SIZE): Likewise.
54094         (__mpn_rshift): Do not use BP_SYM.
54095         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54096         (PARMS): Do not use macros from bp-asm.h.
54097         (SIGMSK): Likewise.
54098         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54099         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54100         (_start): Do not use BP_SYM.
54101         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54102         (PARMS): Do not use macros from bp-asm.h.
54103         (DEST): Likewise.
54104         (SRC): Likewise.
54105         (__stpcpy): Likewise.  Do not use BP_SYM.
54106         (stpcpy): Do not use BP_SYM in weak_alias.
54107         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54108         "bp-asm.h".
54109         (PARMS): Do not use macros from bp-asm.h.
54110         (DEST): Likewise.
54111         (SRC): Likewise.
54112         (LEN): Likewise.
54113         (__stpncpy): Likewise.  Do not use BP_SYM.
54114         (stpncpy): Do not use BP_SYM in weak_alias.
54115         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54116         (PARMS): Do not use macros from bp-asm.h.
54117         (STR): Likewise.
54118         (CHR): Likewise.
54119         (strchr): Likewise.  Do not use BP_SYM.
54120         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54121         "bp-asm.h".
54122         (PARMS): Do not use macros from bp-asm.h.
54123         (STR): Likewise.
54124         (CHR): Likewise.
54125         (__strchrnul): Likewise.  Do not use BP_SYM.
54126         (strchrnul): Do not use BP_SYM in weak_alias.
54127         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54128         "bp-asm.h".
54129         (PARMS): Do not use macros from bp-asm.h.
54130         (STOP): Likewise.
54131         (strcspn): Do not use BP_SYM.
54132         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54133         "bp-asm.h".
54134         (PARMS): Do not use macros from bp-asm.h.
54135         (STR): Likewise.
54136         (STOP): Likewise.
54137         (strpbrk): Likewise.  Do not use BP_SYM.
54138         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54139         "bp-asm.h".
54140         (PARMS): Do not use macros from bp-asm.h.
54141         (STR): Likewise.
54142         (CHR): Likewise.
54143         (strrchr): Likewise.  Do not use BP_SYM.
54144         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54145         (PARMS): Do not use macros from bp-asm.h.
54146         (SKIP): Likewise.
54147         (strspn): Do not use BP_SYM.
54148         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54149         (PARMS): Do not use macros from bp-asm.h.
54150         (STR): Likewise.
54151         (DELIM): Likewise.
54152         (SAVE): Likewise.
54153         (FUNCTION): Likewise.  Do not use BP_SYM.
54154         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54155         aliases.
54156         (strtok_r): Likewise.
54157         (__GI___strtok_r): Likewise.
54158         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54159         (PARMS): Do not use macros from bp-asm.h.
54160         (S1): Likewise.
54161         (S2): Likewise.
54162         (SIZE): Likewise.
54163         (__mpn_sub_n): Do not use BP_SYM.
54164         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54165         "bp-asm.h".
54166         (PARMS): Do not use macros from bp-asm.h.
54167         (S1): Likewise.
54168         (SIZE): Likewise.
54169         (__mpn_submul_1): Do not use BP_SYM.
54170         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54171         <bp-sym.h>.
54172         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54173         and <bp-asm.h>.
54174         (PARMS): Do not use macros from bp-asm.h.
54175         (FLAGS): Likewise.
54176         (PTID): Likewise.
54177         (TLS): Likewise.
54178         (CTID): Likewise.
54179         (__clone): Do not use BP_SYM.
54180         (clone): Do not use BP_SYM in weak_alias.
54181         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54182         and <bp-asm.h>.
54183         (PARMS): Do not use macros from bp-asm.h.
54184         (LEN): Likewise.
54185         (__mmap64): Do not use BP_SYM.
54186         (mmap64): Do not use BP_SYM in weak_alias.
54187         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54188         <bp-sym.h> and <bp-asm.h>.
54189         (PARMS): Do not use macros from bp-asm.h.
54190         (__posix_fadvise64_l64): Do not use BP_SYM.
54191         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54192         (PARMS): Do not use macros from bp-asm.h.
54193         (NSOPS): Likewise.
54194         (semtimedop): Do not use BP_SYM.
54195         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54196         and <bp-asm.h>.
54198 2013-02-21  Allan McRae  <allan@archlinux.org>
54200         * manual/message.texi (Charset conversion in gettext):
54201         Move @end statement to beginning of line.
54203 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54206         static.
54207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54208         Likewise.
54210         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54211         (denorm): Likewise.
54212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54215 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54217         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54218         tail-call to the resolved function if pltexit isn't needed.
54220 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54223         or Y being zero as being unlikely.
54224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54225         Likewise.
54227 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54229         * manual/nss.texi (System Databases and Name Service Switch):
54230         Remove frobnicate @pxref.
54232 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54234         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54235         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54237 2013-02-20  Petr Machata  <pmachata@redhat.com>
54239         * elf/elf.h (R_ARM_TARGET1): New macro.
54240         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54241         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54242         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54243         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54244         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54245         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54246         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54247         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54248         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54249         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54250         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54251         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54252         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54253         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54254         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54255         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54256         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54257         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54258         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54259         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54260         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54261         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54262         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54263         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54264         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54265         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54266         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54267         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54268         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54269         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54270         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54271         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54272         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54273         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54274         (R_ARM_THM_GOT_BREL12): Likewise.
54275         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54276         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54277         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54278         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54279         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54280         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54281         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54282         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54283         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54285 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54287         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54288         __attribute_used__ to __attribute__ ((unused)).
54290 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54292         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54293         powerpc mpa.c.
54294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54295         comment formatting.
54296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54298 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54300         [BZ #13550]
54301         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54302         Remove macro.
54303         (ENTER): Remove both macro definitions.
54304         (LEAVE): Likewise.
54305         (CHECK_BOUNDS_LOW): Likewise.
54306         (CHECK_BOUNDS_HIGH): Likewise.
54307         (CHECK_BOUNDS_BOTH): Likewise.
54308         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54309         (RETURN_BOUNDED_POINTER): Likewise.
54310         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54311         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54312         (POP_ERRNO_LOCATION_RETURN): Likewise.
54313         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54314         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54315         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54316         macros.
54317         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54318         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54319         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54320         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54321         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54322         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54323         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54324         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54325         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54326         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54327         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54328         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54329         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54330         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54331         removed macros.
54332         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54333         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54334         macros.
54335         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54336         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54337         * sysdeps/i386/i586/memset.S (memset): Likewise.
54338         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54339         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54340         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54341         macros.
54342         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54343         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54344         Change uses of L(2) to L(out).
54345         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54346         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54347         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54348         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54349         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54350         removed macros.
54351         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54352         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54353         macros.
54354         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54355         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54356         (RETURN): Do not use macro LEAVE.
54357         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54358         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54359         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54360         * sysdeps/i386/i686/memset.S (memset): Likewise.
54361         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54362         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54363         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54364         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54365         Likewise.
54366         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54367         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54368         L(1_2) and L(1_3) into L(1).
54369         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54370         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54371         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54372         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54373         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54374         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54375         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54376         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54377         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54378         macros.
54379         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54380         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54381         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54382         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54383         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54384         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54385         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54386         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54387         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54388         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54389         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54390         * sysdeps/i386/strspn.S (strspn): Likewise.
54391         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54392         conditional code.
54393         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54394         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54395         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54396         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54397         L(1_3) into L(1_1).
54398         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54399         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54400         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54401         macros.
54402         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54404 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54406         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54407         macro.
54409 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54411         * math/atest-exp.c (exp_mpn): Remove ROUND.
54412         * math/atest-exp2.c (exp_mpn): Likewise.
54413         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54415         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54416         * stdlib/tst-tls-atexit-lib.c: Likewise.
54417         * stdlib/tst-tls-atexit.c: Likewise.
54419 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54421         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54422         and __attribute_alloc_size__.
54424 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54426         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54427         __attribute_alloc_size__.
54428         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54429         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54431 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54433         * include/programs/xmalloc.h: New file.
54434         * catgets/gencat.c: Include it.
54435         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54436         * elf/pldd.c: Likewise.
54437         * iconv/iconv_charmap.c: Likewise.
54438         * iconv/iconvconfig.c: Likewise.
54439         * iconv/strtab.c: Likewise.
54440         * locale/programs/locale.c: Likewise.
54441         * locale/programs/localedef.h: Likewise.
54442         * locale/programs/simple-hash.c: Likewise.
54443         * nscd/nscd.h: Likewise.
54444         * nss/makedb.c: Likewise.
54445         * sysdeps/generic/ldconfig.h: Likewise.
54447 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54449         * Versions.def: Add GLIBC_2.18.
54450         * include/link.h (struct link_map): New member l_tls_dtor_count.
54451         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54452         (__call_tls_dtors): Likewise.
54453         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54454         __cxa_thread_atexit_impl.
54455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54456         Likewise.
54457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54458         Likewise.
54459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54460         Likewise.
54461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54462         Likewise.
54463         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54465         Likewise.
54466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54467         Likewise.
54468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54470         Likewise.
54471         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54472         (tests): Add test case tst-tls-atexit.
54473         (modules-names): Add shared library for tst-tls-atexit.
54474         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54475         (GLIBC_PRIVATE): Add __call_tls_dtors.
54476         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54477         for libstdc++.
54478         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54479         * stdlib/tst-tls-atexit.c: New test case.
54480         * stdlib/tst-tls-atexit-lib.c: New test case.
54482         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54484         * elf/Versions (ld): Add _dl_find_dso_for_object.
54485         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54486         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54487         (dl_open_worker): Use _dl_find_dso_for_object.
54488         * elf/dl-sym.c (do_sym): Likewise.
54489         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54491 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54493         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54494         Syntactic changes only.
54495         (_dl_runtime_profile): Do a tail-call to the resolved function.
54497 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54499         [BZ #13550]
54500         * sysdeps/x86_64/bp-asm.h: Remove file.
54501         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54502         <bp-sym.h> and <bp-asm.h>.
54503         (__clone): Do not use BP_SYM.
54504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54505         <bp-sym.h> and <bp-asm.h>.
54506         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54507         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54508         "bp-asm.h".
54509         (_setjmp): Do not use BP_SYM.
54510         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54511         "bp-asm.h".
54512         (setjmp): Do not use BP_SYM.
54513         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54514         libc_hidden_def.
54515         (mempcpy): Do not use BP_SYM in weak_alias.
54516         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54517         "bp-asm.h".
54518         (strchr): Do not use BP_SYM.
54519         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54520         "bp-asm.h".
54521         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54522         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54523         (_start): Do not use BP_SYM.
54524         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54525         "bp-asm.h".
54526         (strcat): Do not use BP_SYM.
54527         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54528         "bp-asm.h".
54529         (STRCMP): Do not use BP_SYM.
54530         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54531         "bp-asm.h".
54532         (STRCPY): Do not use BP_SYM.
54533         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54534         "bp-asm.h".
54535         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54536         "bp-asm.h".
54537         (FUNCTION): Do not use BP_SYM.
54538         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54539         weak_alias.
54540         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54542 2013-02-17  Andreas Jaeger  <aj@suse.de>
54544         * time/Versions: Sort entries.
54545         * string/Versions: Likewise.
54546         * resolv/Versions: Likewise.
54547         * posix/Versions: Likewise.
54548         * iconv/Versions: Likewise.
54549         * elf/Versions: Likewise.
54550         * wcsmbs/Versions: Likewise.
54552 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54554         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54555         loop termination condition.
54557         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54558         variable to calculate EZ.
54559         (__sqr): Likewise.
54561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54562         the lower precision input.
54564 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54566         [BZ #13550]
54567         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54568         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54569         (run-via-rtld-prefix): Do not handle %-bp tests.
54570         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54571         (all-object-suffixes): Remove .ob.
54572         (bppfx): Remove variable.
54573         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54574         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54575         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54576         [$(build-bounded) = yes] (libtype.ob): Likewise.
54577         * Makerules (elide-routines.ob): Remove variable.
54578         (do-tests-clean): Do not handle *-bp.out.
54579         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54580         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54581         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54582         (tests): Do not include $(tests-bp.out).
54583         (xtests): Do not include $(xtests-bp.out).
54584         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54585         [$(build-bounded) = yes] ($(addprefix
54586         $(objpfx),$(binaries-bounded))): Remove rule.
54587         ($(objpfx)%-bp.out): Remove rule.
54588         * config.make.in (build-bounded): Remove variable.
54589         * crypt/Makefile [$(build-bounded) = yes]
54590         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54591         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54592         append to variable.
54593         [$(build-bounded) = yes] (install-lib): Likewise.
54594         [$(build-bounded) = yes] (generated): Likewise.
54595         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54596         Remove rule.
54597         * intl/Makefile [$(build-bounded) = yes]
54598         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54599         * math/Makefile [$(build-bounded) = yes]
54600         ($(tests:%=$(objpfx)%-bp): Likewise.
54601         * misc/Makefile [$(build-bounded) = yes]
54602         ($(objpfx)tst-tsearch-bp): Likewise.
54603         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54604         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54605         Remove dependency.
54606         * string/Makefile (o-objects.ob): Remove variable.
54607         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54608         (CFLAGS-.ob): Remove variable.
54609         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54610         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54611         both definitions of variable.
54612         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54613         (ASFLAGS-.ob): Remove variable.
54615 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54617         [BZ #13550]
54618         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54619         Remove __BOUNDED_POINTERS__ from condition.
54620         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54621         * string/bits/string2.h [!__NO_STRING_INLINES &&
54622         !__BOUNDED_POINTERS__]: Likewise.
54623         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54624         Likewise.
54625         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54626         Remove conditional code.
54627         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54628         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54629         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54630         condition.
54632         [BZ #13550]
54633         * csu/libc-start.c: Do not include <bp-sym.h>.
54634         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54635         * elf/dl-open.c: Do not include <bp-sym.h>.
54636         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54637         * math/fegetenv.c: Do not include <bp-sym.h>.
54638         (fegetenv): Do not use BP_SYM in versioned symbols.
54639         * nptl/sysdeps/pthread/bits/libc-lockP.h
54640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54641         <bp-sym.h>.
54642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54643         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54645         (__pthread_mutex_destroy): Likewise.
54646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54647         (__pthread_mutex_lock): Likewise.
54648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54649         (__pthread_mutex_trylock): Likewise.
54650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54651         (__pthread_mutex_unlock): Likewise.
54652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54653         (__pthread_mutexattr_init): Likewise.
54654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54655         (__pthread_mutexattr_destroy): Likewise.
54656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54657         (__pthread_mutexattr_settype): Likewise.
54658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54659         (__pthread_rwlock_init): Likewise.
54660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54661         (__pthread_rwlock_destroy): Likewise.
54662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54663         (__pthread_rwlock_rdlock): Likewise.
54664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54665         (__pthread_rwlock_tryrdlock): Likewise.
54666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54667         (__pthread_rwlock_wrlock): Likewise.
54668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54669         (__pthread_rwlock_trywrlock): Likewise.
54670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54671         (__pthread_rwlock_unlock): Likewise.
54672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54673         (__pthread_key_create): Likewise.
54674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54675         (__pthread_setspecific): Likewise.
54676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54677         (__pthread_getspecific): Likewise.
54678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54679         Likewise.
54680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54681         (_pthread_cleanup_push_defer): Likewise.
54682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54683         (_pthread_cleanup_pop_restore): Likewise.
54684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54685         (pthread_setcancelstate): Likewise.
54686         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54687         <bp-sym.h>.
54688         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54689         (memchr): Do not use BP_SYM in weak_alias.
54690         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54691         (fegetenv): Do not use BP_SYM in versioned symbols.
54692         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54693         (fesetenv): Do not use BP_SYM in versioned symbols.
54694         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54695         (feupdateenv): Do not use BP_SYM in versioned symbols.
54696         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54697         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54698         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54699         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54700         (open64): Do not use BP_SYM in weak_alias.
54701         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54702         (fegetenv): Do not use BP_SYM in versioned symbols.
54703         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54704         (fesetenv): Do not use BP_SYM in versioned symbols.
54705         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54706         (feupdateenv): Do not use BP_SYM in versioned symbols.
54707         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54708         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54709         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54710         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54711         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54712         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54713         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54714         <bp-sym.h>.
54715         (__libc_start_main): Do not use BP_SYM.
54717 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54720         redundant return line.
54721         (norm): Likewise.
54722         (denorm): Likewise.
54723         (dbl_mp): Likewise.
54724         (sub_magnitudes): Likewise.
54725         (__add): Likewise.
54726         (__sub): Likewise.
54727         (__mul): Likewise.
54728         (__inv): Likewise.
54729         (__dvd): Likewise.
54730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54731         (norm): Likewise.
54732         (denorm): Likewise.
54733         (dbl_mp): Likewise.
54734         (sub_magnitudes): Likewise.
54735         (__add): Likewise.
54736         (__sub): Likewise.
54737         (__mul): Likewise.
54738         (__inv): Likewise.
54739         (__dvd): Likewise.
54741         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54742         instead of __mul.
54743         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54744         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54745         (cc32): Likewise.
54747         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54748         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54750         of __mul for squares.
54751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54752         function
54753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54754         Likewise.
54755         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54756         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54758 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54760         [BZ #13550]
54761         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54762         code.
54763         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54764         prototype or function definition.  Rename ubp_* variables and
54765         parameters.  Remove argv definitions conditional on
54766         [__BOUNDED_POINTERS__].
54767         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54768         * elf/dl-runtime.c (_dl_fixup): Likewise.
54769         * include/set-hooks.h (RUN_HOOK): Likewise.
54770         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54771         definition.
54772         * string/strcpy.c (strcpy): Do not use __unbounded.
54773         * sysdeps/generic/frame.h (struct layout): Likewise.
54774         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54775         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54776         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54777         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54778         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54779         (__backtrace): Likewise.
54780         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54781         use __ptrvalue.
54782         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54783         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54784         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54785         Likewise.
54786         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54787         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54788         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54789         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54790         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54791         Do not use __unbounded.
54792         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54793         Rename __unboundedrlimits parameter to rlimits in prototype.
54794         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54795         Do not use __unbounded.
54796         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54797         not use __ptrvalue.
54798         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54799         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54800         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54801         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54802         __ptrvalue or __unbounded.
54803         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54804         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54805         use __unbounded.
54806         (__new_msgctl): Do not use __ptrvalue.
54807         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54808         __unbounded.
54809         (__libc_msgrcv): Do not use __ptrvalue.
54810         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54811         startup_info): Do not use __unbounded.
54812         (__libc_start_main): Likewise.  Rename ubp_* variables and
54813         parameters.  Remove argv definitions conditional on
54814         [__BOUNDED_POINTERS__].
54815         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54816         __ptrvalue.
54817         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54818         use __unbounded.
54819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54820         or __ptrvalue.
54821         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54822         use __unbounded.
54823         (__new_shmctl): Do not use __ptrvalue.
54824         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54825         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54826         Likewise.
54827         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54828         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54829         (__libc_sigaction): Likewise.
54830         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54831         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54832         Likewise.
54833         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54835 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54837         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54839         * string/mempcpy.c: Implement by calling memcpy.
54841 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54845         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54846         evaluation.
54848         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54849         values in the mantissa.
54851         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54852         minimize writes to Z.
54853         (sub_magnitudes): Simplify code a bit.
54855 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54857         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54858         from the message.  The linker prefixes all warnings with that already.
54860 2013-02-12  Andreas Schwab  <schwab@suse.de>
54862         [BZ #15078]
54863         * posix/regexec.c (extend_buffers): Add parameter min_len.
54864         (check_matching): Pass minimum needed length.
54865         (clean_state_log_if_needed): Likewise.
54866         (get_subexp): Likewise.
54867         * posix/Makefile (tests): Add bug-regex34.
54868         (bug-regex34-ENV): Define.
54869         * posix/bug-regex34.c: New file.
54871         [BZ #11561]
54872         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54873         elements compare against the byte sequence of it, not its name.
54874         * posix/Makefile (tests): Add bug-regex35.
54875         (bug-regex35-ENV): Define.
54876         * posix/bug-regex35.c: New file.
54878 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54880         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54881         comment.
54882         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54883         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54884         (CHECK_EOL): Add undef.
54886 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54888         * bits/stdlib-bsearch.h: New file.
54889         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54890         * stdlib/stdlib.h: Likewise.
54892 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54894         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54895         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54896         declaration.
54897         * manual/search.texi (Array Search Function): Add missing const in
54898         lfind prototype.
54899         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54900         declaration to use rlim_t.
54901         (Basic Scheduling Functions): Remove erroneous const from
54902         sched_getparam prototype.  Remove erroneous * from
54903         sched_get_priority_max and sched_get_priority_min prototypes.
54904         (Resource Usage): Fix summary @comment on vtimes to refer to
54905         sys/vtimes.h rather than vtimes.h.
54906         Add missing *s in vtimes prototype.
54907         (Limits on Resources): Fix ulimit prototype to return long int.
54908         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54909         prototypes to use long int rather than double.
54910         (BSD Random): Fix initstate and setstate to use char *, not void *.
54911         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54912         prototype to make second argument 'struct aiocb64 *const[]'.
54913         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54914         (Status of AIO Operations): Remove erroneous const in aio_return and
54915         aio_return64 prototypes.
54916         (Synchronizing I/O): Fix sync prototype to return void.
54917         * manual/startup.texi (Suboptions): Remove an erroneous const in
54918         getsubopt prototype.
54919         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54920         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54921         use size_t rather than int.
54922         (Scanning All Users): Likewise for getpwent_r.
54923         (Setting Groups): Add missing const to setgroups prototype.
54924         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54925         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54926         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54927         'const void *' rather than 'const char *'.
54928         (Host Address Functions): Likewise for inet_ntop.
54929         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54930         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54931         ssize_t for return value.
54932         (Sending Data): Likewise for send, sendto, sendmsg.
54933         (Socket Option Functions): Add a missing const in setsockopt prototype.
54934         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54935         use wchar_t for the argument.
54936         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54937         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54938         take no arguments.
54939         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54940         double/float/long double for second argument.
54941         Fix return types of significand, significandf, significandl.
54942         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54943         argument in fchmod prototype.
54944         (File Owner): Use uid_t and gid_t in fchown prototype.
54945         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54946         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54947         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54948         use 'const struct dirent **' as argument types to CMP function pointer
54949         argument.
54950         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54951         (File Times): Fix summary magic @comment for struct utimbuf and utime
54952         to refer to utime.h, not time.h.
54953         * manual/string.texi (Argz Functions): Add missing const in
54954         argz_extract and argz_next prototypes.
54955         (Finding Tokens in a String): Likewise for basename.
54956         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54957         (Copying and Concatenation): Fix typo in wmemmove prototype.
54958         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54959         (Signal Stack): Remove erroneous const in sigstack prototype.
54960         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54961         prototype.
54962         (Simple Calendar Time): Likewise for stime.
54963         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54964         prototype.
54965         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54966         say sys/sysctl.h instead.
54967         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54968         and vsyslog prototypes.
54970 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54972         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54973         Remove.
54975 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54977         * misc/sys/mman.h: Fix typo in mremap comment.
54979 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54981         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54982         the '\0' terminator.
54984 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54986         [BZ #13550]
54987         * debug/segfault.c: Don't include <bp-checks.h>.
54988         * sysdeps/generic/bp-checks.h: Remove file.
54989         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54990         (__GETDENTS): Don't use CHECK_N.
54991         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54992         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54993         (__getgroups): Don't use CHECK_N.
54994         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54995         (setgroups): Don't use CHECK_N.
54996         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54997         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54998         (__libc_msgrcv): Don't use CHECK_N.
54999         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55000         (__libc_msgsnd): Don't use CHECK_N.
55001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55002         <bp-checks.h>.
55003         (__libc_pread): Don't use CHECK_N.
55004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55005         include <bp-checks.h>.
55006         (__libc_pread64): Don't use CHECK_N.
55007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55008         include <bp-checks.h>.
55009         (__libc_pwrite): Don't use CHECK_N.
55010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55011         include <bp-checks.h>.
55012         (__libc_pwrite64): Don't use CHECK_N.
55013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55014         <bp-checks.h>.
55015         (__libc_pread): Don't use CHECK_N.
55016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55017         include <bp-checks.h>.
55018         (__libc_pread64): Don't use CHECK_N.
55019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55020         include <bp-checks.h>.
55021         (__libc_pwrite): Don't use CHECK_N.
55022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55023         include <bp-checks.h>.
55024         (__libc_pwrite64): Don't use CHECK_N.
55025         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55026         (do_pread): Don't use CHECK_N.
55027         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55028         (do_pread64): Don't use CHECK_N.
55029         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55030         (do_pwrite): Don't use CHECK_N.
55031         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55032         (do_pwrite64): Don't use CHECK_N.
55033         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55034         (__libc_readv): Don't use CHECK_N.
55035         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55036         (semop): Don't use CHECK_N.
55037         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55038         <bp-checks.h>.
55039         (semtimedop): Don't use CHECK_N.
55040         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55041         (__libc_pread): Don't use CHECK_N.
55042         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55043         <bp-checks.h>.
55044         (__libc_pread64): Don't use CHECK_N.
55045         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55046         <bp-checks.h>.
55047         (__libc_pwrite): Don't use CHECK_N.
55048         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55049         <bp-checks.h>.
55050         (__libc_pwrite64): Don't use CHECK_N.
55051         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55052         <bp-checks.h>.
55053         (__libc_msgrcv): Don't use CHECK_N.
55054         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55055         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55056         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55057         (__libc_writev): Don't use CHECK_N.
55059 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55061         * string/strcpy.c: Removed unused variable.
55063         * Makeconfig (+sysdep-includes): Define with := rather than =.
55064         Use an existing include/ subdir of each sysdeps dir before it.
55066 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55068         * nscd/connection.c (register_traced_file): Comment function.
55069         [HAVE_INOTIFY] (union __inev): Define.
55070         [HAVE_INOTIFY] (inotify_check_files): New function.
55071         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55072         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55073         clear_db_cache.
55074         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55076 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55078         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55079         loaded if not already and that a failure is permanent.
55081 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55083         [BZ #15006]
55084         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55085         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55087 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55089         [BZ #13550]
55090         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55091         (CHECK_1_NULL_OK): Likewise.
55092         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55093         (__fxstat): Do not use CHECK_1.
55094         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55095         <bp-checks.h>.
55096         (___fxstat64): Do not use CHECK_1.
55097         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55098         <bp-checks.h>.
55099         (__fxstatat): Do not use CHECK_1.
55100         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55101         <bp-checks.h>.
55102         (__fxstatat64): Do not use CHECK_1.
55103         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55104         <bp-checks.h>.
55105         (__fxstat): Do not use CHECK_1.
55106         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55107         <bp-checks.h>.
55108         (__fxstatat): Do not use CHECK_1.
55109         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55110         <bp-checks.h>.
55111         (__getresgid): Do not use CHECK_1.
55112         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55113         <bp-checks.h>.
55114         (__getresuid): Do not use CHECK_1.
55115         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55116         <bp-checks.h>.
55117         (__lxstat): Do not use CHECK_1.
55118         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55119         <bp-checks.h>.
55120         (__old_msgctl): Do not use CHECK_1.
55121         (__new_msgctl): Likewise.
55122         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55123         <bp-checks.h>.
55124         (__new_setrlimit): Do not use CHECK_1.
55125         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55126         <bp-checks.h>.
55127         (__old_shmctl): Do not use CHECK_1.
55128         (__new_shmctl): Likewise.
55129         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55130         <bp-checks.h>.
55131         (__xstat): Do not use CHECK_1.
55132         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55133         (__lxstat): Do not use CHECK_1.
55134         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55135         <bp-checks.h>.
55136         (___lxstat64): Do not use CHECK_1.
55137         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55138         (__old_msgctl): Do not use CHECK_1.
55139         (__new_msgctl): Likewise.
55140         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55141         <bp-checks.h>.
55142         (__gettimeofday): Do not use CHECK_1.
55143         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55144         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55145         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55146         <bp-checks.h>.
55147         (__gettimeofday): Do not use CHECK_1.
55148         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55149         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55150         (__new_shmctl): Do not use CHECK_1.
55151         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55152         <bp-checks.h>.
55153         (do_sigtimedwait): Do not use CHECK_1.
55154         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55155         <bp-checks.h>.
55156         (do_sigwaitinfo): Do not use CHECK_1.
55157         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55158         <bp-checks.h>.
55159         (msgctl): Do not use CHECK_1.
55160         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55161         <bp-checks.h>.
55162         (shmctl): Do not use CHECK_1.
55163         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55164         (ustat): Do not use CHECK_1.
55165         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55166         <bp-checks.h>.
55167         (__fxstat): Do not use CHECK_1.
55168         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55169         <bp-checks.h>.
55170         (__fxstatat): Do not use CHECK_1.
55171         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55172         <bp-checks.h>.
55173         (__lxstat): Do not use CHECK_1.
55174         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55175         <bp-checks.h>.
55176         (__xstat): Do not use CHECK_1.
55177         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55178         (__xstat): Do not use CHECK_1.
55179         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55180         (___xstat64): Do not use CHECK_1.
55182         [BZ #13550]
55183         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55184         definitions.
55185         (CHECK_BOUNDS_HIGH): Likewise.
55186         * string/strcpy.c: Do not include <bp-checks.h>.
55187         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55189 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55191         * nscd/nscd-client.h (__nscd_drop_map_ref):
55192         Add __attribute__ ((unused)).
55193         * nis/nss-nisplus.h (niserr2nss): Likewise.
55195         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55196         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55198         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55199         Remove inline keyword.
55200         * include/rounding-mode.h (round_away): Likewise.
55201         * libio/wfileops.c (adjust_wide_data): Likewise.
55202         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55203         (__m128i_strloadu_tolower): Likewise.
55204         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55205         (__m128i_strloadu_tolower): Likewise.
55206         * time/mktime.c (ydhms_diff): Likewise.
55207         * locale/elem-hash.h (elem_hash): Likewise.
55208         * locale/setlocale.c (setdata): Likewise.
55209         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55210         (re_string_wchar_at): Likewise.
55211         (bitset_not, bitset_merge, bitset_mask): Likewise.
55212         [!(__GNUC__ > 3)] (inline): Remove macro.
55213         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55214         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55215         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55216         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55217         * string/memcmp.c (memcmp_bytes): Likewise.
55218         * locale/programs/locarchive.c (compute_hashval): Likewise.
55219         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55220         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55221         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55222         * nss/getent.c (print_rpc, print_protocols): Likewise.
55223         (print_passwd, print_group, print_aliases): Likewise.
55224         * nis/nss-nisplus.h (niserr2nss): Likewise.
55225         * nscd/connections.c (restart_p): Likewise.
55226         Change return type to bool.
55228 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55230         * Makeconfig (all-Depend-files): Add existing
55231         $(sorted-subdirs:=/Depend) files.
55232         (all-subdirs): Remove nss.
55233         * sysdeps/unix/inet/Subdirs: Add it here instead.
55234         * hesiod/Depend: New file.
55236         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55237         instead of calling alloca.
55239         * io/lseek.c (__lseek): Rename to __libc_lseek.
55240         Define __lseek as an alias.
55242         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55244 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55246         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55247         else clause and remove check for non-standard endianness.
55249 2013-02-04  David S. Miller  <davem@davemloft.net>
55251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55253 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55255         [BZ #13550]
55256         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55257         (__ubp_memchr): Remove prototype.
55258         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55259         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55260         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55261         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55262         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55263         Remove alias.
55264         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55265         (__ubp_memchr): Likewise.
55266         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55267         (__ubp_memchr): Likewise.
55268         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55269         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55270         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55271         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55272         CHECK_STRING.
55273         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55274         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55275         (__getcwd): Do not use CHECK_STRING.
55276         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55277         <bp-checks.h>.
55278         (__real_chown): Do not use CHECK_STRING.
55279         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55280         <bp-checks.h>.
55281         (fchownat): Do not use CHECK_STRING.
55282         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55283         CHECK_STRING.
55284         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55285         <bp-checks.h>.
55286         (__lchown): Do not use CHECK_STRING.
55287         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55288         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55289         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55290         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55292         include <bp-checks.h>.
55293         (truncate64): Do not use CHECK_STRING.
55294         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55295         <bp-checks.h>.
55296         (__real_chown): Do not use CHECK_STRING.
55297         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55298         <bp-checks.h>.
55299         (__lchown): Do not use CHECK_STRING.
55300         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55301         <bp-checks.h>.
55302         (__chown): Do not use CHECK_STRING.
55303         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55304         <bp-checks.h>.
55305         (truncate64): Do not use CHECK_STRING.
55306         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55307         Likewise.
55308         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55309         (__xmknod): Do not use CHECK_STRING.
55310         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55311         <bp-checks.h>.
55312         (__xmknodat): Do not use CHECK_STRING.
55313         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55314         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55316 2013-02-04  Andreas Schwab  <schwab@suse.de>
55318         [BZ #14142]
55319         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55320         * include/netdb.h: Likewise for h_errno.
55321         * elf/tst-stackguard1.c: Include <tls.h>.
55323 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55325         * elf/link.h (struct link_map): Extend the l_addr comment.
55326         * include/link.h (struct link_map): Likewise.
55328 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55330         [BZ #13550]
55331         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55332         (BOUNDED_1): Remove macro.
55333         * debug/backtrace.c: Don't include <bp-checks.h>.
55334         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55335         (__backtrace): Likewise.
55336         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55337         <bp-checks.h>.
55338         (__backtrace): Don't use BOUNDED_1.
55339         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55340         <bp-checks.h>.
55341         (__backtrace): Don't use BOUNDED_1.
55342         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55343         (__backtrace): Don't use BOUNDED_1.
55344         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55345         (shmat): Don't use BOUNDED_N.
55347 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55349         [BZ #13550]
55350         * sysdeps/generic/bp-start.h: Remove file.
55351         * csu/libc-start.c: Don't include <bp-start.h>.
55352         (LIBC_START_MAIN): Set up __environ directly instead of using
55353         INIT_ARGV_and_ENVIRON.
55354         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55355         <bp-start.h>.
55357         [BZ #13550]
55358         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55359         definitions.
55360         (CHECK_FCNTL): Likewise.
55361         (CHECK_N_PAGES): Likewise.
55363         [BZ #13550]
55364         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55365         definitions.
55366         (CHECK_SIGSET_NULL_OK): Likewise.
55367         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55368         <bp-checks.h>.
55369         (sigpending): Don't use CHECK_SIGSET.
55370         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55371         <bp-checks.h>.
55372         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55373         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55374         <bp-checks.h>.
55375         (do_sigsuspend): Don't use CHECK_SIGSET.
55376         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55377         use CHECK_SIGSET.
55378         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55379         (do_sigwait): Don't use CHECK_SIGSET.
55380         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55381         use CHECK_SIGSET.
55382         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55383         include <bp-checks.h>.
55384         (sigpending): Don't use CHECK_SIGSET.
55385         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55386         include <bp-checks.h>.
55387         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55388         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55389         <bp-checks.h>.
55390         (sigpending): Don't use CHECK_SIGSET.
55391         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55392         <bp-checks.h>.
55393         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55395         [BZ #13550]
55396         * sysdeps/generic/bp-semctl.h: Remove file.
55397         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55398         <bp-checks.h> and <bp-semctl.h>.
55399         (__old_semctl): Don't use CHECK_SEMCTL.
55400         (__new_semctl): Likewise.
55401         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55402         and <bp-semctl.h>.
55403         (__old_semctl): Don't use CHECK_SEMCTL.
55404         (__new_semctl): Likewise.
55405         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55406         <bp-checks.h> and <bp-semctl.h>.
55407         (__old_semctl): Don't use CHECK_SEMCTL.
55408         (__new_semctl): Likewise.
55409         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55410         <bp-checks.h> and <bp-semctl.h>.
55411         (semctl): Don't use CHECK_SEMCTL.
55413         [BZ #13550]
55414         * Makerules (elide-bp-thunks): Remove variable.
55415         (elide-routines.oS): Don't use $(elide-bp-thunks).
55416         (elide-routines.os): Likewise.
55417         (elide-routines.o): Likewise.
55418         (elide-routines.op): Likewise.
55419         (elide-routines.og): Likewise.
55420         (objects): Don't use $(bp-thunks).
55421         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55422         include.
55423         (common-generated): Do not add s-proto-bp.d.
55424         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55425         (int): Likewise.
55426         (typ): Likewise.
55427         Do not generate makefile rules for bounded-pointer thunks.
55428         * sysdeps/generic/bp-thunks.h: Remove file.
55429         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55430         * sysdeps/unix/s-proto-bp.S: Likewise.
55432         [BZ #15062]
55433         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55434         parts of result separately when argument is not close to line from
55435         -i to i and one part of argument is small.
55436         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55437         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55438         * math/libm-test.inc (cacos_test): Add more tests.
55439         (casin_test): Likewise.
55440         (casinh_test): Likewise.
55441         * sysdeps/i386/fpu/libm-test-ulps: Update.
55442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55444 2013-01-31  David S. Miller  <davem@davemloft.net>
55446         * po/de.po: Update from translation team.
55448 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55450         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55452 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55454         * configure.in (_AC_PROG_CC_C89): New definition.
55455         * configure: Regenerate.
55457         * configure.in (AC_PROG_CPP): New definition.
55458         * configure: Regenerate.
55460 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55462         * debug/tst-backtrace.h: New file.
55463         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55464         (ret): Remove variable.
55465         (x): Likewise.
55466         (FAIL): Remove macro.
55467         (NO_INLINE): Likewise.
55468         (fn1): Use match function instead of strstr.
55469         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55470         (ret): Remove variable.
55471         (x): Likewise.
55472         (FAIL): Remove macro.
55473         (NO_INLINE): Likewise.
55474         (fn): Use match function instead of strstr.
55475         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55476         (ret): Remove variable.
55477         (x): Likewise.
55478         (FAIL): Remove macro.
55479         (NO_INLINE): Likewise.
55480         (handle_signal): Use match function instead of strstr.
55481         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55482         (ret): Remove variable.
55483         (x): Likewise.
55484         (FAIL): Remove macro.
55485         (NO_INLINE): Likewise.
55486         (handle_signal): Use match function instead of strstr.
55488 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55490         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55492 2013-01-23  David S. Miller  <davem@davemloft.net>
55494         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55495         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55496         argument of CAS if possible.
55497         * sysdeps/sparc/sparc64/bits/atomic.h
55498         (__arch_compare_and_exchange_val_32_acq): Likewise.
55499         (__arch_compare_and_exchange_val_64_acq): Likewise.
55501 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55503         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55504         * sysdeps/posix/ulimit.c: ... this.
55505         Include <limits.h>.
55506         * sysdeps/unix/bsd/ulimit.c: Remove file.
55508 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55510         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55511         (LDFLAGS-tst-array5): Likewise.
55513 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55515         [BZ #15036]
55516         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55517         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55518         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55519         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55521 2013-01-21  David S. Miller  <davem@davemloft.net>
55523         * sysdeps/sparc/backtrace.c: New file.
55524         * sysdeps/sparc/sparc32/backtrace.h: New file.
55525         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55526         * sysdeps/sparc/sparc64/backtrace.h: New file.
55527         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55528         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55529         -funwind-tables.
55531 2013-01-21  Andreas Schwab  <schwab@suse.de>
55533         [BZ #15020]
55534         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55535         closed its stdout.
55537 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55540         "mpa2.h".
55541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55543 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55544             Mark Mitchell  <mark@codesourcery.com>
55545             Tom de Vries  <tom@codesourcery.com>
55546             Paul Pluzhnikov  <ppluzhnikov@google.com>
55548         * debug/tst-backtrace2.c: New file.
55549         * debug/tst-backtrace3.c: Likewise.
55550         * debug/tst-backtrace4.c: Likewise.
55551         * debug/tst-backtrace5.c: Likewise.
55552         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55553         (CFLAGS-tst-backtrace3.c): Likewise.
55554         (CFLAGS-tst-backtrace4.c): Likewise.
55555         (CFLAGS-tst-backtrace5.c): Likewise.
55556         (LDFLAGS-tst-backtrace2): Likewise.
55557         (LDFLAGS-tst-backtrace3): Likewise.
55558         (LDFLAGS-tst-backtrace4): Likewise.
55559         (LDFLAGS-tst-backtrace5): Likewise.
55560         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55561         tst-backtrace4 and tst-backtrace5.
55563 2013-01-18  Anton Blanchard  <anton@samba.org>
55564             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55566         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55567         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55568         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55569         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55571         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55572         "+r" and remove output regs list as redundant.  Add explicit inline
55573         asm to specify register of return val to work around compiler codegen
55574         bug.  Remove (int) cast on return value.  Add return type parameter to
55575         use in macro so that this macro does not truncate return value for
55576         64-bit values.
55577         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55578         pass to INTERNAL_VSYSCALL_NCS.
55579         (INLINE_VSYSCALL): Add 'long int' as return type to
55580         INTERNAL_VSYSCALL_NCS macro invocation.
55581         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55582         INTERNAL_VSYSCALL_NCS macro invocation.
55583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55585 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55587         [BZ #14496]
55588         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55589         Fix application of SIMD FP exception mask.
55591         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55592         mp_no from a power of two.
55593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55594         __mpexp_twomm1.  Use __pow_mp.
55596         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55597         multiplication.
55599 2013-01-17  David S. Miller  <davem@davemloft.net>
55601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55603 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55605         [BZ #15023]
55606         * include/complex.h: Condition contents on [!_COMPLEX_H].
55607         (__kernel_casinhf): New prototype.
55608         (__kernel_casinh): Likewise.
55609         (__kernel_casinhl): Likewise.
55610         * math/Makefile (libm_calls): Add k_casinh.
55611         * math/k_casinh.c: New file.
55612         * math/k_casinhf.c: Likewise.
55613         * math/k_casinhl.c: Likewise.
55614         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55615         finite nonzero arguments.
55616         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55617         finite nonzero arguments.
55618         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55619         finite nonzero arguments.
55620         * math/s_casinh.c: Do not include <float.h>.
55621         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55622         * math/s_casinhf.c: Do not include <float.h>.
55623         (__casinhf): Move code for finite nonzero arguments to
55624         k_casinhf.c.
55625         * math/s_casinhl.c: Do not include <float.h>.
55626         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55627         redefine.
55628         (__casinhl): Move code for finite nonzero arguments to
55629         k_casinhl.c.
55630         * math/libm-test.inc (cacos_test): Add more tests.
55631         * sysdeps/i386/fpu/libm-test-ulps: Update.
55632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55634 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55636         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55637         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55638         [!HAVE_MREMAP]: Remove [defined linux] case.
55639         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55641 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55643         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55645 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55647         * elf/elf.h (R_386_SIZE32): New relocation.
55648         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55649         R_386_SIZE32.
55650         (elf_machine_rela): Likewise.
55651         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55652         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55654 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55656         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55657         (FP_FAST_FMA): Do not define.
55658         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55659         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55660         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55661         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55662         !_SOFT_FLOAT]: Likewise.
55663         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55664         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55665         value.
55666         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55667         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55668         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55669         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55670         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55671         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55672         file.
55674 2013-01-16  Andreas Schwab  <schwab@suse.de>
55676         [BZ #14327]
55677         * include/stdlib.h (__mktemp): Add declaration.
55678         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55679         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55681 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55683         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55684         definitions.
55685         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55686         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55687         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55688         definitions here.
55689         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55690         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55691         definitions.
55692         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55693         and ONE.
55694         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55695         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55696         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55697         definitions.
55698         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55699         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55700         definitions.
55701         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55703         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55705 2013-01-15  David S. Miller  <davem@davemloft.net>
55707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55708         trunc{,f} to libm-sysdep_routes.
55709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55711         file.
55712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55714         file.
55715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55716         file.
55717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55719         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55720         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55721         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55722         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55723         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55724         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55727         nearbyint{,f} to libm-sysdep_routes.
55728         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55730         New file.
55731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55732         file.
55733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55734         New file.
55735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55736         file.
55737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55739         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55740         file.
55741         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55742         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55743         file.
55744         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55745         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55746         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55748         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55749         libc_feholdexcept and libc_fesetenv.
55751 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55753         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55755 2013-01-14  David S. Miller  <davem@davemloft.net>
55757         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55758         (SPARC_ASM_VIS2_IFUNC): Likewise.
55759         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55761         use of 'siam' instruction.
55762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55763         Likewise.
55764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55765         Likewise.
55766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55767         Likewise.
55768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55773         file.
55774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55775         file.
55776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55777         file.
55778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55779         file.
55780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55785         new VIS2 routines.
55786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55789         Likewise.
55790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55795         routines to libm-sysdep_routines.
55796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55799         fdim/fdimf to libm-sysdep_routines.
55800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55801         file.
55802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55804         file.
55805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55808         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55809         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55810         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55811         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55813 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55815         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55816         to optimize copies.
55818         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55823         local variable MPTWO.
55824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55825         Likewise.
55827 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55829         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55830         GLOB_NOESCAPE.
55832 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55834         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55836 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55838         * manual/pattern.texi (glob_t): Document gl_flags.
55839         (glob64_t): Likewise.
55841 2013-01-11  David S. Miller  <davem@davemloft.net>
55843         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55844         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55845         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55846         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55847         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55848         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55849         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55850         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55851         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55852         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55853         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55854         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55855         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55857         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55858         sparc V9 rather than using V8 code.
55859         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55860         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55862         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55863         Move to...
55864         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55865         Here.
55867 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55869         [BZ #14941]
55870         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55871         not in the main loop.
55872         * configure: Regenerated.
55874 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55876         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55877         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55878         to just #else.
55879         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55880         [!__GLIBC_HAVE_LONG_LONG] case.
55881         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55882         condition to just #else.
55883         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55884         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55885         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55886         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55887         unconditional.
55888         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55889         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55890         #elif condition to just #else.
55891         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55892         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55893         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55894         #elif condition to just #else.
55896 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55898         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55899         (EF_MIPS_ARCH_64): Fix value.
55900         (EF_MIPS_ARCH_32R2): New.
55901         (EF_MIPS_ARCH_64R2): New.
55903 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55905         * Makeconfig (+link-pie-before-libc): New.
55906         (+link-pie-after-libc): Likewise.
55907         (+link-pie-tests): Likewise.
55908         (+link-pie): Rewritten.
55909         (link-before-libc): Remove $(config-LDFLAGS).
55910         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55911         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55912         (config-LDFLAGS): Renamed to ...
55913         (rtld-LDFLAGS): This.
55914         (rtld-tests-LDFLAGS): New macro.
55915         (link-libc-rpath-link): Likewise.
55916         (link-libc-tests-rpath-link): Likewise.
55917         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55918         (link-libc): Prepand $(link-libc-rpath-link).
55919         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55920         (test-program-prefix): New macro.
55921         (test-via-rtld-prefix): Likewise.
55922         (test-program-cmd): Likewise.
55923         (host-test-program-cmd): Likewise.
55924         * Makefile ($(common-objpfx)testrun.sh): Replace
55925         $(run-program-prefix) with $(test-program-prefix).
55926         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55927         $(rtld-LDFLAGS).
55928         ($(common-objpfx)shlib.lds): Likewise.
55929         (build-module-helper): Likewise.
55930         ($(common-objpfx)format.lds): Likewise.
55931         * Rules (binaries-pie-tests): New.
55932         (binaries-pie-notests): Likewise.
55933         (binaries-pie): Rewritten.
55934         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55935         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55936         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55937         (make-test-out): Replace $(host-built-program-cmd) with
55938         $(host-test-program-cmd).
55939         * config.make.in (build-hardcoded-path-in-tests): New variable.
55940         * configure.in (--enable-hardcoded-path-in-tests): New configure
55941         option.
55942         (hardcoded_path_in_tests): New AC_SUBST.
55943         * configure: Regenerated.
55944         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55945         $(built-program-cmd) with $(test-program-cmd).
55946         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55947         (test_program_cmd): This.
55948         * elf/Makefile ($(objpfx)order.out): Run test with
55949         $(test-program-prefix).
55950         ($(objpfx)order2.out): Likewise.
55951         ($(objpfx)tst-initorder.out): Likewise.
55952         ($(objpfx)tst-initorder2.out): Likewise.
55953         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55954         $(test-program-cmd).
55955         ($(objpfx)tst-array1-static.out): Likewise.
55956         ($(objpfx)tst-array2.out): Likewise.
55957         ($(objpfx)tst-array3.out): Likewise.
55958         ($(objpfx)tst-array4.out): Likewise.
55959         ($(objpfx)tst-array5.out): Likewise.
55960         ($(objpfx)tst-array5-static.out): Likewise.
55961         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55962         $(test-program-cmd).
55963         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55964         $(run-program-prefix) with $(test-program-prefix).
55965         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55966         (test_program_prefix): This.
55967         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55968         $(run-program-prefix) with $(test-program-prefix).
55969         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55970         (test_program_prefix): This.
55971         * iconvdata/tst-tables.sh: Likewise.
55972         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55973         $(run-program-prefix) with $(test-program-prefix).
55974         ($(objpfx)tst-translit.out): Likewise.
55975         ($(objpfx)tst-gettext2.out): Likewise.
55976         ($(objpfx)tst-gettext4.out): Likewise.
55977         ($(objpfx)tst-gettext6.out): Likewise.
55978         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55979         (test_program_prefix): This.
55980         * intl/tst-gettext2.sh: Likewise.
55981         * intl/tst-gettext4.sh  Likewise.
55982         * intl/tst-gettext6.sh: Likewise.
55983         * intl/tst-translit.sh: Likewise.
55984         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55985         with $(test-program-cmd).
55986         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55987         $(run-program-prefix) with $(test-program-prefix).
55988         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55989         (test_program_prefix): This.
55990         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55991         $(run-program-prefix) with $(test-program-prefix).
55992         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55993         (test_program_prefix): This.
55994         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55995         * posix/Makefile ($(objpfx)globtest.out): Replace
55996         $(run-via-rtld-prefix) and $(test-wrapper) with
55997         $(test-program-prefix) and $(test-via-rtld-prefix).
55998         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55999         $(test-program-prefix).
56000         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56001         $(host-test-program-cmd).
56002         (tst-spawn-ARGS): Likewise.
56003         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56004         $(test-program-prefix).
56005         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56006         (test_via_rtld_prefix): This.
56007         (test_wrapper): Renamed to ...
56008         (test_program_prefix): This.
56009         (run_program_prefix): Replaced by test_program_prefix.
56010         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56011         (test_program_prefix): This.
56012         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56013         with $(host-test-program-cmd).
56014         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56015         $(run-program-prefix) with $(test-program-prefix).
56016         ($(objpfx)tst-printf.out): Likewise.
56017         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56018         $(test-program-cmd).
56019         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56020         (test_program_prefix): This.
56021         * stdio-common/tst-unbputc.sh: Likewise.
56022         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56023         $(run-program-prefix) with $(test-program-prefix).
56024         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56025         (test_program_prefix): This.
56026         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56027         $(built-program-cmd) with $(test-program-cmd).
56029 2013-01-11  Andreas Jaeger  <aj@suse.de>
56031         [BZ #15003]
56032         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56033         value. Sync with Linux 3.7.
56035 2013-01-10  David S. Miller  <davem@davemloft.net>
56037         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56038         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56039         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56041 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56043         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56044         never set.
56045         * configure: Regenerated.
56047 2013-01-10  David S. Miller  <davem@davemloft.net>
56049         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56050         sparc V9 rather than using V8 code.
56051         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56052         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56054 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56056         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56057         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56058         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56059         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56060         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56061         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56062         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56063         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56064         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56065         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56066         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56067         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56068         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56069         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56070         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56071         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56072         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56073         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56074         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56075         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56076         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56077         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56078         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56079         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56080         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56081         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56082         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56084 2013-01-10  David S. Miller  <davem@davemloft.net>
56086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56088 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56090         * posix/Makefile (tests-static): New variable.
56091         (tests): Add $(tests-static).
56092         (tst-exec-static-ARGS): New variable.
56093         (tst-spawn-static-ARGS): Likewise.
56094         * posix/tst-exec-static.c: New file.
56095         * posix/tst-spawn-static.c: Likewise.
56096         * posix/tst-exec.c: Support run directly.
56097         * posix/tst-spawn.c: Likewise.
56099 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56101         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56102         long.
56103         * math/bits/mathcalls.h (llrint): Likewise.
56104         (llround): Likewise.
56105         * stdlib/stdlib.h (struct drand48_data): Likewise.
56106         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56107         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56108         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56109         Likewise.
56110         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56111         Likewise.
56112         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56113         (elf_greg_t): Likewise.
56114         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56115         (__jmp_buf): Likewise.
56116         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56117         definitions.
56118         (llrint): Likewise, for all definitions.
56119         (llrintl): Likewise.
56121         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56122         Remove [__GNUC__] condition.
56123         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56124         condition to just [__USE_ISOC99].
56125         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56127 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56129         [BZ #14200]
56130         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56131         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56132         defined.
56133         (_POSIX_V6_ILP32_OFF32): Likewise.
56134         (_XBS5_ILP32_OFF32): Likewise.
56135         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56136         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56138 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56140         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56143         doubles __mpexp_twomm1.  Adjust usage.
56144         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56145         Remove.
56147 2013-01-10  Andreas Schwab  <schwab@suse.de>
56149         [BZ #14964]
56150         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56151         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56153 2013-01-09  David S. Miller  <davem@davemloft.net>
56155         [BZ #15003]
56156         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56157         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56158         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56159         (TCP_FASTOPEN): Define.
56160         (tcp_repair_opt): New structure.
56161         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56162         enum values.
56163         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56164         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56165         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56166         (tcp_cookie_transactions): New structure.
56168 2013-01-09  Anton Blanchard  <anton@samba.org>
56170         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56171         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56172         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56173         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56175 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56177         * include/features.h (__USE_ANSI): Remove.
56179 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56181         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56183         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56185 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56187         * sysdeps/s390/fpu/libm-test-ulps: Update.
56189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56191         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56192         (__acr): Likewise.
56193         (__cpy): Likewise.
56194         (norm): Likewise.
56195         (denorm): Likewise.
56196         (__mp_dbl): Likewise.
56197         (__dbl_mp): Likewise.
56198         (add_magnitudes): Likewise.
56199         (sub_magnitudes): Likewise.
56200         (__add): Likewise.
56201         (__sub): Likewise.
56202         (__mul): Likewise.
56203         (__inv): Likewise.
56204         (__dvd): Likewise.
56205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56206         (__acr): Likewise.
56207         (__cpy): Likewise.
56208         (norm): Likewise.
56209         (denorm): Likewise.
56210         (__mp_dbl): Likewise.
56211         (__dbl_mp): Likewise.
56212         (add_magnitudes): Likewise.
56213         (sub_magnitudes): Likewise.
56214         (__add): Likewise.
56215         (__sub): Likewise.
56216         (__mul): Likewise.
56217         (__inv): Likewise.
56218         (__dvd): Likewise.
56219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56220         (__acr): Likewise.
56221         (__cpy): Likewise.
56222         (norm): Likewise.
56223         (denorm): Likewise.
56224         (__mp_dbl): Likewise.
56225         (__dbl_mp): Likewise.
56226         (add_magnitudes): Likewise.
56227         (sub_magnitudes): Likewise.
56228         (__add): Likewise.
56229         (__sub): Likewise.
56230         (__mul): Likewise.
56231         (__inv): Likewise.
56232         (__dvd): Likewise.
56234 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56236         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56237         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56238         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56239         2 && __USE_EXTERN_INLINES]: Likewise.
56241 2013-01-08  Andreas Jaeger  <aj@suse.de>
56243         [BZ# 14985]
56244         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56245         Remove.
56246         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56247         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56249 2013-01-07  Anton Blanchard  <anton@samba.org>
56251         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56252         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56253         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56254         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56255         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56256         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56257         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56258         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56260         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56261         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56262         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56263         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56264         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56265         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56266         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56267         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56268         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56269         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56270         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56271         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56272         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56274         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56275         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56276         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56277         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56278         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56279         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56280         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56281         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56283         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56284         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56285         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56287         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56288         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56289         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56291         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56293         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56295 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56297         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56298         (__MALLOC_PMT): Likewise.
56299         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56300         [__GNUC__], only on [_LIBC].
56301         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56302         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56303         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56304         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56305         forward declaration.
56306         (realloc_hook_ini): Likewise.
56307         (memalign_hook_ini): Likewise.
56308         (__libc_memalign): Do not use __MALLOC_PMT in variable
56309         declaration.
56310         (__libc_valloc): Likewise.
56311         (__libc_pvalloc): Likewise.
56312         (__libc_calloc): Likewise.
56313         (__posix_memalign): Likewise.
56315         [BZ #14996]
56316         * math/s_casinh.c: Include <float.h>.
56317         (__casinh): Do not do computation with squaring and square root
56318         for large arguments.
56319         * math/s_casinhf.c: Include <float.h>.
56320         (__casinhf): Do not do computation with squaring and square root
56321         for large arguments.
56322         * math/s_casinhl.c: Include <float.h>.
56323         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56324         (__casinhl): Do not do computation with squaring and square root
56325         for large arguments.
56326         * math/libm-test.inc (casin_test): Add more tests.
56327         (casinh_test): Likewise.
56328         * sysdeps/i386/fpu/libm-test-ulps: Update.
56329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56331 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56333         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56334         (__x86_64_raw_data_cache_size): Likewise.
56335         (__x86_64_data_cache_size_half): Likewise.
56336         (__x86_64_raw_data_cache_size_half): Likewise.
56337         (__x86_64_shared_cache_size): Likewise.
56338         (__x86_64_raw_shared_cache_size): Likewise.
56339         (__x86_64_shared_cache_size_half): Likewise.
56340         (__x86_64_raw_shared_cache_size_half): Likewise.
56341         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56342         to ...
56343         (__x86_data_cache_size): This.
56344         (__x86_64_raw_data_cache_size): Renamed to ...
56345         (__x86_raw_data_cache_size): This.
56346         (__x86_64_data_cache_size_half): Renamed to ...
56347         (__x86_data_cache_size_half): This.
56348         (__x86_64_raw_data_cache_size_half): Renamed to ...
56349         (__x86_raw_data_cache_size_half): This.
56350         (__x86_64_shared_cache_size): Renamed to ...
56351         (__x86_shared_cache_size): This.
56352         (__x86_64_raw_shared_cache_size): Renamed to ...
56353         (__x86_raw_shared_cache_size): This.
56354         (__x86_64_shared_cache_size_half): Renamed to ...
56355         (__x86_shared_cache_size_half): This.
56356         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56357         (__x86_raw_shared_cache_size_half): This.
56358         * sysdeps/x86_64/memcpy.S: Updated.
56359         * sysdeps/x86_64/memset.S: Likewise.
56360         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56361         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56362         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56364 2013-01-04  David S. Miller  <davem@davemloft.net>
56366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56368 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56370         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56371         1 to avoid redefinition warning.
56372         (__USE_GNU): Don't define.
56373         (init_signaling_nan): Protoize.
56375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56377 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56379         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56381         (__cpymn): Likewise.
56382         (norm): Remove commented code.
56383         (denorm): Likewise.
56384         (__mp_dbl): Likewise.
56385         (__inv): Likewise.
56386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56387         (__cpymn): Likewise.
56388         (norm): Remove commented code.
56389         (denorm): Likewise.
56390         (__mp_dbl): Likewise.
56391         (__inv): Likewise.
56393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56394         mp_no value for 1.0 and 2.0.
56395         (norm): Use RADIXI instead of radixi.d.
56396         (denorm): Likewise.
56397         (__mul): Use 0.0 instead of zero.d.
56398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56399         mp_no value for 1.0 and 2.0.
56400         (norm): Use RADIXI instead of radixi.d.
56401         (denorm): Likewise.
56402         (__mul): Use 0.0 instead of zero.d.
56404 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56406         [BZ #14994]
56407         * math/s_casinh.c (__casinh): Reduce finite argument to first
56408         quadrant then set signs of results at the end.
56409         * math/s_casinhf.c (__casinhf): Likewise.
56410         * math/s_casinhl.c (__casinhl): Likewise.
56411         * math/libm-test.inc (casin_test): Add more tests.
56412         (casinh_test): Likewise.
56413         * sysdeps/i386/fpu/libm-test-ulps: Update.
56414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56416 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56418         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56420         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56422         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56423         declarations.
56424         (denorm): Likewise.
56425         (__mp_dbl): Likewise.
56426         (__inv): Likewise.
56428         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56429         and adjust the header comment.
56431         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56432         variable name from declaration.
56434 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56437         Initialize COMMON_CPUID_INDEX_7 element.
56438         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56439         (CPUID_RTM): Likewise.
56440         (HAS_RTM): Likewise.
56441         (COMMON_CPUID_INDEX_7): New enum.
56443 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56445         [BZ #14981]
56446         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56447         size is zero, record memory as freed.
56449 2013-01-03  Andreas Jaeger  <aj@suse.de>
56451         * po/ia.po: Add new Interlingua translation.
56453 2012-01-03  Allan McRae  <allan@archlinux.org>
56455         * locale/programs/localedef.c: Fix description of '--posix' flag.
56457 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56459         * NEWS: Update dates in second copyright notice.
56460         * README: Update copyright dates in example.
56461         * manual/libc.texinfo: Update copyright dates.
56462         * scripts/test-installation.pl: Update copyright date in --version
56463         output.
56465         * hurd/ctty-input.c: Fix copyright notice formatting.
56466         * hurd/ctty-output.c: Likewise.
56467         * hurd/dtable.c: Likewise.
56468         * hurd/hurd-raise.c: Likewise.
56469         * hurd/hurdprio.c: Likewise.
56470         * hurd/msgportdemux.c: Likewise.
56471         * misc/sys/file.h: Likewise.
56472         * misc/sys/ioctl.h: Likewise.
56473         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56474         * sysdeps/mach/hurd/chdir.c: Likewise.
56475         * sysdeps/mach/hurd/fchdir.c: Likewise.
56476         * sysdeps/mach/hurd/rename.c: Likewise.
56477         * sysdeps/mach/hurd/rmdir.c: Likewise.
56478         * sysdeps/mach/hurd/seekdir.c: Likewise.
56479         * sysdeps/mach/hurd/setsid.c: Likewise.
56480         * sysdeps/posix/wait3.c: Likewise.
56482         * All files with FSF copyright notices: Update copyright dates
56483         using scripts/update-copyrights.
56484         * intl/plural.c: Regenerated.
56485         * locale/programs/charmap-kw.h: Likewise.
56486         * locale/programs/locfile-kw.h: Likewise.
56488 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56490         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56491         four values.
56493         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56494         calculation loop and add branch prediction.
56496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56497         check access beyond bounds of m1np.
56499         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56500         MPTWO.
56501         (__inv): Remove local variable MPTWO to use the global
56502         constant.
56503         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56505         variable MPTWO.
56506         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56507         MP3HALFS static const.
56509 2013-01-01  David S. Miller  <davem@davemloft.net>
56511         * po/ca.po: Update from translation team.
56513 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56515         * scripts/update-copyrights: New file.
56516         * Makeconfig: Reformat copyright notice.
56517         * ctype/ctype.h: Likewise.
56518         * debug/swprintf_chk.c: Likewise.
56519         * elf/dl-cache.c: Likewise.
56520         * elf/dl-debug.c: Likewise.
56521         * elf/dl-object.c: Likewise.
56522         * grp/initgroups.c: Likewise.
56523         * hurd/Makefile: Likewise.
56524         * hurd/hurd/signal.h: Likewise.
56525         * hurd/hurdfault.c: Likewise.
56526         * hurd/hurdioctl.c: Likewise.
56527         * hurd/hurdlookup.c: Likewise.
56528         * hurd/intr-msg.c: Likewise.
56529         * iconv/gconv_open.c: Likewise.
56530         * libio/swprintf.c: Likewise.
56531         * locale/lc-ctype.c: Likewise.
56532         * locale/nl_langinfo.c: Likewise.
56533         * mach/Machrules: Likewise.
56534         * mach/Makefile: Likewise.
56535         * malloc/obstack.h: Likewise.
56536         * manual/Makefile: Likewise.
56537         * manual/tsort.awk: Likewise.
56538         * misc/bits/stab.def: Likewise.
56539         * nis/nis_print_group_entry.c: Likewise.
56540         * nis/nis_table.c: Likewise.
56541         * nis/nss_compat/compat-pwd.c: Likewise.
56542         * nis/nss_compat/compat-spwd.c: Likewise.
56543         * po/Makefile: Likewise.
56544         * posix/fnmatch.c: Likewise.
56545         * posix/regex.h: Likewise.
56546         * resolv/Makefile: Likewise.
56547         * resolv/nss_dns/dns-network.c: Likewise.
56548         * resolv/res_hconf.c: Likewise.
56549         * scripts/gen-sorted.awk: Likewise.
56550         * soft-fp/soft-fp.h: Likewise.
56551         * stdio-common/printf.h: Likewise.
56552         * stdlib/monetary.h: Likewise.
56553         * stdlib/random.c: Likewise.
56554         * stdlib/random_r.c: Likewise.
56555         * sysdeps/generic/Makefile: Likewise.
56556         * sysdeps/gnu/Makefile: Likewise.
56557         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56559         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56561         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56564         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56565         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56566         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56567         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56568         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56569         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56570         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56571         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56572         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56573         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56574         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56575         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56576         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56577         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56578         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56579         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56580         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56581         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56582         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56583         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56584         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56585         * sysdeps/mach/hurd/errnos.awk: Likewise.
56586         * sysdeps/mach/hurd/fork.c: Likewise.
56587         * sysdeps/mach/hurd/getcwd.c: Likewise.
56588         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56589         * sysdeps/mach/hurd/mmap.c: Likewise.
56590         * sysdeps/mach/hurd/utimes.c: Likewise.
56591         * sysdeps/mach/hurd/xmknod.c: Likewise.
56592         * sysdeps/posix/profil.c: Likewise.
56593         * sysdeps/posix/readdir_r.c: Likewise.
56594         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56595         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56596         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56597         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56599         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56600         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56601         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56603         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56604         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56605         * sysdeps/pthread/lio_listio.c: Likewise.
56606         * sysdeps/sparc/dl-procinfo.h: Likewise.
56607         * sysdeps/unix/i386/sysdep.S: Likewise.
56608         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56609         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56610         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56611         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56613         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56614         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56615         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56616         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56617         * sysdeps/wordsize-32/divdi3.c: Likewise.
56618         * time/sys/time.h: Likewise.
56619         * wcsmbs/Makefile: Likewise.
56621 2013-01-01  David S. Miller  <davem@davemloft.net>
56623         * po/fr.po: Update from translation team.
56625         * catgets/gencat.c: Update copyright year.
56626         * csu/version.c: Likewise.
56627         * debug/catchsegv.sh: Likewise.
56628         * debug/pcprofiledump.c: Likewise.
56629         * debug/xtrace.sh: Likewise.
56630         * elf/ldconfig.c: Likewise.
56631         * elf/ldd.bash.in: Likewise.
56632         * elf/pldd.c: Likewise.
56633         * elf/sotruss.ksh: Likewise.
56634         * elf/sprof.c: Likewise.
56635         * iconv/iconv_prog.c: Likewise.
56636         * iconv/iconvconfig.c: Likewise.
56637         * locale/programs/locale.c: Likewise.
56638         * locale/programs/localedef.c: Likewise.
56639         * login/programs/pt_chown.c: Likewise.
56640         * malloc/memusage.sh: Likewise.
56641         * malloc/memusagestat.c: Likewise.
56642         * malloc/mtrace.pl: Likewise.
56643         * nscd/nscd.c: Likewise.
56644         * nss/getent.c: Likewise.
56645         * nss/makedb.c: Likewise.
56646         * posix/getconf.c: Likewise.
56648 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56650         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56651         numbers.
56653 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56655         * math/bits/mathcalls.h (modf): Use __nonnull.
56657 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56659         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56660         (split): Use macro CN instead of the bare value.
56661         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56662         could be used.
56663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56664         instead of the bare value.
56665         (power1): Likewise.
56667 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56669         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56670         __ATAN_TWOM.
56671         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56673         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56674         their values.
56675         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56676         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56677         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56678         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56680 2012-12-28  Andreas Jaeger  <aj@suse.de>
56682         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56683         values are from Linux 3.7.
56685         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56686         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56688 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56690         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56691         TRUE case.
56693         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56694         (norm): Likewise.
56695         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56696         variables with preprocessor constants.
56697         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56698         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56699         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56701 2012-12-27  Bruno Haible  <bruno@clisp.org>
56703         [BZ #14317]
56704         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56705         only if needed.
56707 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56710         and use variable directly.
56711         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56713         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56714         MPONE.
56715         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56716         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56717         variable MPONE.
56718         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56719         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56720         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56721         include directive.  Remove local variable MPONE.
56722         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56723         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56724         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56726 2012-12-25  David S. Miller  <davem@davemloft.net>
56728         * version.h (RELEASE): Set to "development".
56729         (VERSION): Set to "2.17.90".
56730         * NEWS: Add 2.18 section.
56732 2012-12-21  David S. Miller  <davem@davemloft.net>
56734         * po/hr.po: Update from translation team.
56736 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56738         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56740 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56742         * NEWS:  Mention new memcpy for MIPS.
56744 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56746         * manual/contrib.texi (Contributors): Spelling correction.
56748 2012-12-15  David S. Miller  <davem@davemloft.net>
56750         * po/ru.po: Update from translation team.
56752 2012-12-13  David S. Miller  <davem@davemloft.net>
56754         * NEWS: Mention IFUNC testsuite enhancements.
56756         * po/pl.po: Update from translation team.
56757         * po/bg.po: Likewise.
56759         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56760         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56762 2012-12-11  David S. Miller  <davem@davemloft.net>
56764         * po/sv.po: Update from translation team.
56766         * po/vi.po: Update from translation team.
56768         * po/cs.po: Update from translation team.
56770         * po/de.po: Update from translation team.
56771         * po/eo.po: Likewise.
56772         * po/nl.po: Likewise.
56774 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56776         [BZ #14246]
56777         * manual/argp.texi (Argp Helper Functions): Move node to follow
56778         Argp Parsing State.
56780         [BZ #14872]
56781         * manual/conf.texi (Limits on File System Capacity): Mention if
56782         terminating null is included in the max size.
56784 2012-12-10  Andreas Jaeger  <aj@suse.de>
56786         * po/cs.po: Update from translation team.
56788 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56790         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56791         void pointer and cast to uintptr_t.
56792         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56793         path.
56794         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56795         * sysdeps/s390/s390-64/memset.S: Likewise.
56797 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56799         [BZ #14833]
56800         * menual/message.texi (Message Translation): Fix typos.
56801         (Helper programs for gettext): Likewise.
56803 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56805         [BZ #14898]
56806         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56807         Change to -1.
56809 2012-12-07  David S. Miller  <davem@davemloft.net>
56811         * po/libc.pot: Update.
56813 2012-12-07  Richard Henderson  <rth@redhat.com>
56815         [BZ #10114]
56816         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56817         normal/normal case to before the switch.
56818         (_FP_DIV): Likewise.
56820 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56821             Mike Frysinger  <vapier@gentoo.org>
56823         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56824         check for __NR_fadvise64_64.
56826 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56828         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56829         0, not just to plain "0" as a statement.
56830         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56831         with cw.
56833 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56835         * NEWS: Use sourceware.org in Bugzilla URL.
56837 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56840         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56842         * stdio-common/tst-put-error.c (do_test): Add newline to the
56843         padded test to ensure flush.
56845 2012-12-05  Jeff Law  <law@redhat.com>
56847         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56849 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56851         * README: Don't refer to ports add-on as distributed separately.
56852         Mention AArch64 in list of systems supported in the ports add-on.
56854         * LICENSES: Add more non-FSF copyright and license notices.
56856         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56857         ((unused)).
56859         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56861         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56862         10000 as width of padded output.
56864 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56866         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56868         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56869         variable LX with __attribute__ ((unused)).
56870         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56871         Likewise.
56872         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56875         with __attribute__ ((unused)).
56877 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56879         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56881 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56883         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56884         (CFLAGS-nldbl-acos.c): New variable.
56885         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56886         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56887         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56888         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56889         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56890         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56891         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56892         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56893         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56894         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56895         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56896         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56897         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56898         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56899         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56900         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56901         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56902         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56903         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56904         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56905         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56906         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56907         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56908         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56909         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56910         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56911         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56912         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56913         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56914         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56915         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56916         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56917         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56918         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56919         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56920         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56921         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56922         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56923         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56924         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56925         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56926         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56927         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56928         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56929         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56930         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56931         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56932         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56933         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56934         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56935         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56936         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56937         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56938         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56939         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56940         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56941         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56942         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56943         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56944         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56945         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56946         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56947         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56948         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56949         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56950         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56951         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56952         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56953         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56954         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56955         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56956         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56957         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56958         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56959         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56960         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56961         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56962         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56963         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56964         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56965         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56966         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56967         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56968         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56969         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56970         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56971         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56972         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56973         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56974         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56975         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56976         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56977         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56978         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56979         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56980         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56981         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56984         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56986         [BZ #14914]
56987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56988         whole low double instead of just low 47 bits when splitting values
56989         into two parts.
56991 2012-12-03  Allan McRae  <allan@archlinux.org>
56993         * manual/stdio.texi (Predefined Printf Handlers): Remove
56994         @hsep and @vsep usage.
56996 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56998         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56999         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57001 2012-12-03  Jeff Law  <law@redhat.com>
57003         * time/sys/time.h (settimeofday): Do not mark TV argument
57004         as __nonnull.
57006 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57008         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57009         when currently writing and seek to current position when not.
57010         * libio/Makefile (tests): Remove bug-fclose1.
57011         * libio/bug-fclose1.c: Delete.
57013 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57015         * manual/arith.texi (feenableexcept): Fix typo.
57016         (fedisableexcept): Likewise.
57018 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57020         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57021         second, differently-typed declaration, rather than a cast.
57023 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57025         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57026         * include/rpc/svc.h: ... here.
57028 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57030         [BZ #13013]
57031         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57032         depending n and resplen2 to catch cases where answer
57033         equals answerp2.
57035 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57037         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57038         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57040 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57044 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57046         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57048 2012-11-28  Jeff Law  <law@redhat.com>
57050         [BZ #13761]
57051         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57052         dataset_temporary.  Track alloca usage into alloca_used.
57053         If dataset is large allocate and release it via malloc/free.
57055 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57057         [BZ #14197]
57058         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57060 2012-11-28  David S. Miller  <davem@davemloft.net>
57062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57064 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57066         [BZ #14803]
57067         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57068         of pi/2 rounded to nearest to 64 bits.
57069         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57070         nearest to 64 bits.
57071         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57072         bits.
57074 2012-11-28  Jeff Law <law@redhat.com>
57075             Martin Osvald <mosvald@redhat.com>
57077         [BZ #14889]
57078         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57079         * sunrpc/svc.c: Include time.h.
57080         (__svc_accept_failed): New function.
57081         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57082         any reason other than EINTR, call __svc_accept_failed.
57083         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57084         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57086 2012-11-28  Andreas Schwab  <schwab@suse.de>
57088         * scripts/abilist.awk: Also handle indirect functions in .opd
57089         section.
57091 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57093         [BZ #13881]
57094         * sysdeps/x86/fpu/powl_helper.c: New file.
57095         * sysdeps/x86/fpu/Makefile: Likewise.
57096         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57097         (p3): New object.
57098         (__ieee754_powl): Use __powl_helper for finite arguments except
57099         integer exponents below 8.
57100         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57101         (p3): New object.
57102         (__ieee754_powl): Use __powl_helper for finite arguments except
57103         integer exponents below 8.
57104         * math/libm-test.inc (pow_test): Add more tests and enable some
57105         previously disabled tests.
57106         * sysdeps/i386/fpu/libm-test-ulps: Update.
57107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57109 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57110             Carlos O'Donell  <carlos_odonell@mentor.com>
57112         * nss/makedb.c (is_prime): Assert that input is odd and greater
57113         than 4.  Note that fact in a comment too.
57114         (next_prime): Add 4 to input.
57116 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57118         [BZ #11741]
57119         * libio/Makefile (tests): Add test case tst-fwrite-error.
57120         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57121         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57122         * libio/tst-fwrite-error.c: New test case.
57124 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57126         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57127         before casting to void *.
57128         * include/libc-internal.h (__pointer_type): New macro.
57129         (__integer_if_pointer_type_sub): Likewise.
57130         (__integer_if_pointer_type): Likewise.
57131         (cast_to_integer): Likewise.
57132         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57133         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57134         before casting to atomic64_t.
57135         (atomic_exchange_acq): Likewise.
57136         (__arch_exchange_and_add_body): Likewise.
57137         (__arch_add_body): Likewise.
57138         (atomic_add_negative): Likewise.
57139         (atomic_add_zero): Likewise.
57141 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57143         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57144         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57145         (add_fdes): Likewise.
57146         (linear_search_fdes): Likewise.
57147         (binary_search_unencoded_fdes): Likewise.
57149 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57151         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57153 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57155         * configure.in: Autodetect C++ header directories.
57156         * configure: Regenerated.
57158 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57160         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57162 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57166 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57168         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57169         LDBL_MANT_DIG == 106]: Disable some tests.
57170         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57171         Likewise.
57172         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57173         Likewise.
57175         [BZ #14871]
57176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57177         input for small inputs.  Return +/- pi/2 for large inputs.
57178         * math/libm-test.inc (atan_test): Add more tests.
57180         * sysdeps/generic/unwind-dw2-fde-glibc.c
57181         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57182         __attribute__ ((unused)).
57184         [BZ #14645]
57185         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57186         x * y if x and y are nonzero and z is zero.
57188         [BZ #14811]
57189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57190         nonzero exponents with absolute value below 0x1p-117 to +/-
57191         0x1p-117.
57193         [BZ #14869]
57194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57195         up arguments below 2**-450, not just those below 2**-500.
57196         * math/libm-test.inc (hypot_test): Add another test.
57198         [BZ #14868]
57199         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57200         Return a+b for ratio over 2**120, not 2**60.
57201         * math/libm-test.inc (hypot_test): Add another test.
57203         * math/libm-test.inc (clog_test): Use
57204         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57205         (clog10_test): Likewise.
57207         [BZ #6778]
57208         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57210 2012-11-22  Andreas Schwab  <schwab@suse.de>
57212         * sysdeps/i386/fpu/libm-test-ulps: Update.
57214 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57216         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57217         printf output with newline.
57219 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57221         [BZ #14865]
57222         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57223         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57224         -z nodlopen, -z initfirst and -z execstack support.
57225         * configure: Regenerated.
57227         * elf/elf.h (DF_1_NODIRECT): New macro.
57228         (DF_1_IGNMULDEF): Likewise.
57229         (DF_1_NOKSYMS): Likewise.
57230         (DF_1_NOHDR): Likewise.
57231         (DF_1_EDITED): Likewise.
57232         (DF_1_NORELOC): Likewise.
57233         (DF_1_SYMINTPOSE): Likewise.
57234         (DF_1_GLOBAUDIT): Likewise.
57235         (DF_1_SINGLETON): Likewise.
57236         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57237         DT_1_SUPPORTED_MASK bits.
57238         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57240 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57242         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57244 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57246         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57247         macro.
57249         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57250         (sendmmsg): Move declarations...
57251         * socket/sys/socket.h: ... here.
57252         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57253         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57254         include it from...
57255         * socket/recvmmsg.c: ... this new file.
57256         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57257         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57258         definition of __sendmmsg hidden.
57259         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57260         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57261         Move ENOSYS stub into and include it from...
57262         * socket/sendmmsg.c: ... this new file.
57263         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57264         (sysdep_routines): Move recvmmsg and sendmmsg...
57265         * socket/Makefile (routines): ... here.
57266         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57267         (GLIBC_PRIVATE): Add __sendmmsg.
57268         * include/sys/socket.h (__sendmmsg): Add declarations.
57269         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57270         sendmmsg.
57272 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57274         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57275         variable I1 with __attribute__ ((unused)).
57276         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57278 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57280         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57281         DUMMY variables with __attribute__ ((unused)).
57283         * bits/byteswap.h: Include <bits/types.h>.
57284         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57286 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57288         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57289         string_t.  Do not manually set errno.
57290         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57291         length with __strnlen.  Make sure to both set errno and return it on
57292         failure.
57294 2012-11-19  David S. Miller  <davem@davemloft.net>
57296         With help from Joseph Myers.
57297         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57298         very large arguments properly.
57299         * math/libm-test.inc (atan_test): New tests.
57300         (atan2_test): New tests.
57301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57304 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57306         [BZ #14856]
57307         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57308         Define to 3.
57310         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57311         [POSIX] (EADDRNOTAVAIL): Likewise.
57312         [POSIX] (EAFNOSUPPORT): Likewise.
57313         [POSIX] (EALREADY): Likewise.
57314         [POSIX] (ECONNABORTED): Likewise.
57315         [POSIX] (ECONNREFUSED): Likewise.
57316         [POSIX] (ECONNRESET): Likewise.
57317         [POSIX] (EDESTADDRREQ): Likewise.
57318         [POSIX] (EDQUOT): Likewise.
57319         [POSIX] (EHOSTUNREACH): Likewise.
57320         [POSIX] (EIDRM): Likewise.
57321         [POSIX] (EISCONN): Likewise.
57322         [POSIX] (ELOOP): Likewise.
57323         [POSIX] (EMULTIHOP): Likewise.
57324         [POSIX] (ENETDOWN): Likewise.
57325         [POSIX] (ENETUNREACH): Likewise.
57326         [POSIX] (ENOBUFS): Likewise.
57327         [POSIX] (ENODATA): Likewise.
57328         [POSIX] (ENOLINK): Likewise.
57329         [POSIX] (ENOMSG): Likewise.
57330         [POSIX] (ENOPROTOOPT): Likewise.
57331         [POSIX] (ENOSR): Likewise.
57332         [POSIX] (ENOSTR): Likewise.
57333         [POSIX] (ENOTCONN): Likewise.
57334         [POSIX] (ENOTSOCK): Likewise.
57335         [POSIX] (EOPNOTSUPP): Likewise.
57336         [POSIX] (EOVERFLOW): Likewise.
57337         [POSIX] (EPROTO): Likewise.
57338         [POSIX] (EPROTONOSUPPORT): Likewise.
57339         [POSIX] (EPROTOTYPE): Likewise.
57340         [POSIX] (ESTALE): Likewise.
57341         [POSIX] (ETIME): Likewise.
57342         [POSIX] (ETXTBSY): Likewise.
57343         [POSIX] (EWOULDBLOCK): Likewise.
57344         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57345         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57346         [POSIX] (SEEK_CUR): Likewise.
57347         [POSIX] (SEEK_END): Likewise.
57348         [POSIX || UNIX98] (mode_t): Do not require.
57349         [POSIX] (off_t): Likewise.
57350         [POSIX] (pid_t): Likewise.
57351         [POSIX] (sys/stat.h): Do not allow header.
57352         [POSIX] (unistd.h): Likewise.
57353         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57354         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57355         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57356         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57357         require.
57358         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57359         sigevent): Specify elements.
57360         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57361         entry.
57362         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57363         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57365         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57366         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57367         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57368         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57369         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57370         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57371         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57372         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57373         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57374         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57375         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57376         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57377         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57378         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57379         Likewise.
57380         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57381         Likewise.
57382         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57383         Likewise.
57384         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57385         Likewise.
57386         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57387         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57388         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57389         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57390         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57391         Specify lower bound on value.
57392         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57393         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57394         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57395         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57396         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57397         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57398         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57399         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57400         value.
57401         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57402         as optional.
57403         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57404         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57405         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57406         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57407         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57408         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57409         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57410         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57411         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57412         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57413         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57414         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57415         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57416         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57417         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57418         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57419         entry.
57420         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57421         optional.
57422         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57423         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57424         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57425         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57426         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57427         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57428         Likewise.
57429         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57430         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57431         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57432         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57433         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57434         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57435         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57436         as optional.
57437         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57438         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57439         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57440         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57441         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57442         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57443         specify as optional.
57444         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57445         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57446         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57447         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57448         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57449         [XPG3] (NL_LANGMAX): Likewise.
57450         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57451         [POSIX || XPG3] (NL_NMAX): Likewise.
57452         [POSIX || XPG3] (NL_SETMAX): Likewise.
57453         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57454         [XPG3] (NZERO): Likewise.
57455         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57456         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57457         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57458         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57459         (REG_ERANGE): Expect.
57460         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57461         optional-constant.
57462         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57463         Use (void) in prototype.
57464         [POSIX] (*_t): Allow.
57465         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57466         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57467         (WRDE_BADVAL): Expect.
57469         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57470         expect.
57471         [XPG3 || XPG4] (O_RSYNC): Likewise.
57472         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57473         Likewise.
57474         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57475         [XPG3 || XPG4] (sigqueue): Likewise.
57476         [XPG3 || XPG4] (sigtimedwait): Likewise.
57477         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57478         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57479         [XPG3 || XPG4] (vsnprintf): Likewise.
57480         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57481         Likewise.
57482         [XPG3 || XPG4] (blksize_t): Likewise.
57483         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57484         Likewise.
57485         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57486         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57487         [XPG3 || XPG4] (struct itimerspec): Likewise.
57488         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57489         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57490         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57491         [XPG3 || XPG4] (clockid_t): Likewise.
57492         [XPG3 || XPG4] (timer_t): Likewise.
57493         [XPG3 || XPG4] (clock_getres): Likewise.
57494         [XPG3 || XPG4] (clock_gettime): Likewise.
57495         [XPG3 || XPG4] (clock_settime): Likewise.
57496         [XPG3 || XPG4] (nanosleep): Likewise.
57497         [XPG3 || XPG4] (timer_create): Likewise.
57498         [XPG3 || XPG4] (timer_delete): Likewise.
57499         [XPG3 || XPG4] (timer_gettime): Likewise.
57500         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57501         [XPG3 || XPG4] (timer_settime): Likewise.
57502         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57503         [XPG3 || XPG4] (getlogin_r): Likewise.
57504         [XPG3 || XPG4] (pread): Likewise.
57505         [XPG3 || XPG4] (pthread_atfork): Likewise.
57506         [XPG3 || XPG4] (pwrite): Likewise.
57508         [BZ #14835]
57509         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57510         <bits/siginfo.h>.
57512 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57514         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57515         finalizing MALLSTREAM.
57517         * sysdeps/mach/hurd/syncfs.c: New file.
57519 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57521         [BZ #14719]
57522         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57523         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57524         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57525         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57526         (_nss_dns_gethostbyname4_r): Likewise.
57527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57528         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57530 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57532         [BZ #13763]
57533         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57535 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57537         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57538         * elf/cache.c (print_entry): Print ",AArch64" for
57539         FLAG_AARCH64_LIB64
57541         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57542         * elf/cache.c (print_entry): Print ",hard-float" for
57543         FLAG_ARM_LIBHF.
57545 2012-11-18  David S. Miller  <davem@davemloft.net>
57547         With help from Joseph Myers.
57548         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57549         cutoff to 2**-13.
57550         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57551         cutoff to 2**-25.
57552         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57553         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57554         small.
57555         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57556         * math/libm-test.inc (y0_test): New tests.
57557         (y1_test): New tests.
57558         * sysdeps/i386/fpu/libm-test-ulps: Update.
57559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57562 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57564         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57565         64-bit targets.
57566         * configure: Regenerated.
57568 2012-11-17  David S. Miller  <davem@davemloft.net>
57570         [BZ #14811]
57571         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57572         nonzero exponents with absolute value below 0x1p-128 to +/-
57573         0x1p-128.
57575 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57577         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57579         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57581         * posix/getconf-speclist.c: New file.
57582         * posix/posix-envs.def: Likewise.
57583         * posix/confstr.c (START_ENV_GROUP): New macro.
57584         (END_ENV_GROUP): Likewise.
57585         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57586         (KNOWN_PRESENT_ENV_STRING): Likewise.
57587         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57588         (UNKNOWN_ENVIRONMENT): Likewise.
57589         (confstr): Include posix-envs.def instead of handling
57590         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57591         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57592         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57593         (END_ENV_GROUP): Likewise.
57594         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57595         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57596         (UNKNOWN_ENVIRONMENT): Likewise.
57597         (__sysconf): Include posix-envs.def instead of handling associated
57598         cases directly here.
57599         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57600         preprocessing getconf-speclist.c rather than running getconf or
57601         generating empty file.
57603 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57605         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57607 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57609         [BZ #14672]
57610         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57612 2012-11-16  David S. Miller  <davem@davemloft.net>
57614         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57615         smaller than LDBL_EPSILON/2.0L, just return xm1.
57617 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57619         * elf/tst-array1.c (init): Set constructor priority to 1000.
57620         (fini): Set destructor priority to 1000.
57621         * elf/tst-array2dep.c: Likewise.
57623 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57625         [BZ #11741]
57626         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57627         (_IO_new_file_xsputn): Also return EOF if none of the input
57628         data was written when overflow failed.
57629         * libio/iopadn.c (_IO_padn): Likewise.
57630         * libio/iowpadn.c (_IO_wpadn): Likewise.
57631         * stdio-common/tst-put-error.c: Add copyright notice.
57632         (do_test): Add case for printing padded string.
57633         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57634         _IO_padn returned error.
57635         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57636         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57637         return EOF.
57639 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57641         * libio/libioP.h: Add comment note that the references to C++
57642         bits are now obsolete.
57644 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57646         * math/libm-test.inc (check_complex): Use asprintf.
57648 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57650         * debug/pcprofiledump.c (print_version): Update copyright year.
57651         * malloc/memusagestat.c (print_version): Likewise.
57653 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57655         [BZ #14831]
57656         * elf/Makefile (tests): Add tst-audit8.
57657         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57658         ($(objpfx)tst-audit8.out): New target.
57659         (tst-audit8-ENV): New variable.
57660         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57661         audit if l_reloc_result is NULL.
57662         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57663         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57664         * elf/tst-audit8.c: New file.
57666 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57668         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57669         * misc/Makefile (CFLAGS-select.c): Define.
57670         * posix/Makefile (CFLAGS-pause.c): Define.
57672 2012-11-13  David S. Miller  <davem@davemloft.net>
57674         * crypt/Makefile: Move test targets after toplevel Rules
57675         inclusion.  Grab any necessary sysdep routines when linking.
57676         * crypt/md5.c (md5_process_block): Remove define, we will always
57677         name it __md5_process_block.
57678         (md5_finish_ctx): Update md5_process_block call.
57679         (md5_stream): Likewise.
57680         (md5_process_bytes): Likewise.
57681         (md5_process_block): Rename to __md5_process_block and move to ...
57682         * crypt/md5-block.c: ... here.
57683         * crypt/sha256.c (sha256_process_block): Move to ...
57684         * crypt/sha256-block.c: ... here.
57685         * crypt/sha512.c (sha512_process_block): Move to ...
57686         * crypt/sha512-block.c: ... here.
57687         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57688         path.
57689         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57690         * sysdeps/sparc/sparc64/multiarch/Makefile
57691         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57692         crypt subdir.
57693         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57694         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57695         multiarch changes.
57696         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57697         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57698         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57699         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57700         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57701         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57702         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57703         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57704         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57705         file.
57706         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57707         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57708         file.
57709         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57711 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57713         * timezone/tzselect.ksh: Update from tzcode git revision
57714         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57715         * timezone/zdump.c: Likewise.
57716         * timezone/zic.c: Likewise.
57717         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57718         in TZVERSION setting, not $(PKGVERSION).
57719         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57720         REPORT_BUGS_TO settings.
57722         [BZ #14838]
57723         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57724         macro.
57726 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57728         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57729         detection to immediately after _FP_ROUND().
57730         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57731         bits are 0.
57733 2012-11-11  David S. Miller  <davem@davemloft.net>
57735         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57736         inttypes.h
57737         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57738         __close rather than their public counterparts.
57740 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57742         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57743         file.
57744         [UNIX98] (sem_timedwait): Do not expect.
57745         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57746         [XPG4 || UNIX98] (sockatmark): Do not expect.
57747         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57748         (clock_getcpuclockid): Do not expect.
57749         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57750         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57751         Do not expect.
57752         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57753         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57754         [UNIX98] (vwscanf): Likewise.
57755         [UNIX98] (vswscanf): Likewise.
57757 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57759         * timezone/version.h: Remove file.
57760         * timezone/README: Do not refer to version.h.
57761         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57762         $(objpfx)version.h.
57763         ($(objpfx)zdump.o): Likewise.
57764         ($(objpfx)version.h): New target.
57766         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57767         2012i.
57768         * timezone/README: Don't mention modification to tzselect.ksh.
57769         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57770         work on unmodified tzselect.ksh.  Substitute version numbers in
57771         tzselect.ksh.
57773         * Makefile (format-me): Remove.
57774         (INSTALL): Adjust indentation.  Use commands directly instead of
57775         using $(format-me).
57777         * aclocal.m4 (ACX_PKGVERSION): New macro.
57778         (ACX_BUGURL): Likewise.
57779         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57780         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57781         (REPORT_BUGS_TO): Likewise.
57782         * configure: Regenerated.
57783         * config.h.in (PKGVERSION): New macro.
57784         (REPORT_BUGS_TO): Likewise.
57785         * config.make.in (PKGVERSION): New variable.
57786         (PKGVERSION_TEXI): Likewise.
57787         (REPORT_BUGS_TO): Likewise.
57788         (REPORT_BUGS_TEXI): Likewise.
57789         * Makefile (format-me): Use -I$(common-objpfx)manual.
57790         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57791         ($(common-objpfx)manual/%): New target.
57792         (manual/%): Remove target.
57793         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57794         (print_version): Use PKGVERSION.
57795         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57796         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57797         and REPORT_BUGS_TO.
57798         ($(objpfx)xtrace): Likewise.
57799         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57800         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57801         (print_version): Use PKGVERSION.
57802         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57803         (do_version): Use PKGVERSION.
57804         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57805         REPORT_BUGS_TO.
57806         (common-ldd-rewrite): Likewise.
57807         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57808         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57809         (print_version): Use PKGVERSION.
57810         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57811         * elf/pldd.c (argp_program_bug_address): Remove variable.
57812         (more_help): New function.
57813         (argp): Use more_help.
57814         (print_version): Use PKGVERSION.
57815         * elf/sln.c (main): Use PKGVERSION.
57816         (usage): Use REPORT_BUGS_TO.
57817         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57818         (top level): Use PKGVERSION.
57819         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57820         (print_version): Use PKGVERSION.
57821         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57822         (print_version): Use PKGVERSION.
57823         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57824         (print_version): Use PKGVERSION.
57825         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57826         (print_version): Use PKGVERSION.
57827         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57828         (print_version): Use PKGVERSION.
57829         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57830         (print_version): Use PKGVERSION.
57831         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57832         and BUGURL.
57833         ($(objpfx)memusage): Likewise.
57834         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57835         (do_version): Use PKGVERSION.
57836         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57837         (print_version): Use PKGVERSION.
57838         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57839         ($PKGVERSION): New variable.
57840         ($REPORT_BUGS_TO): Likewise.
57841         (usage): Use $REPORT_BUGS_TO.
57842         (top level): Use $PKGVERSION.
57843         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57844         ($(objpfx)pkgvers.texi): New rule.
57845         ($(objpfx)stamp-pkgvers): Likewise.
57846         * manual/install.texi: Include pkgvers.texi.
57847         (--with-pkgversion): Document new configure option.
57848         (--with-bugurl): Likewise.
57849         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57850         than necessarily for this particular distribution.  Use
57851         REPORT_BUGS_TO for where to report bugs.
57852         * INSTALL: Regenerated.
57853         * manual/libc.texinfo: Include pkgvers.texi.
57854         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57855         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57856         (print_version): Use PKGVERSION.
57857         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57858         (print_version): Use PKGVERSION.
57859         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57860         (print_version): Use PKGVERSION.
57861         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57862         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57863         macro.
57864         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57865         (print_version): Use PKGVERSION.
57866         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57867         (print_version): Use PKGVERSION.
57868         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57869         and PKGVERSION.
57871         * timezone/checktab.awk: Update from tzcode 2012i.
57872         * timezone/ialloc.c: Likewise.
57873         * timezone/private.h: Likewise.
57874         * timezone/scheck.c: Likewise.
57875         * timezone/tzfile.h: Likewise.
57876         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57877         (TZVERSION): Hardcode tzcode version number.
57878         * timezone/zdump.c: Update from tzcode 2012i.
57879         * timezone/zic.c: Likewise.
57880         * timezone/version.h: New file.
57881         * timezone/README: Describe version.h.  Update upstream location.
57883         [BZ #14824]
57884         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57885         (mktemp): Enable declaration.
57886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57887         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57888         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57889         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57890         Likewise.
57891         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57892         Likewise.
57893         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57894         Likewise.
57895         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57896         Likewise.
57897         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57898         Likewise.
57899         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57900         Likewise.
57902         [BZ #14821]
57903         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57904         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57905         for copies of such integer values.
57906         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57907         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57909 2012-11-09  Andreas Jaeger  <aj@suse.de>
57911         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57912         definitions and declarations that are provided by
57913         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57915 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57917         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57918         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57919         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57920         definition.
57922 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57924         * elf/elf.h: Update comment before AArch64 relocations.
57926 2012-11-07  David S. Miller  <davem@davemloft.net>
57928         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57929         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57930         (__start_context): Declare.
57931         (__makecontext_ret): Delete.
57932         (__makecontext): Hook up __start_context instead of
57933         __makecontext_ret.
57934         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57935         (sysdep_routines): Add __start_context when in stdlib.
57937 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57939         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57940         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57941         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57942         hardcoded "nm".
57943         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57944         (READELF): New variable.  Use it instead of hardcoded "readelf".
57946 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57948         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57949         * sysdeps/x86/Makefile: Here.
57950         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57951         * sysdeps/x86/tst-xmmymm.sh: This.
57953 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57955         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57956         expectations.
57957         [UNIX98] (pthread_barrier_t): Do not expect.
57958         [UNIX98] (pthread_barrierattr_t): Likewise.
57959         [UNIX98] (pthread_spinlock_t): Likewise.
57960         [UNIX98] (pthread_barrier_destroy): Likewise.
57961         [UNIX98] (pthread_barrier_init): Likewise.
57962         [UNIX98] (pthread_barrier_wait): Likewise.
57963         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57964         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57965         [UNIX98] (pthread_barrierattr_init): Likewise.
57966         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57967         [UNIX98] (pthread_getcpuclockid): Likewise.
57968         [UNIX98] (pthread_mutex_timedlock): Likewise.
57969         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57970         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57971         [UNIX98] (pthread_sigmask): Likewise.
57972         [UNIX98] (pthread_spin_destroy): Likewise.
57973         [UNIX98] (pthread_spin_init): Likewise.
57974         [UNIX98] (pthread_spin_lock): Likewise.
57975         [UNIX98] (pthread_spin_trylock): Likewise.
57976         [UNIX98] (pthread_spin_unlock): Likewise.
57977         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57978         Do not expect.
57979         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57980         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57981         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57982         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57983         [XPG3 || XPG4] (pthread_key_t): Likewise.
57984         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57985         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57986         [XPG3 || XPG4] (pthread_once_t): Likewise.
57987         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57988         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57989         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57990         [XPG3 || XPG4] (pthread_t): Likewise.
57992         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57993         not expect.
57994         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57996         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57997         Change function return type to int.
57999         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58000         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58001         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58002         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58003         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58004         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58005         [!POSIX] (posix_madvise): Likewise.
58006         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58007         && !UNIX98].
58008         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58009         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58010         (mode_t): Likewise.
58011         (posix_mem_offset): Likewise.
58012         (posix_typed_mem_get_info): Likewise.
58013         (posix_typed_mem_open): Likewise.
58015         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58016         Change condition to [XOPEN2K8].
58018         * conform/conformtest.pl: Preprocess allow-header data with -x c
58019         instead of from stdin.
58020         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58021         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58022         [C99-based standards] (cerfc): Likewise.
58023         [C99-based standards] (cexp2): Likewise.
58024         [C99-based standards] (cexpm1): Likewise.
58025         [C99-based standards] (clog10): Likewise.
58026         [C99-based standards] (clog1p): Likewise.
58027         [C99-based standards] (clog2): Likewise.
58028         [C99-based standards] (clgamma): Likewise.
58029         [C99-based standards] (ctgamma): Likewise.
58030         [C99-based standards] (cerff): Likewise.
58031         [C99-based standards] (cerfcf): Likewise.
58032         [C99-based standards] (cexp2f): Likewise.
58033         [C99-based standards] (cexpm1f): Likewise.
58034         [C99-based standards] (clog10f): Likewise.
58035         [C99-based standards] (clog1pf): Likewise.
58036         [C99-based standards] (clog2f): Likewise.
58037         [C99-based standards] (clgammaf): Likewise.
58038         [C99-based standards] (ctgammaf): Likewise.
58039         [C99-based standards] (cerfl): Likewise.
58040         [C99-based standards] (cerfcl): Likewise.
58041         [C99-based standards] (cexp2l): Likewise.
58042         [C99-based standards] (cexpm1l): Likewise.
58043         [C99-based standards] (clog10l): Likewise.
58044         [C99-based standards] (clog1pl): Likewise.
58045         [C99-based standards] (clog2l): Likewise.
58046         [C99-based standards] (clgammal): Likewise.
58047         [C99-based standards] (ctgammal): Likewise.
58048         * conform/data/inttypes.h-data [C99-based standards]: Include
58049         stdint.h-data.  Remove all expectations for stdint.h contents.
58050         [C99-based standards] (PRI*): Do not allow.
58051         [C99-based standards] (SCN*): Likewise.
58052         [C99-based standards] (*_t): Likewise.
58053         [C99-based-standards] (PRId8): Expect macro.
58054         [C99-based-standards] (PRIi8): Likewise.
58055         [C99-based-standards] (PRIo8): Likewise.
58056         [C99-based-standards] (PRIu8): Likewise.
58057         [C99-based-standards] (PRIx8): Likewise.
58058         [C99-based-standards] (PRIX8): Likewise.
58059         [C99-based-standards] (SCNd8): Likewise.
58060         [C99-based-standards] (SCNi8): Likewise.
58061         [C99-based-standards] (SCNo8): Likewise.
58062         [C99-based-standards] (SCNu8): Likewise.
58063         [C99-based-standards] (SCNx8): Likewise.
58064         [C99-based-standards] (PRIdLEAST8): Likewise.
58065         [C99-based-standards] (PRIiLEAST8): Likewise.
58066         [C99-based-standards] (PRIoLEAST8): Likewise.
58067         [C99-based-standards] (PRIuLEAST8): Likewise.
58068         [C99-based-standards] (PRIxLEAST8): Likewise.
58069         [C99-based-standards] (PRIXLEAST8): Likewise.
58070         [C99-based-standards] (SCNdLEAST8): Likewise.
58071         [C99-based-standards] (SCNiLEAST8): Likewise.
58072         [C99-based-standards] (SCNoLEAST8): Likewise.
58073         [C99-based-standards] (SCNuLEAST8): Likewise.
58074         [C99-based-standards] (SCNxLEAST8): Likewise.
58075         [C99-based-standards] (PRIdFAST8): Likewise.
58076         [C99-based-standards] (PRIiFAST8): Likewise.
58077         [C99-based-standards] (PRIoFAST8): Likewise.
58078         [C99-based-standards] (PRIuFAST8): Likewise.
58079         [C99-based-standards] (PRIxFAST8): Likewise.
58080         [C99-based-standards] (PRIXFAST8): Likewise.
58081         [C99-based-standards] (SCNdFAST8): Likewise.
58082         [C99-based-standards] (SCNiFAST8): Likewise.
58083         [C99-based-standards] (SCNoFAST8): Likewise.
58084         [C99-based-standards] (SCNuFAST8): Likewise.
58085         [C99-based-standards] (SCNxFAST8): Likewise.
58086         [C99-based-standards] (PRId16): Likewise.
58087         [C99-based-standards] (PRIi16): Likewise.
58088         [C99-based-standards] (PRIo16): Likewise.
58089         [C99-based-standards] (PRIu16): Likewise.
58090         [C99-based-standards] (PRIx16): Likewise.
58091         [C99-based-standards] (PRIX16): Likewise.
58092         [C99-based-standards] (SCNd16): Likewise.
58093         [C99-based-standards] (SCNi16): Likewise.
58094         [C99-based-standards] (SCNo16): Likewise.
58095         [C99-based-standards] (SCNu16): Likewise.
58096         [C99-based-standards] (SCNx16): Likewise.
58097         [C99-based-standards] (PRIdLEAST16): Likewise.
58098         [C99-based-standards] (PRIiLEAST16): Likewise.
58099         [C99-based-standards] (PRIoLEAST16): Likewise.
58100         [C99-based-standards] (PRIuLEAST16): Likewise.
58101         [C99-based-standards] (PRIxLEAST16): Likewise.
58102         [C99-based-standards] (PRIXLEAST16): Likewise.
58103         [C99-based-standards] (SCNdLEAST16): Likewise.
58104         [C99-based-standards] (SCNiLEAST16): Likewise.
58105         [C99-based-standards] (SCNoLEAST16): Likewise.
58106         [C99-based-standards] (SCNuLEAST16): Likewise.
58107         [C99-based-standards] (SCNxLEAST16): Likewise.
58108         [C99-based-standards] (PRIdFAST16): Likewise.
58109         [C99-based-standards] (PRIiFAST16): Likewise.
58110         [C99-based-standards] (PRIoFAST16): Likewise.
58111         [C99-based-standards] (PRIuFAST16): Likewise.
58112         [C99-based-standards] (PRIxFAST16): Likewise.
58113         [C99-based-standards] (PRIXFAST16): Likewise.
58114         [C99-based-standards] (SCNdFAST16): Likewise.
58115         [C99-based-standards] (SCNiFAST16): Likewise.
58116         [C99-based-standards] (SCNoFAST16): Likewise.
58117         [C99-based-standards] (SCNuFAST16): Likewise.
58118         [C99-based-standards] (SCNxFAST16): Likewise.
58119         [C99-based-standards] (PRId32): Likewise.
58120         [C99-based-standards] (PRIi32): Likewise.
58121         [C99-based-standards] (PRIo32): Likewise.
58122         [C99-based-standards] (PRIu32): Likewise.
58123         [C99-based-standards] (PRIx32): Likewise.
58124         [C99-based-standards] (PRIX32): Likewise.
58125         [C99-based-standards] (SCNd32): Likewise.
58126         [C99-based-standards] (SCNi32): Likewise.
58127         [C99-based-standards] (SCNo32): Likewise.
58128         [C99-based-standards] (SCNu32): Likewise.
58129         [C99-based-standards] (SCNx32): Likewise.
58130         [C99-based-standards] (PRIdLEAST32): Likewise.
58131         [C99-based-standards] (PRIiLEAST32): Likewise.
58132         [C99-based-standards] (PRIoLEAST32): Likewise.
58133         [C99-based-standards] (PRIuLEAST32): Likewise.
58134         [C99-based-standards] (PRIxLEAST32): Likewise.
58135         [C99-based-standards] (PRIXLEAST32): Likewise.
58136         [C99-based-standards] (SCNdLEAST32): Likewise.
58137         [C99-based-standards] (SCNiLEAST32): Likewise.
58138         [C99-based-standards] (SCNoLEAST32): Likewise.
58139         [C99-based-standards] (SCNuLEAST32): Likewise.
58140         [C99-based-standards] (SCNxLEAST32): Likewise.
58141         [C99-based-standards] (PRIdFAST32): Likewise.
58142         [C99-based-standards] (PRIiFAST32): Likewise.
58143         [C99-based-standards] (PRIoFAST32): Likewise.
58144         [C99-based-standards] (PRIuFAST32): Likewise.
58145         [C99-based-standards] (PRIxFAST32): Likewise.
58146         [C99-based-standards] (PRIXFAST32): Likewise.
58147         [C99-based-standards] (SCNdFAST32): Likewise.
58148         [C99-based-standards] (SCNiFAST32): Likewise.
58149         [C99-based-standards] (SCNoFAST32): Likewise.
58150         [C99-based-standards] (SCNuFAST32): Likewise.
58151         [C99-based-standards] (SCNxFAST32): Likewise.
58152         [C99-based-standards] (PRId64): Likewise.
58153         [C99-based-standards] (PRIi64): Likewise.
58154         [C99-based-standards] (PRIo64): Likewise.
58155         [C99-based-standards] (PRIu64): Likewise.
58156         [C99-based-standards] (PRIx64): Likewise.
58157         [C99-based-standards] (PRIX64): Likewise.
58158         [C99-based-standards] (SCNd64): Likewise.
58159         [C99-based-standards] (SCNi64): Likewise.
58160         [C99-based-standards] (SCNo64): Likewise.
58161         [C99-based-standards] (SCNu64): Likewise.
58162         [C99-based-standards] (SCNx64): Likewise.
58163         [C99-based-standards] (PRIdLEAST64): Likewise.
58164         [C99-based-standards] (PRIiLEAST64): Likewise.
58165         [C99-based-standards] (PRIoLEAST64): Likewise.
58166         [C99-based-standards] (PRIuLEAST64): Likewise.
58167         [C99-based-standards] (PRIxLEAST64): Likewise.
58168         [C99-based-standards] (PRIXLEAST64): Likewise.
58169         [C99-based-standards] (SCNdLEAST64): Likewise.
58170         [C99-based-standards] (SCNiLEAST64): Likewise.
58171         [C99-based-standards] (SCNoLEAST64): Likewise.
58172         [C99-based-standards] (SCNuLEAST64): Likewise.
58173         [C99-based-standards] (SCNxLEAST64): Likewise.
58174         [C99-based-standards] (PRIdFAST64): Likewise.
58175         [C99-based-standards] (PRIiFAST64): Likewise.
58176         [C99-based-standards] (PRIoFAST64): Likewise.
58177         [C99-based-standards] (PRIuFAST64): Likewise.
58178         [C99-based-standards] (PRIxFAST64): Likewise.
58179         [C99-based-standards] (PRIXFAST64): Likewise.
58180         [C99-based-standards] (SCNdFAST64): Likewise.
58181         [C99-based-standards] (SCNiFAST64): Likewise.
58182         [C99-based-standards] (SCNoFAST64): Likewise.
58183         [C99-based-standards] (SCNuFAST64): Likewise.
58184         [C99-based-standards] (SCNxFAST64): Likewise.
58185         [C99-based-standards] (PRIdMAX): Likewise.
58186         [C99-based-standards] (PRIiMAX): Likewise.
58187         [C99-based-standards] (PRIoMAX): Likewise.
58188         [C99-based-standards] (PRIuMAX): Likewise.
58189         [C99-based-standards] (PRIxMAX): Likewise.
58190         [C99-based-standards] (PRIXMAX): Likewise.
58191         [C99-based-standards] (SCNdMAX): Likewise.
58192         [C99-based-standards] (SCNiMAX): Likewise.
58193         [C99-based-standards] (SCNoMAX): Likewise.
58194         [C99-based-standards] (SCNuMAX): Likewise.
58195         [C99-based-standards] (SCNxMAX): Likewise.
58196         [C99-based-standards] (PRIdPTR): Likewise.
58197         [C99-based-standards] (PRIiPTR): Likewise.
58198         [C99-based-standards] (PRIoPTR): Likewise.
58199         [C99-based-standards] (PRIuPTR): Likewise.
58200         [C99-based-standards] (PRIxPTR): Likewise.
58201         [C99-based-standards] (PRIXPTR): Likewise.
58202         [C99-based-standards] (SCNdPTR): Likewise.
58203         [C99-based-standards] (SCNiPTR): Likewise.
58204         [C99-based-standards] (SCNoPTR): Likewise.
58205         [C99-based-standards] (SCNuPTR): Likewise.
58206         [C99-based-standards] (SCNxPTR): Likewise.
58207         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58208         allow.
58209         * conform/data/stdint.h-data: Update comments to clarify
58210         requirements.
58211         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58212         type.
58213         [C99-based standards] (INT8_MAX): Likewise.
58214         [C99-based standards] (INT16_MIN): Likewise.
58215         [C99-based standards] (INT16_MAX): Likewise.
58216         [C99-based standards] (INT32_MIN): Likewise.
58217         [C99-based standards] (INT32_MAX): Likewise.
58218         [C99-based standards] (INT64_MIN): Likewise.
58219         [C99-based standards] (INT64_MAX): Likewise.
58220         [C99-based standards] (UINT8_MAX): Likewise.
58221         [C99-based standards] (UINT16_MAX): Likewise.
58222         [C99-based standards] (UINT32_MAX): Likewise.
58223         [C99-based standards] (UINT64_MAX): Likewise.
58224         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58225         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58226         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58227         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58228         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58229         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58230         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58231         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58232         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58233         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58234         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58235         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58236         [C99-based standards] (INT_FAST8_MIN): Likewise.
58237         [C99-based standards] (INT_FAST8_MAX): Likewise.
58238         [C99-based standards] (INT_FAST16_MIN): Likewise.
58239         [C99-based standards] (INT_FAST16_MAX): Likewise.
58240         [C99-based standards] (INT_FAST32_MIN): Likewise.
58241         [C99-based standards] (INT_FAST32_MAX): Likewise.
58242         [C99-based standards] (INT_FAST64_MIN): Likewise.
58243         [C99-based standards] (INT_FAST64_MAX): Likewise.
58244         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58245         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58246         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58247         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58248         [C99-based standards] (INTPTR_MIN): Likewise.
58249         [C99-based standards] (INTPTR_MAX): Likewise.
58250         [C99-based standards] (UINTPTR_MAX): Likewise.
58251         [C99-based standards] (INTMAX_MIN): Likewise.
58252         [C99-based standards] (INTMAX_MAX): Likewise.
58253         [C99-based standards] (UINTMAX_MAX): Likewise.
58254         [C99-based standards] (PTRDIFF_MIN): Likewise.
58255         [C99-based standards] (PTRDIFF_MAX): Likewise.
58256         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58257         [C99-based standards] (SIZE_MAX): Likewise.
58258         [C99-based standards] (WCHAR_MAX): Likewise.
58259         [C99-based standards] (WINT_MAX): Likewise.
58260         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58261         constraint on value.
58262         [C99-based standards] (WCHAR_MIN): Likewise.
58263         [C99-based standards] (WINT_MIN): Likewise.
58264         [C99-based standards] (*_t): Allow.
58265         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58266         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58267         Include math.h-data and complex.h-data.  Remove all expectations
58268         of math.h and complex.h contents.
58269         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58270         at end of line.
58271         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58272         (struct tm): Expect tag.
58273         [C99-based-standards] (wcstof): Expect function.
58274         [C99-based-standards] (wcstold): Likewise.
58275         [C99-based-standards] (wcstoll): Likewise.
58276         [C99-based-standards] (wcstoull): Likewise.
58277         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58278         macro-int-constant.  Specify type.
58279         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58280         constraint on value.
58281         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58282         Specify type.
58283         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58284         Specify value.
58285         [ISO C standards]: Do not allow headers.
58286         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58287         wcs[abcdefghijklmnopqrstuvwxyz]*.
58288         [ISO C standards] (*_t): Do not allow.
58289         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58290         Expect function.
58291         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58292         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58293         Specify type.
58294         [ISO C standards]: Do not allow headers.
58295         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58296         is[abcdefghijklmnopqrstuvwxyz]*.
58297         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58298         to[abcdefghijklmnopqrstuvwxyz]*.
58299         [ISO C standards] (*_t): Do not allow.
58300         * conform/data/stdalign.h-data: New file.
58301         * conform/data/stdbool.h-data: Likewise.
58302         * conform/data/stdnoreturn.h-data: Likewise.
58304 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58306         [BZ #14815]
58307         * manual/filesys.texi (Directory Entries): Typo fix.
58308         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58310 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58312         * elf/elf.h (EM_AARCH64): New macro.
58313         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58314         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58315         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58316         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58317         (R_AARCH64_TLSDESC): Likewise.
58318         (NT_ARM_TLS): Likewise.
58319         (NT_ARM_HW_BREAK): Likewise.
58320         (NT_ARM_HW_WATCH): Likewise.
58322 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58324         [BZ #14811]
58325         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58326         (__ieee754_powl): Saturate nonzero exponents with absolute value
58327         below 0x1p-79 to +/- 0x1p-79.
58328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58329         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58330         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58331         nonzero exponents with absolute value below 0x1p-32 to +/-
58332         0x1p-32.
58333         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58334         (__ieee754_powl): Saturate nonzero exponents with absolute value
58335         below 0x1p-79 to +/- 0x1p-79.
58336         * math/libm-test.inc (pow_test): Add more tests.
58338 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58340         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58341         _dl_s390_cap_flags with kernel. Increase string length.
58342         (_dl_s390_platforms): Add z196 and zEC12.
58344 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58346         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58347         Change XOPEN21K to XOPEN2K.
58349 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58351         * string/memmove.c: Use memcpy when possible.
58353 2012-11-06  Andreas Jaeger  <aj@suse.de>
58355         * po/eo.po: Update from translation team.
58357 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58359         [BZ #14793]
58360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58361         exponent and small x and y exponents, scale x or y up.  Increase
58362         by 2 the exponent used in scaling up.
58363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58365         * math/libm-test.inc (fma_test): Add more tests.
58366         (fma_test_towardzero): Likewise.
58367         (fma_test_downward): Likewise.
58368         (fma_test_upward): Likewise.
58370 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58372         [BZ #14805]
58373         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58374         fenv_t *.
58376         [BZ #14801]
58377         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58378         namespace for names of struct fields.
58379         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58380         fenv_t fields.
58381         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58382         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58384 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58386         [BZ #3665]
58387         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58389 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58391         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58392         PTR_DEMANGLE.
58394         [BZ #5246]
58395         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58396         PTR_DEMANGLE.
58398 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58400         [BZ #14797]
58401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58402         definitely overflow as x * y not x * y + z.
58403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58405         * math/libm-test.inc (fma_test): Add more tests.
58406         (fma_test_towardzero): Likewise.
58407         (fma_test_downward): Likewise.
58408         (fma_test_upward): Likewise.
58410 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58412         [BZ #157]
58414         * include/stub-tag.h: Remove file.
58415         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58416         '#include' of it.
58417         * manual/maint.texi (Porting): Don't reference it.
58418         * Makerules ($(objpfx)stubs): Likewise.
58419         * dirent/closedir.c: Don't include <stub-tag.h>.
58420         * dirent/dirfd.c: Likewise.
58421         * dirent/fdopendir.c: Likewise.
58422         * dirent/getdents.c: Likewise.
58423         * dirent/getdents64.c: Likewise.
58424         * dirent/opendir.c: Likewise.
58425         * dirent/readdir.c: Likewise.
58426         * dirent/readdir64.c: Likewise.
58427         * dirent/readdir64_r.c: Likewise.
58428         * dirent/readdir_r.c: Likewise.
58429         * dirent/rewinddir.c: Likewise.
58430         * dirent/seekdir.c: Likewise.
58431         * dirent/telldir.c: Likewise.
58432         * gmon/profil.c: Likewise.
58433         * grp/setgroups.c: Likewise.
58434         * inet/if_index.c: Likewise.
58435         * io/access.c: Likewise.
58436         * io/chdir.c: Likewise.
58437         * io/chmod.c: Likewise.
58438         * io/chown.c: Likewise.
58439         * io/close.c: Likewise.
58440         * io/dup.c: Likewise.
58441         * io/dup2.c: Likewise.
58442         * io/dup3.c: Likewise.
58443         * io/euidaccess.c: Likewise.
58444         * io/faccessat.c: Likewise.
58445         * io/fchdir.c: Likewise.
58446         * io/fchmod.c: Likewise.
58447         * io/fchmodat.c: Likewise.
58448         * io/fchown.c: Likewise.
58449         * io/fchownat.c: Likewise.
58450         * io/fcntl.c: Likewise.
58451         * io/flock.c: Likewise.
58452         * io/fstatfs.c: Likewise.
58453         * io/fstatfs64.c: Likewise.
58454         * io/fstatvfs.c: Likewise.
58455         * io/fstatvfs64.c: Likewise.
58456         * io/futimens.c: Likewise.
58457         * io/fxstat.c: Likewise.
58458         * io/fxstat64.c: Likewise.
58459         * io/fxstatat.c: Likewise.
58460         * io/fxstatat64.c: Likewise.
58461         * io/getcwd.c: Likewise.
58462         * io/isatty.c: Likewise.
58463         * io/lchmod.c: Likewise.
58464         * io/lchown.c: Likewise.
58465         * io/link.c: Likewise.
58466         * io/linkat.c: Likewise.
58467         * io/lseek.c: Likewise.
58468         * io/lseek64.c: Likewise.
58469         * io/lxstat64.c: Likewise.
58470         * io/mkdir.c: Likewise.
58471         * io/mkdirat.c: Likewise.
58472         * io/mkfifo.c: Likewise.
58473         * io/mkfifoat.c: Likewise.
58474         * io/open.c: Likewise.
58475         * io/open64.c: Likewise.
58476         * io/openat.c: Likewise.
58477         * io/openat64.c: Likewise.
58478         * io/pipe.c: Likewise.
58479         * io/pipe2.c: Likewise.
58480         * io/poll.c: Likewise.
58481         * io/posix_fadvise.c: Likewise.
58482         * io/posix_fadvise64.c: Likewise.
58483         * io/posix_fallocate.c: Likewise.
58484         * io/posix_fallocate64.c: Likewise.
58485         * io/read.c: Likewise.
58486         * io/readlink.c: Likewise.
58487         * io/readlinkat.c: Likewise.
58488         * io/rmdir.c: Likewise.
58489         * io/sendfile.c: Likewise.
58490         * io/sendfile64.c: Likewise.
58491         * io/statfs.c: Likewise.
58492         * io/statfs64.c: Likewise.
58493         * io/statvfs.c: Likewise.
58494         * io/statvfs64.c: Likewise.
58495         * io/symlink.c: Likewise.
58496         * io/symlinkat.c: Likewise.
58497         * io/ttyname.c: Likewise.
58498         * io/ttyname_r.c: Likewise.
58499         * io/umask.c: Likewise.
58500         * io/unlink.c: Likewise.
58501         * io/unlinkat.c: Likewise.
58502         * io/utime.c: Likewise.
58503         * io/utimensat.c: Likewise.
58504         * io/write.c: Likewise.
58505         * io/xmknod.c: Likewise.
58506         * io/xmknodat.c: Likewise.
58507         * io/xstat.c: Likewise.
58508         * io/xstat64.c: Likewise.
58509         * login/getpt.c: Likewise.
58510         * login/grantpt.c: Likewise.
58511         * login/unlockpt.c: Likewise.
58512         * math/e_acoshl.c: Likewise.
58513         * math/e_acosl.c: Likewise.
58514         * math/e_asinl.c: Likewise.
58515         * math/e_atan2l.c: Likewise.
58516         * math/e_atanhl.c: Likewise.
58517         * math/e_coshl.c: Likewise.
58518         * math/e_expl.c: Likewise.
58519         * math/e_fmodl.c: Likewise.
58520         * math/e_gammal_r.c: Likewise.
58521         * math/e_hypotl.c: Likewise.
58522         * math/e_j0l.c: Likewise.
58523         * math/e_j1l.c: Likewise.
58524         * math/e_jnl.c: Likewise.
58525         * math/e_lgammal_r.c: Likewise.
58526         * math/e_log10l.c: Likewise.
58527         * math/e_log2l.c: Likewise.
58528         * math/e_logl.c: Likewise.
58529         * math/e_powl.c: Likewise.
58530         * math/e_rem_pio2l.c: Likewise.
58531         * math/e_sinhl.c: Likewise.
58532         * math/e_sqrtl.c: Likewise.
58533         * math/fclrexcpt.c: Likewise.
58534         * math/fedisblxcpt.c: Likewise.
58535         * math/feenablxcpt.c: Likewise.
58536         * math/fegetenv.c: Likewise.
58537         * math/fegetexcept.c: Likewise.
58538         * math/fegetround.c: Likewise.
58539         * math/feholdexcpt.c: Likewise.
58540         * math/fesetenv.c: Likewise.
58541         * math/fesetround.c: Likewise.
58542         * math/feupdateenv.c: Likewise.
58543         * math/fgetexcptflg.c: Likewise.
58544         * math/fraiseexcpt.c: Likewise.
58545         * math/fsetexcptflg.c: Likewise.
58546         * math/ftestexcept.c: Likewise.
58547         * math/k_cosl.c: Likewise.
58548         * math/k_rem_pio2l.c: Likewise.
58549         * math/k_sinl.c: Likewise.
58550         * math/k_tanl.c: Likewise.
58551         * math/s_asinhl.c: Likewise.
58552         * math/s_atanl.c: Likewise.
58553         * math/s_cbrtl.c: Likewise.
58554         * math/s_erfl.c: Likewise.
58555         * math/s_expm1l.c: Likewise.
58556         * math/s_log1pl.c: Likewise.
58557         * math/s_tanhl.c: Likewise.
58558         * misc/acct.c: Likewise.
58559         * misc/brk.c: Likewise.
58560         * misc/chflags.c: Likewise.
58561         * misc/chroot.c: Likewise.
58562         * misc/fchflags.c: Likewise.
58563         * misc/fgetxattr.c: Likewise.
58564         * misc/flistxattr.c: Likewise.
58565         * misc/fremovexattr.c: Likewise.
58566         * misc/fsetxattr.c: Likewise.
58567         * misc/fsync.c: Likewise.
58568         * misc/ftruncate.c: Likewise.
58569         * misc/futimes.c: Likewise.
58570         * misc/futimesat.c: Likewise.
58571         * misc/getdomain.c: Likewise.
58572         * misc/getdtsz.c: Likewise.
58573         * misc/gethostid.c: Likewise.
58574         * misc/gethostname.c: Likewise.
58575         * misc/getloadavg.c: Likewise.
58576         * misc/getpagesize.c: Likewise.
58577         * misc/getsysstats.c: Likewise.
58578         * misc/getxattr.c: Likewise.
58579         * misc/gtty.c: Likewise.
58580         * misc/ioctl.c: Likewise.
58581         * misc/lgetxattr.c: Likewise.
58582         * misc/listxattr.c: Likewise.
58583         * misc/llistxattr.c: Likewise.
58584         * misc/lremovexattr.c: Likewise.
58585         * misc/lsetxattr.c: Likewise.
58586         * misc/lutimes.c: Likewise.
58587         * misc/madvise.c: Likewise.
58588         * misc/mincore.c: Likewise.
58589         * misc/mlock.c: Likewise.
58590         * misc/mlockall.c: Likewise.
58591         * misc/mmap.c: Likewise.
58592         * misc/mprotect.c: Likewise.
58593         * misc/msync.c: Likewise.
58594         * misc/munlock.c: Likewise.
58595         * misc/munlockall.c: Likewise.
58596         * misc/munmap.c: Likewise.
58597         * misc/preadv.c: Likewise.
58598         * misc/preadv64.c: Likewise.
58599         * misc/ptrace.c: Likewise.
58600         * misc/pwritev.c: Likewise.
58601         * misc/pwritev64.c: Likewise.
58602         * misc/readv.c: Likewise.
58603         * misc/reboot.c: Likewise.
58604         * misc/remap_file_pages.c: Likewise.
58605         * misc/removexattr.c: Likewise.
58606         * misc/revoke.c: Likewise.
58607         * misc/select.c: Likewise.
58608         * misc/setdomain.c: Likewise.
58609         * misc/setegid.c: Likewise.
58610         * misc/seteuid.c: Likewise.
58611         * misc/sethostid.c: Likewise.
58612         * misc/sethostname.c: Likewise.
58613         * misc/setregid.c: Likewise.
58614         * misc/setreuid.c: Likewise.
58615         * misc/setxattr.c: Likewise.
58616         * misc/sstk.c: Likewise.
58617         * misc/stty.c: Likewise.
58618         * misc/swapoff.c: Likewise.
58619         * misc/swapon.c: Likewise.
58620         * misc/sync.c: Likewise.
58621         * misc/syncfs.c: Likewise.
58622         * misc/syscall.c: Likewise.
58623         * misc/truncate.c: Likewise.
58624         * misc/ualarm.c: Likewise.
58625         * misc/usleep.c: Likewise.
58626         * misc/ustat.c: Likewise.
58627         * misc/utimes.c: Likewise.
58628         * misc/vhangup.c: Likewise.
58629         * misc/writev.c: Likewise.
58630         * posix/_exit.c: Likewise.
58631         * posix/alarm.c: Likewise.
58632         * posix/execve.c: Likewise.
58633         * posix/fexecve.c: Likewise.
58634         * posix/fork.c: Likewise.
58635         * posix/fpathconf.c: Likewise.
58636         * posix/getaddrinfo.c: Likewise.
58637         * posix/getegid.c: Likewise.
58638         * posix/geteuid.c: Likewise.
58639         * posix/getgid.c: Likewise.
58640         * posix/getgroups.c: Likewise.
58641         * posix/getlogin.c: Likewise.
58642         * posix/getlogin_r.c: Likewise.
58643         * posix/getpgid.c: Likewise.
58644         * posix/getpid.c: Likewise.
58645         * posix/getppid.c: Likewise.
58646         * posix/getresgid.c: Likewise.
58647         * posix/getresuid.c: Likewise.
58648         * posix/getsid.c: Likewise.
58649         * posix/getuid.c: Likewise.
58650         * posix/glob64.c: Likewise.
58651         * posix/nanosleep.c: Likewise.
58652         * posix/pathconf.c: Likewise.
58653         * posix/pause.c: Likewise.
58654         * posix/posix_madvise.c: Likewise.
58655         * posix/pread.c: Likewise.
58656         * posix/pread64.c: Likewise.
58657         * posix/pwrite.c: Likewise.
58658         * posix/pwrite64.c: Likewise.
58659         * posix/sched_getaffinity.c: Likewise.
58660         * posix/sched_getp.c: Likewise.
58661         * posix/sched_gets.c: Likewise.
58662         * posix/sched_primax.c: Likewise.
58663         * posix/sched_primin.c: Likewise.
58664         * posix/sched_rr_gi.c: Likewise.
58665         * posix/sched_setaffinity.c: Likewise.
58666         * posix/sched_setp.c: Likewise.
58667         * posix/sched_sets.c: Likewise.
58668         * posix/sched_yield.c: Likewise.
58669         * posix/setgid.c: Likewise.
58670         * posix/setlogin.c: Likewise.
58671         * posix/setpgid.c: Likewise.
58672         * posix/setresgid.c: Likewise.
58673         * posix/setresuid.c: Likewise.
58674         * posix/setsid.c: Likewise.
58675         * posix/setuid.c: Likewise.
58676         * posix/sleep.c: Likewise.
58677         * posix/spawni.c: Likewise.
58678         * posix/sysconf.c: Likewise.
58679         * posix/times.c: Likewise.
58680         * posix/wait.c: Likewise.
58681         * posix/wait3.c: Likewise.
58682         * posix/wait4.c: Likewise.
58683         * posix/waitpid.c: Likewise.
58684         * resolv/gai_sigqueue.c: Likewise.
58685         * resource/getpriority.c: Likewise.
58686         * resource/getrlimit.c: Likewise.
58687         * resource/getrusage.c: Likewise.
58688         * resource/nice.c: Likewise.
58689         * resource/setpriority.c: Likewise.
58690         * resource/setrlimit.c: Likewise.
58691         * resource/ulimit.c: Likewise.
58692         * rt/aio_cancel.c: Likewise.
58693         * rt/aio_fsync.c: Likewise.
58694         * rt/aio_read.c: Likewise.
58695         * rt/aio_sigqueue.c: Likewise.
58696         * rt/aio_suspend.c: Likewise.
58697         * rt/aio_write.c: Likewise.
58698         * rt/clock_getres.c: Likewise.
58699         * rt/clock_gettime.c: Likewise.
58700         * rt/clock_nanosleep.c: Likewise.
58701         * rt/clock_settime.c: Likewise.
58702         * rt/lio_listio.c: Likewise.
58703         * rt/mq_close.c: Likewise.
58704         * rt/mq_getattr.c: Likewise.
58705         * rt/mq_notify.c: Likewise.
58706         * rt/mq_open.c: Likewise.
58707         * rt/mq_receive.c: Likewise.
58708         * rt/mq_send.c: Likewise.
58709         * rt/mq_setattr.c: Likewise.
58710         * rt/mq_timedreceive.c: Likewise.
58711         * rt/mq_timedsend.c: Likewise.
58712         * rt/mq_unlink.c: Likewise.
58713         * rt/shm_open.c: Likewise.
58714         * rt/shm_unlink.c: Likewise.
58715         * rt/timer_create.c: Likewise.
58716         * rt/timer_delete.c: Likewise.
58717         * rt/timer_getoverr.c: Likewise.
58718         * rt/timer_gettime.c: Likewise.
58719         * rt/timer_settime.c: Likewise.
58720         * setjmp/__longjmp.c: Likewise.
58721         * setjmp/setjmp.c: Likewise.
58722         * signal/kill.c: Likewise.
58723         * signal/killpg.c: Likewise.
58724         * signal/raise.c: Likewise.
58725         * signal/sigaction.c: Likewise.
58726         * signal/sigaltstack.c: Likewise.
58727         * signal/sigblock.c: Likewise.
58728         * signal/sigignore.c: Likewise.
58729         * signal/sigintr.c: Likewise.
58730         * signal/signal.c: Likewise.
58731         * signal/sigpause.c: Likewise.
58732         * signal/sigpending.c: Likewise.
58733         * signal/sigqueue.c: Likewise.
58734         * signal/sigreturn.c: Likewise.
58735         * signal/sigset.c: Likewise.
58736         * signal/sigsetmask.c: Likewise.
58737         * signal/sigstack.c: Likewise.
58738         * signal/sigsuspend.c: Likewise.
58739         * signal/sigtimedwait.c: Likewise.
58740         * signal/sigvec.c: Likewise.
58741         * signal/sigwait.c: Likewise.
58742         * signal/sigwaitinfo.c: Likewise.
58743         * signal/sysv_signal.c: Likewise.
58744         * socket/accept.c: Likewise.
58745         * socket/accept4.c: Likewise.
58746         * socket/bind.c: Likewise.
58747         * socket/connect.c: Likewise.
58748         * socket/getpeername.c: Likewise.
58749         * socket/getsockname.c: Likewise.
58750         * socket/getsockopt.c: Likewise.
58751         * socket/isfdtype.c: Likewise.
58752         * socket/listen.c: Likewise.
58753         * socket/recv.c: Likewise.
58754         * socket/recvfrom.c: Likewise.
58755         * socket/recvmsg.c: Likewise.
58756         * socket/send.c: Likewise.
58757         * socket/sendmsg.c: Likewise.
58758         * socket/sendto.c: Likewise.
58759         * socket/setsockopt.c: Likewise.
58760         * socket/shutdown.c: Likewise.
58761         * socket/sockatmark.c: Likewise.
58762         * socket/socket.c: Likewise.
58763         * socket/socketpair.c: Likewise.
58764         * stdio-common/ctermid.c: Likewise.
58765         * stdio-common/cuserid.c: Likewise.
58766         * stdio-common/remove.c: Likewise.
58767         * stdio-common/rename.c: Likewise.
58768         * stdio-common/renameat.c: Likewise.
58769         * stdio-common/tempname.c: Likewise.
58770         * stdlib/getcontext.c: Likewise.
58771         * stdlib/makecontext.c: Likewise.
58772         * stdlib/setcontext.c: Likewise.
58773         * stdlib/swapcontext.c: Likewise.
58774         * stdlib/system.c: Likewise.
58775         * streams/fattach.c: Likewise.
58776         * streams/fdetach.c: Likewise.
58777         * streams/getmsg.c: Likewise.
58778         * streams/getpmsg.c: Likewise.
58779         * streams/putmsg.c: Likewise.
58780         * streams/putpmsg.c: Likewise.
58781         * sysdeps/unix/bsd/getpt.c: Likewise.
58782         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58783         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58784         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58786         Likewise.
58787         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58788         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58789         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58790         * sysvipc/msgctl.c: Likewise.
58791         * sysvipc/msgget.c: Likewise.
58792         * sysvipc/msgrcv.c: Likewise.
58793         * sysvipc/msgsnd.c: Likewise.
58794         * sysvipc/semctl.c: Likewise.
58795         * sysvipc/semget.c: Likewise.
58796         * sysvipc/semop.c: Likewise.
58797         * sysvipc/semtimedop.c: Likewise.
58798         * sysvipc/shmat.c: Likewise.
58799         * sysvipc/shmctl.c: Likewise.
58800         * sysvipc/shmdt.c: Likewise.
58801         * sysvipc/shmget.c: Likewise.
58802         * termios/tcdrain.c: Likewise.
58803         * termios/tcflow.c: Likewise.
58804         * termios/tcflush.c: Likewise.
58805         * termios/tcgetattr.c: Likewise.
58806         * termios/tcgetpgrp.c: Likewise.
58807         * termios/tcsendbrk.c: Likewise.
58808         * termios/tcsetattr.c: Likewise.
58809         * termios/tcsetpgrp.c: Likewise.
58810         * time/adjtime.c: Likewise.
58811         * time/clock.c: Likewise.
58812         * time/getitimer.c: Likewise.
58813         * time/gettimeofday.c: Likewise.
58814         * time/setitimer.c: Likewise.
58815         * time/settimeofday.c: Likewise.
58816         * time/stime.c: Likewise.
58817         * time/time.c: Likewise.
58819 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58821         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58822         /usr/old/bin.
58824         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58825         instead of spaces.
58826         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58828 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58830         [BZ #14796]
58831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58832         FE_TONEAREST before applying Dekker multiplication and Knuth
58833         addition.  Clear inexact exceptions and check for exact zero
58834         results afterwards.
58835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58836         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58838         * math/libm-test.inc (fma_test): Add more tests.
58839         (fma_test_towardzero): Likewise.
58840         (fma_test_downward): Likewise.
58841         (fma_test_upward): Likewise.
58842         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58843         function.
58844         (libc_fesetround): New macro.
58845         (libc_fesetroundf): Likewise.
58846         (libc_fesetroundl): Likewise.
58847         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58848         function.
58849         (libc_fesetround_387): Likewise.
58850         (libc_fesetroundf): New macro.
58851         (libc_fesetround): Likewise.
58852         (libc_fesetroundl): Likewise.
58853         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58854         function.
58855         (libc_fesetroundf): New macro.
58856         (libc_fesetround): Likewise.
58857         (libc_fesetroundl): Likewise.
58858         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58859         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58860         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58861         libm_hidden_ver.
58862         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58863         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58864         libm_hidden_def.
58865         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58866         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58867         libm_hidden_ver.
58868         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58869         libm_hidden_def.
58871         [BZ #3439]
58872         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58873         integer constant usable in #if and use that to give value to enum
58874         constant.
58875         (FE_DIVBYZERO): Likewise.
58876         (FE_UNDERFLOW): Likewise.
58877         (FE_OVERFLOW): Likewise.
58878         (FE_INVALID): Likewise.
58879         (FE_INVALID_SNAN): Likewise.
58880         (FE_INVALID_ISI): Likewise.
58881         (FE_INVALID_IDI): Likewise.
58882         (FE_INVALID_ZDZ): Likewise.
58883         (FE_INVALID_IMZ): Likewise.
58884         (FE_INVALID_COMPARE): Likewise.
58885         (FE_INVALID_SOFTWARE): Likewise.
58886         (FE_INVALID_SQRT): Likewise.
58887         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58888         (FE_TONEAREST): Likewise.
58889         (FE_TOWARDZERO): Likewise.
58890         (FE_UPWARD): Likewise.
58891         (FE_DOWNWARD): Likewise.
58892         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58893         (FE_DIVBYZERO): Likewise.
58894         (FE_OVERFLOW): Likewise.
58895         (FE_UNDERFLOW): Likewise.
58896         (FE_INEXACT): Likewise.
58897         (FE_TONEAREST): Likewise.
58898         (FE_DOWNWARD): Likewise.
58899         (FE_UPWARD): Likewise.
58900         (FE_TOWARDZERO): Likewise.
58901         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58902         (FE_UNDERFLOW): Likewise.
58903         (FE_OVERFLOW): Likewise.
58904         (FE_DIVBYZERO): Likewise.
58905         (FE_INVALID): Likewise.
58906         (FE_TONEAREST): Likewise.
58907         (FE_TOWARDZERO): Likewise.
58908         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58909         (FE_OVERFLOW): Likewise.
58910         (FE_UNDERFLOW): Likewise.
58911         (FE_DIVBYZERO): Likewise.
58912         (FE_INEXACT): Likewise.
58913         (FE_TONEAREST): Likewise.
58914         (FE_TOWARDZERO): Likewise.
58915         (FE_UPWARD): Likewise.
58916         (FE_DOWNWARD): Likewise.
58917         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58918         (FE_DIVBYZERO): Likewise.
58919         (FE_OVERFLOW): Likewise.
58920         (FE_UNDERFLOW): Likewise.
58921         (FE_INEXACT): Likewise.
58922         (FE_TONEAREST): Likewise.
58923         (FE_DOWNWARD): Likewise.
58924         (FE_UPWARD): Likewise.
58925         (FE_TOWARDZERO): Likewise.
58927 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58929         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58931 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58933         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58934         commands.  Quote $PWD.
58935         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58936         -x" by "export".
58937         (remove_newlines): Remove.
58939 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58941         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58942         * stdlib/stdlib.h (atof): Moved to ...
58943         * include/bits/stdlib-float.h: Here.  New file.
58944         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58945         * stdlib/bits/stdlib-float.h: New file.
58946         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58947         -mno-sse -mno-mmx.
58948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58949         <xmmintrin.h>.
58951 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58953         * conform/conformtest.pl (@headers): Add fenv.h.
58954         * conform/data/fenv.h-data: New file.
58955         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58956         include of <math/fenv.h>.
58958         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58959         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58960         && !UNIX98].  Enables tests for XOPEN2K8.
58961         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58962         POSIX2008]: Likewise.
58964         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58965         (struct rusage): Do not expect type or its members.
58967         [BZ #3439]
58968         * math/math.h (FP_NAN): Define macro to integer constant usable in
58969         #if and use that to give value to enum constant.
58970         (FP_INFINITE): Likewise.
58971         (FP_ZERO): Likewise.
58972         (FP_SUBNORMAL): Likewise.
58973         (FP_NORMAL): Likewise.
58975 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58977         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58978         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58979         arguments.
58981 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58983         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58984         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58985         autoconf-time if not.
58986         * configure.in: Remove AC_PREREQ.
58988 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58990         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58991         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58992         of the internal implementation.
58994 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58996         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58997         except include of <misc/sys/syslog.h>.
58999 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59002         function returns with a NULL context exit with zero.
59004 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59006         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59008 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59010         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59011         (run_program_cmd): This.
59012         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59013         (tst_langinfo): New variable.  Use it.
59015 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59017         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59018         floating point opcodes.
59020 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59022         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59023         variable.
59025         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59027         * sysdeps/mach/hurd/powerpc: Remove directory.
59028         * sysdeps/mach/powerpc: Likewise.
59030 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59032         * scripts/check-local-headers.sh: Ignore c++ headers.
59034 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59036         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59037         __libc_cleanup_region_start argument.
59039 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59041         [BZ #14784]
59042         [BZ #14785]
59043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59044         x * y using scaling, not as x * y + z.
59045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59046         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59047         * math/libm-test.inc (fma_test): Add more tests.
59048         (fma_test_towardzero): Likewise.
59049         (fma_test_downward): Likewise.
59050         (fma_test_upward): Likewise.
59052 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59054         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59056 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59058         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59059         New variable.
59061 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59063         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59065 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59068         Fix sort order.
59069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59070         Likewise.
59072 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59075         Fix the order of the list for glibc 2.17.
59076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59077         Likewise.
59079 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59083 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59085         [BZ #14610]
59086         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59087         for low part of x being zero before using __atanl (y).
59088         * math/libm-test.inc (atan2_test): Add another test.
59090         * manual/install.texi (Configuring and compiling): Document
59091         general use of test-wrapper and test-wrapper-env.
59092         * INSTALL: Regenerated.
59094         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59095         (__fma): Do not extract and scale down low bits on after-rounding
59096         systems when result rounded to normal precision would have normal
59097         exponent.
59098         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59099         (__fmal): Do not extract and scale down low bits on after-rounding
59100         systems when result rounded to normal precision would have normal
59101         exponent.
59102         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59103         (__fmal): Do not extract and scale down low bits on after-rounding
59104         systems when result rounded to normal precision would have normal
59105         exponent.
59106         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59107         macro.
59108         (fma_test): Add more tests.
59109         (fma_test_towardzero): Likewise.
59110         (fma_test_downward): Likewise.
59111         (fma_test_upward): Likewise.
59113 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59115         * sysdeps/i386/tininess.h: Renamed to ...
59116         * sysdeps/x86/tininess.h: This.
59117         * sysdeps/x86_64/tininess.h: Removed.
59119 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59121         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59122         input.  Use $(build-program-cmd).
59123         ($(objpfx)tst-array1-static.out): Likewise.
59124         ($(objpfx)tst-array2.out): Likewise.
59125         ($(objpfx)tst-array3.out): Likewise.
59126         ($(objpfx)tst-array4.out): Likewise.
59127         ($(objpfx)tst-array5.out): Likewise.
59128         ($(objpfx)tst-array5-static.out): Likewise.
59130 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59132         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59133         if defined.
59135         * nss/nsswitch.h (nss_interface_function): Provide new
59136         macro for use with NSS functions.
59137         * grp/initgroups.c: Use new macro.
59138         * nss/getXXbyYY.c: Likewise.
59139         * nss/getXXbyYY_r.c: Likewise.
59140         * nss/getXXent.c: Likewise.
59141         * nss/getXXent_r.c: Likewise.
59142         * sysdeps/posix/getaddrinfo.c: Likewise.
59144 2012-10-30  Andreas Jaeger  <aj@suse.de>
59146         * po/ru.po: Update Russion translation from translation project.
59148 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59150         [BZ #14152]
59151         [BZ #14783]
59152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59153         result and shift together with sticky bit instead of replicating
59154         round-to-nearest rounding.
59155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59157         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59158         missing underflow exceptions.
59159         (fma_test_towardzero): Add more tests.
59160         (fma_test_downward): Likewise.
59161         (fma_test_upward): Likewise.
59163         [BZ #14047]
59164         * sysdeps/generic/tininess.h: New file.
59165         * sysdeps/i386/tininess.h: Likewise.
59166         * sysdeps/sh/tininess.h: Likewise.
59167         * sysdeps/x86_64/tininess.h: Likewise.
59168         * stdlib/tst-strtod-underflow.c: Likewise.
59169         * stdlib/tst-tininess.c: Likewise.
59170         * stdlib/strtod_l.c: Include <tininess.h>.
59171         (round_and_return): Do not set errno for exact underflow cases.
59172         Force an underflow exception when setting errno for underflow.
59173         Determine underflow based on rounding to normal precision if
59174         TININESS_AFTER_ROUNDING.
59175         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59176         ERANGE for exact underflow cases.
59177         * stdlib/Makefile (tests): Add tst-tininess and
59178         tst-strtod-underflow.
59179         ($(objpfx)tst-tininess): Use $(link-libm).
59180         ($(objpfx)tst-strtod-underflow): Likewise.
59182 2012-10-30  Andreas Jaeger  <aj@suse.de>
59184         [BZ#14767]
59185         * elf/Makefile (tests): Remove conditional for have-initfini-array
59186         since this is now always required and the variable does not exist
59187         anymore.
59188         (tests-static): Likewise.
59189         (modules-names): Likewise.
59191         * po/eo.po: Add Esperanto translation from translation project.
59193         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59194         merged with constructor/destructor.
59195         (init_array): Likewise.
59196         * elf/tst-array2dep.c (fini_array): Likewise.
59197         (init_array): Likewise.
59199 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59201         * manual/message.texi: Delete @cartouche tags.
59203 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59205         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59206         EOPNOTSUPP.
59207         * sysdeps/mach/hurd/fsync.c: Likewise.
59209         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59210         [_POSIX_REALTIME_SIGNALS]: Change condition to
59211         [_POSIX_REALTIME_SIGNALS > 0].
59213 2012-10-27  Andreas Jaeger  <aj@suse.de>
59215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59216         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59217         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59218         [__WORDSIZE != 64]: Likewise.
59220 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59222         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59223         *  iconvdata/tst-tables.sh: Likewise.
59225 2012-10-25  David S. Miller  <davem@davemloft.net>
59227         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59228         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59229         of strtoull.
59231         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59232         ifunc-impl-list.c
59233         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59234         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59235         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59236         file.
59238 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59240         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59241         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59242         __getdirentries.
59244 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59245             Jim Blandy  <jimb@codesourcery.com>
59247         * scripts/cross-test-ssh.sh: New file.
59248         * manual/install.texi (Configuring and compiling): Document use of
59249         cross-test-ssh.sh.
59250         * INSTALL: Regenerated.
59252 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59254         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59255         EOPNOTSUPP.
59257 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59259         * Makeconfig (run-program-prefix): Fix comment.
59261 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59262             Jim Blandy  <jimb@codesourcery.com>
59264         * Makeconfig (test-wrapper): New variable,
59265         (test-wrapper-env): Likewise.
59266         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59267         (run-built-tests): Define to yes.
59268         (run-program-prefix): Use $(test-wrapper).
59269         (built-program-cmd): Likewise.
59270         * Rules (make-test-out): Use $(test-wrapper-env) and
59271         $(host-built-program-cmd).
59272         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59273         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59274         tst-pathopt.sh.
59275         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59276         $(test-wrapper-env) to tst-rtld-load-self.sh.
59277         ($(objpfx)order2.out): Use $(test-wrapper).
59278         ($(objpfx)tst-initorder.out): Likewise.
59279         ($(objpfx)tst-initorder2.out): Likewise.
59280         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59281         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59282         (test_wrapper_env): New variable.  Use it to run ld.so.
59283         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59284         Use it to run ld.so.
59285         (test_wrapper_env): Likewise.
59286         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59287         $(test-wrapper) to run-iconv-test.sh.
59288         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59289         (ICONV): Use $test_wrapper.
59290         * posix/Makefile ($(objpfx)globtest.out): Pass
59291         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59292         globtest.sh, not $(run-program-prefix).
59293         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59294         (test_wrapper): Likewise.
59295         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59296         set together with run_via_rtld_prefix.
59297         (run_program_prefix): Define in terms of test_wrapper and
59298         run_via_rtld_prefix.
59300 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59302         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59303         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59304         Targets removed.
59306         [BZ #14743]
59307         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59308         Declare __clock_getres, __clock_gettime, __clock_settime,
59309         __clock_nanosleep, and __clock_getcpuclockid.
59310         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59311         Remove librt_hidden_def (clock_gettime).
59312         * sysdeps/unix/clock_gettime.c: Likewise.
59313         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59314         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59315         * rt/clock_getres.c: Define __clock_getres as an alias.
59316         * sysdeps/posix/clock_getres.c: Likewise.
59317         * rt/clock_settime.c: Define __clock_settime as an alias.
59318         * sysdeps/unix/clock_settime.c: Likewise.
59319         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59320         * sysdeps/unix/clock_nanosleep.c: Likewise.
59321         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59322         * rt/clock-compat.c: New file.
59323         * rt/Makefile (librt-routines): Add clock-compat and move
59324         $(clock-routines) to ...
59325         (routines): ... here, new variable.
59326         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59327         Don't add get_clockfreq here.
59328         * rt/Versions (libc: GLIBC_2.17): New version set.
59329         Add clock_* symbols here.
59330         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59332         (GLIBC_2.17): Add clock_* symbols.
59333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59335         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59337         Likewise.
59338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59339         Likewise.
59340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59344         * NEWS: Mention the move.
59346         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59347         Use __open, __read, __close rather than their public counterparts.
59348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59349         (__get_clockfreq_via_cpuinfo): Likewise.
59350         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59351         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59353         * config.h.in (HAVE_IFUNC): New #undef.
59354         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59355         was successful.
59356         * configure: Regenerated.
59358 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59360         * configure.in: Move READELF check to start of file.
59361         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59362         libc_cv_asm_gnu_indirect_function in the process.
59363         * configure: Regenerated.
59365 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59367         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59368         send the output to /dev/null.
59369         (libc_cv_cc_with_libunwind): Likewise.
59370         (libc_cv_as_noexecstack): Likewise.
59371         * configure: Regenerate.
59373 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59375         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59377         * posix/globtest.sh (TMPDIR): Do not set.
59378         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59379         (testout): Likewise.
59381 2012-10-24  Andreas Jaeger  <aj@suse.de>
59383         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59384         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59385         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59386         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59387         posix_fadvise64, posix_fallocate64.
59389         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59390         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59391         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59392         Likewise.
59393         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59394         Likewise.
59395         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59397         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59398         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59399         <bits/fcntl-linux.h>.
59400         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59403         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59404         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59405         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59406         [__WORDSIZE != 64]: Likewise.
59408 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59410         * Makeconfig (run-built-tests): New variable.
59411         * Rules [$(cross-compiling) = yes]: Change condition to
59412         [$(run-built-tests) = no].
59413         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59414         to [$(run-built-tests) = yes].
59415         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59416         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59417         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59418         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59419         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59420         * io/Makefile [$(cross-compiling) = no]: Likewise.
59421         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59422         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59423         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59424         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59425         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59426         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59427         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59428         * string/Makefile [$(cross-compiling) = no]: Likewise.
59430         * posix/Makefile ($(objpfx)globtest.out): Pass
59431         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59432         $(rtld-installed-name).
59433         * posix/globtest.sh (elf_objpfx): Remove variable.
59434         (rtld_installed_name): Likewise.
59435         (library_path): Likewise.
59436         (run_program_prefix): New variable.  Use for running globtest
59437         binary.
59439 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59440             Joseph Myers  <joseph@codesourcery.com>
59442         * Makeconfig (host-built-program-cmd): New variable.
59443         * elf/Makefile (tst-stackguard1-ARGS): Use
59444         $(host-built-program-cmd).
59445         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59446         (tst-spawn-ARGS): Likewise.
59447         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59449 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59450             Jim Blandy  <jimb@codesourcery.com>
59452         * Makeconfig (run-via-rtld-prefix): New variable.
59453         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59454         (built-program-cmd): Likewise.
59456 2012-10-22  Andreas Jaeger  <aj@suse.de>
59458         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59459         __O_RSYNC if it exists, otherwise to O_SYNC.
59461 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59462             Joseph Myers  <joseph@codesourcery.com>
59464         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59465         /dev/null.
59466         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59467         from /dev/null
59468         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59469         /dev/null.
59471 2012-10-22  Andreas Jaeger  <aj@suse.de>
59473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59474         Define always.
59475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59478         bits/fcntl-linux.h.
59480         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59481         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59483         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59484         to __O_LARGEFILE.
59485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59486         to __O_LARGEFILE.
59488 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59489             Joseph Myers  <joseph@codesourcery.com>
59491         * config.make.in (NM): New variable.
59493 2012-10-21  Andreas Jaeger  <aj@suse.de>
59495         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59496         definitions and declarations that are provided by
59497         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59499 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59501         [BZ #14683]
59502         * elf/Makefile (tests-static): Add tst-leaks1-static.
59503         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59504         ($(objpfx)tst-leaks1-static): New rule.
59505         ($(objpfx)tst-leaks1-static-mem): Likewise.
59506         (tst-leaks1-static-ENV): New macro.
59507         * elf/dl-open.c (dl_open_worker): Check the main application
59508         only if SHARED is defined.
59509         * elf/tst-leaks1-static.c: New file.
59511 2012-10-20  Andreas Jaeger  <aj@suse.de>
59513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59514         generic values for Linux.
59515         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59516         and declarations that are provided by <bits/fcntl-linux.h> and
59517         include <bits/fcntl-linux.h>.
59518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59519         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59521 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59523         * io/fcntl.h: Move include of <bits/types.h> to the top and
59524         include it unconditionally.
59526 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59528         * wcsmbs/Makefile (tests-ifunc): New variable.
59529         (tests): Add $(tests-ifunc).
59530         * wcsmbs/test-wcschr-ifunc.c: New file.
59531         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59532         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59533         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59534         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59535         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59537         * string/Makefile (tests-ifunc): New variable.
59538         (tests): Add $(tests-ifunc).
59539         * string/test-memccpy.c (TEST_NAME): New macro.
59540         * string/test-memchr.c (TEST_NAME): Likewise.
59541         * string/test-memcmp.c (TEST_NAME): Likewise.
59542         * string/test-memcpy.c (TEST_NAME): Likewise.
59543         * string/test-memmem.c (TEST_NAME): Likewise.
59544         * string/test-memmove.c (TEST_NAME): Likewise.
59545         * string/test-memset.c (TEST_NAME): Likewise.
59546         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59547         * string/test-stpcpy.c (TEST_NAME): Likewise.
59548         * string/test-stpncpy.c (TEST_NAME): Likewise.
59549         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59550         * string/test-strcasestr.c (TEST_NAME): Likewise.
59551         * string/test-strcat.c (TEST_NAME): Likewise.
59552         * string/test-strchr.c (TEST_NAME): Likewise.
59553         * string/test-strcmp.c(TEST_NAME): Likewise.
59554         * string/test-strcpy.c (TEST_NAME): Likewise.
59555         * string/test-strcspn.c (TEST_NAME): Likewise.
59556         * string/test-strlen.c (TEST_NAME): Likewise.
59557         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59558         * string/test-strncmp.c (TEST_NAME): Likewise.
59559         * string/test-strncpy.c (TEST_NAME): Likewise.
59560         * string/test-strnlen.c (TEST_NAME): Likewise.
59561         * string/test-strpbrk.c (TEST_NAME): Likewise.
59562         * string/test-strrchr.c (TEST_NAME): Likewise.
59563         * string/test-strspn.c (TEST_NAME): Likewise.
59564         * string/test-strstr.c (TEST_NAME): Likewise.
59565         * string/test-bcopy-ifunc.c: New file.
59566         * string/test-bzero-ifunc.c: Likewise.
59567         * string/test-memccpy-ifunc.c: Likewise.
59568         * string/test-memchr-ifunc.c: Likewise.
59569         * string/test-memcmp-ifunc.c: Likewise.
59570         * string/test-memcpy-ifunc.c: Likewise.
59571         * string/test-memmem-ifunc.c: Likewise.
59572         * string/test-memmove-ifunc.c: Likewise.
59573         * string/test-mempcpy-ifunc.c: Likewise.
59574         * string/test-memset-ifunc.c: Likewise.
59575         * string/test-rawmemchr-ifunc.c: Likewise.
59576         * string/test-stpcpy-ifunc.c: Likewise.
59577         * string/test-stpncpy-ifunc.c: Likewise.
59578         * string/test-strcasecmp-ifunc.c: Likewise.
59579         * string/test-strcasestr-ifunc.c: Likewise.
59580         * string/test-strcat-ifunc.c: Likewise.
59581         * string/test-strchr-ifunc.c: Likewise.
59582         * string/test-strchrnul-ifunc.c: Likewise.
59583         * string/test-strcmp-ifunc.c: Likewise.
59584         * string/test-strcpy-ifunc.c: Likewise.
59585         * string/test-strcspn-ifunc.c: Likewise.
59586         * string/test-strlen-ifunc.c: Likewise.
59587         * string/test-strncasecmp-ifunc.c: Likewise.
59588         * string/test-strncat-ifunc.c: Likewise.
59589         * string/test-strncmp-ifunc.c: Likewise.
59590         * string/test-strncpy-ifunc.c: Likewise.
59591         * string/test-strnlen-ifunc.c: Likewise.
59592         * string/test-strpbrk-ifunc.c: Likewise.
59593         * string/test-strrchr-ifunc.c: Likewise.
59594         * string/test-strspn-ifunc.c: Likewise.
59595         * string/test-strstr-ifunc.c: Likewise.
59597         * debug/Makefile (tests-ifunc): New variable.
59598         (tests): Add $(tests-ifunc).
59599         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59600         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59601         * debug/test-stpcpy_chk-ifunc.c: New file.
59602         * debug/test-strcpy_chk-ifunc.c: Likewise.
59604 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59606         [BZ #13601]
59607         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59608         header is not read in.
59610 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59612         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59613         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59614         directly.  Pass built executable to script as
59615         $(built-program-cmd).
59616         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59617         $testprogram without using LD_LIBRARY_PATH and $ldso.
59619         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59620         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59621         $(rtld-installed-name).
59622         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59623         (rtld_installed_name): Likewise.
59624         (library_path): Likewise.
59625         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59626         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59627         $(run-program-prefix) to tst-tables.sh.
59628         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59629         it to run tst-table-from and tst-table-to.
59630         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59631         Pass it to tst-table.sh.
59632         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59633         $(run-program-prefix) to tst-gettext.sh.
59634         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59635         tst-translit.sh.
59636         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59637         tst-gettext2.sh.
59638         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59639         to run tst-gettext.
59640         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59641         to run tst-gettext2.
59642         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59643         to run tst-translit.
59644         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59645         $(run-program-prefix) to tst-mtrace.sh.
59646         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59647         to run tst-mtrace.
59648         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59649         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59650         $(rtld-installed-name).
59651         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59652         (rtld_installed_name): Likewise.
59653         (run_program_prefix): New variable.  Use it to run wordexp-test.
59655         * Makeconfig (ARCH): Remove all definitions.
59656         (machine): Likewise.
59657         [ARCH]: Remove conditional code.
59658         [!objdir]: Give error.
59659         [!objdir] (objpfx): Remove.
59660         [!objdir] (common-objpfx): Likewise.
59661         [!objdir] (common-objdir): Likewise.
59662         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59663         AC_CONFIG_FILES call.
59664         * configure: Regenerated.
59666         [BZ #13888]
59667         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59668         or TMPDIR.
59669         (testout): Likewise.
59671         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59672         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59673         $(rtld-installed-name).
59674         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59675         (rtld_installed_name): Likwise.
59676         (runit): Remove function.
59677         (run_getconf): New variable,  Use it for running getconf binary.
59679 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59681         [BZ #14716]
59682         * string/test-memmem.c (check_result): New function.
59683         (do_one_test): Use it.
59684         (check1): New function.
59685         (test_main): Use it.
59687 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59689         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59691 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59693         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59694         (_G_LSEEK64): Likewise.
59695         (_G_MMAP64): Likewise.
59696         (_G_FSTAT64): Likewise.
59697         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59698         (_G_LSEEK64): Likewise.
59699         (_G_MMAP64): Likewise.
59700         (_G_FSTAT64): Likewise.
59701         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59702         unconditional.  Call __mmap64 directly.
59703         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59704         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59705         __lseek64 directly.
59706         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59707         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59708         __mmap64 directly.
59709         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59710         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59711         __lseek64 directly.
59712         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59713         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59714         __lseek64 directly.
59715         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59716         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59717         __lseek64 directly.
59718         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59719         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59720         __fxstat64 directly.
59721         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59722         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59723         unconditional.
59724         (freopen64) [!_G_OPEN64]: Remove conditional code.
59725         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59726         unconditional.
59727         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59728         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59729         unconditional.
59730         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59731         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59732         unconditional.
59733         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59734         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59735         unconditional.
59736         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59737         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59738         unconditional.
59739         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59740         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59741         unconditional.
59742         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59743         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59744         unconditional.
59745         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59747 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59749         [BZ #12140]
59750         * manual/memory.texi (Malloc Tunable Parameters): Add note
59751         about free list pointers overwriting some perturb bytes.
59752         Wording suggested by Roland McGrath.
59754 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59756         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59757         (lgamma_test): Likewise.
59758         (tgamma_test): Likewise.
59760 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59762         [BZ #14700]
59763         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59764         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59766 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59768         * NEWS: Mention BZ #14716.
59769         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59770         when removing AVAILABLE1_USES_J macro.
59772 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59774         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59775         (__bswap_64): __uint64_t for unsigned 64-bit int.
59777 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59779         * include/string.h (memmem): Declare libc hidden alias.
59780         * string/memmem.c (memmem): Define libc hidden alias.
59781         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59782         __read, __close instead of open, read, close.
59784 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59787         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59788         global and hidden.
59789         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59790         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59791         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59792         Likewise.
59793         (__rawmemchr_sse2): Likewise.
59794         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59795         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59796         (__strchr_sse2): Likewise.
59797         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59798         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59799         (__strcasecmp_sse2): Likewise.
59800         (__strncasecmp_sse2): Likewise.
59801         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59802         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59803         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59804         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59805         (__strrchr_sse2): Likewise.
59806         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59807         ifunc-impl-list.c.
59808         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59809         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59810         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59811         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59812         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59813         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59814         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59815         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59816         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59817         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59818         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59819         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59820         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59821         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59822         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59823         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59824         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59825         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59826         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59827         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59828         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59829         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59830         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59831         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59832         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59834         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59835         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59836         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59837         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59839         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59840         global and hidden.
59841         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59842         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59843         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59844         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59845         Likewise.
59846         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59847         Likewise.
59848         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59849         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59850         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59851         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59852         ifunc-impl-list.c.
59853         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59854         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59855         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59856         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59857         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59858         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59859         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59860         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59861         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59862         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59863         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59864         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59865         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59866         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59867         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59868         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59869         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59870         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59871         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59872         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59873         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59874         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59875         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59876         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59877         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59878         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59879         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59880         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59881         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59882         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59883         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59884         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59885         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59886         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59887         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59888         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59889         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59890         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59891         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59892         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59893         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59895         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59896         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59897         * include/ifunc-impl-list.h: New file.
59898         * misc/ifunc-impl-list.c: Likewise.
59899         * misc/Makefile (routines): Add ifunc-impl-list.
59900         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59901         * string/test-string.h: Include <ifunc-impl-list.h>.
59902         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59903         TEST_NAME]: New variables.
59904         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59905         are defined.
59906         (test_init): Call __libc_ifunc_impl_list to initialize
59907         func_list if TEST_IFUNC and TEST_NAME are defined.
59909         * string/Makefile (strop-tests): Add bcopy and bzero.
59910         * string/test-bcopy.c: New file.
59911         * string/test-bzero.c: Likewise.
59912         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59913         defined.
59914         * string/test-memset.c: Support bzero test if TEST_BZERO is
59915         defined.
59916         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59917         __libc_memmove.
59918         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59919         __libc_memset.
59920         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59921         of memset.
59923 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59925         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59926         * configure: Regenerated.
59928         * Makeconfig (+link-static-before-libc): Don't include
59929         $(link-static-libc).
59931         * libio/libio.h (_IO_pos_t): Remove.
59933 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59935         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59936         McGrath.
59938 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59940         * crypt/crypt-entry.c: Include fips-private.h.
59941         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59942         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59943         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59944         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59946 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59948         * crypt/crypt-private.h: Include stdbool.h.
59949         (_ufc_setup_salt_r): Return bool.
59950         * crypt/crypt-entry.c: Include errno.h.
59951         (__crypt_r): Return NULL with EINVAL for bad salt.
59952         * crypt/crypt_util.c (bad_for_salt): New.
59953         (_ufc_setup_salt_r): Check that salt is long enough and within
59954         the specified alphabet.
59955         * crypt/badsalttest.c: New file.
59956         * crypt/Makefile (tests): Add it.
59957         ($(objpfx)badsalttest): New.
59959 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59961         * NEWS: Add entry for BZ #14602.
59963 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59965         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59966         type-generic.
59967         * math/libm-test.inc: Update comment listing what functions and
59968         macros are tested.
59969         (isgreater_test): New function.
59970         (isgreaterequal_test): Likewise.
59971         (isless_test): Likewise.
59972         (islessequal_test): Likewise.
59973         (islessgreater_test): Likewise.
59974         (isunordered_test): Likewise.
59975         (main): Call the new functions.
59977 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59979         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59980         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59981         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59982         * sysdeps/i386/configure: Regenerated.
59983         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59984         * sysdeps/mach/configure: Regenerated.
59985         * sysdeps/mach/hurd/configure: Regenerated.
59986         * sysdeps/powerpc/configure: Regenerated.
59987         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59988         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59989         * sysdeps/s390/s390-32/configure: Regenerated.
59990         * sysdeps/s390/s390-64/configure: Regenerated.
59991         * sysdeps/sh/configure: Regenerated.
59992         * sysdeps/sparc/configure: Regenerated.
59993         * sysdeps/unix/sysv/linux/configure: Regenerated.
59994         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59995         * sysdeps/x86_64/configure: Regenerated.
59997         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59998         defined.  Don't check if MAP is NULL.
60000 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60002         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60003         (_G_stat64): Likewise.
60004         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60005         (_G_stat64): Likewise.
60006         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60007         instead of struct _G_stat64.
60008         * libio/fileops.c (mmap_remap_check): Likewise.
60009         (decide_maybe_mmap): Likewise.
60010         (_IO_new_file_seekoff): Likewise.
60011         (_IO_file_stat): Likewise.
60012         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60013         _G_off64_t.
60014         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60015         instead of struct _G_stat64.
60016         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60018 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60020         [BZ #14602]
60021         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60022         Replace with ...
60023         (CHECK_EOL): New macro.
60024         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60025         CHECK_EOL.
60026         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60027         Replace with CHECK_EOL.
60028         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60029         Replace with CHECK_EOL.
60031 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60033         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60034         type-generic.
60035         * math/libm-test.inc: Update comment listing what functions and
60036         macros are tested.
60037         (finite_test): New function.
60038         (isinf_test): Likewise.
60039         (isnan_test): Likewise.
60040         (fpclassify_test): Test subnormal input.
60041         (isfinite_test): Likewise.
60042         (isnormal_test): Likewise.
60043         (main): Call the new functions.
60045 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60047         [BZ #14660]
60048         * Makerules (%.dynsym): Force C locale when running
60049         $(OBJDUMP) --dynamic-syms.
60051 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60053         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60054         <stdint.h>.
60056 2012-10-06  David S. Miller  <davem@davemloft.net>
60058         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60059         upper 32-bits of the length value in %o2 since we use branch-on-register
60060         tests which consider the entire 64-bit register.
60062 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60064         * string/test-strstr.c (check2): Add a test for page boundary.
60066 2012-10-05  David S. Miller  <davem@davemloft.net>
60068         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60069         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60070         file.
60071         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60072         sysdep_routines.
60073         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60074         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60075         and bzero when HWCAP_SPARC_CRYPTO is present.
60077 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60079         [BZ #14602]
60080         * string/test-strstr.c (check2): New function.
60081         (test_main): Call check2.
60083         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60084         and bug-strchr1.
60085         * string/bug-strcasestr1.c (do_test): Moved to ...
60086         * string/test-strcasestr.c (check1): Here.  New function.
60087         (do_one_test): Break out result checking code into ...
60088         (check_result): This.  New function.
60089         (do_one_test): Call check_result.
60090         (test_main): Call check1.
60091         * string/bug-strchr1.c (do_test): Moved to ...
60092         * string/test-strchr.c (check1): Here.  New function.
60093         (do_one_test): Break out result checking code into ...
60094         (check_result): This.  New function.
60095         (do_one_test): Call check_result.
60096         (test_main): Call check1.
60097         * string/bug-strstr1.c (main): Moved to ...
60098         * string/test-strstr.c (check1): Here.  New function.
60099         (do_one_test): Break out result checking code into ...
60100         (check_result): This.  New function.
60101         (do_one_test): Call check_result.
60102         (test_main): Call check1.
60103         * string/bug-strcasestr1.c: Removed.
60104         * string/bug-strchr1.c: Likewise.
60105         * string/bug-strstr1.c: Likewise.
60107         * elf/Makefile (dl-routines): Add hwcaps.
60108         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60109         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60110         (_dl_important_hwcaps): Moved to ...
60111         * elf/dl-hwcaps.c: Here.  New file.
60112         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60114         [BZ #14557]
60115         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60116         if IS_IN_rtld isn't defined.
60118         * elf/dl-support.c (_dl_sysinfo_map): New.
60119         Include "get-dynamic-info.h" and "setup-vdso.h".
60120         (_dl_non_dynamic_init): Call setup_vdso.
60121         * elf/dynamic-link.h: Don't include <assert.h>.
60122         (elf_get_dynamic_info): Moved to ...
60123         * elf/get-dynamic-info.h: Here.  New file.
60124         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60125         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60126         * elf/setup-vdso.h: Here.  New file.
60127         * elf/rtld.c: Include "setup-vdso.h".
60128         (dl_main): Call setup_vdso.
60130 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60132         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60133         creal in comment listing functions tested.  List finite, isinf,
60134         isnan, isless, islessequal, isgreater, isgreaterequal,
60135         islessgreater, isunordered, lgamma_r and pow10 as functions and
60136         macros not tested.  Mention which functions not tested are aliases
60137         for other functions.  Fix typo.  Note that signs of NaNs are not
60138         tested.
60140         * scripts/config.guess: Update from config.git.
60141         * scripts/config.sub: Likewise.
60143 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60145         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60146         * misc/madvise.c (madvise): Renamed to __madvise.
60147         Make madvise a weak alias.
60148         * include/sys/mman.h: Declare __madvise.
60149         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60150         * sysdeps/unix/syscalls.list
60151         (madvise): Make __madvise the strong name, and madvise a weak alias.
60152         * sysdeps/unix/sysv/linux/syscalls.list
60153         (madvise, mmap): Remove redundant entries.
60154         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60155         * malloc/malloc.c (mtrim): Likewise.
60156         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60158 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60160         * sysdeps/mach/hurd/dl-cache.c: File removed.
60161         * config.h.in (USE_LDCONFIG): New #undef.
60162         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60163         * configure: Regenerated.
60164         * elf/Makefile (dl-routines): Add dl-cache only under
60165         [$(use-ldconfig) = yes].
60166         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60167         cache on [USE_LDCONFIG].
60168         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60169         [USE_LDCONFIG].
60170         * elf/rtld.c (dl_main): Likewise.
60172 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60174         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60175         _SC_LEVEL4_CACHE_LINESIZE.
60177 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60179         * sysdeps/unix/bsd/confstr.h: File removed.
60181 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60183         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60184         sys/sdt-config.h.
60186 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60188         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60189         Make 'mapoff' field ElfW(Off) rather than off_t.
60191 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60193         * nscd/Makefile: Remove nscd-cflags and all its users.
60194         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60195         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60197         [BZ #10631]
60198         * malloc.c (malloc_printerr): Clarify error message.
60200 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60202         [BZ #14648]
60203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60204         Set bit_FMA_Usable if FMA is supported.
60205         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60206         macro.
60207         (bit_FMA4_Usable): Updated.
60208         (index_FMA_Usable): New macro.
60209         (CPUID_FMA): Likewise.
60210         (HAS_FMA): Defined with bit_FMA_Usable.
60212 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60214         * bits/types.h (__swblk_t): Type removed.
60215         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60216         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60218         (__SWBLK_T_TYPE): Likewise.
60219         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60220         (__SWBLK_T_TYPE): Likewise.
60221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60222         (__SWBLK_T_TYPE): Likewise.
60223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60224         (__SWBLK_T_TYPE): Likewise.
60226 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60227             Honza Horak <hhorak@redhat.com>
60229         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60230         (xdr_mapname): Use YPMAXMAP as maxsize.
60231         (xdr_peername): Use YPMAXPEER as maxsize.
60232         (xdr_keydat): Use YPAXRECORD as maxsize.
60233         (xdr_valdat): Use YPMAXRECORD as maxsize.
60235 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60237         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60239         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60240         * csu/init-first.c: ... here.
60241         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60242         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60243         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60244         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60245         * sysdeps/i386/init-first.c: File removed.
60246         * sysdeps/sh/init-first.c: File removed.
60248 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60250         [BZ #14645]
60251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60252         if x * y might underflow to zero and z is zero.
60253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60255         * math/libm-test.inc (min_subnorm_value): New variable.
60256         (fma_test): Add more tests.
60257         (fma_test_towardzero): Likewise.
60258         (fma_test_downward): Likewise.
60259         (fma_test_upward): Likewise.
60260         (initialize): Set min_subnorm_value.
60262 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60264         [BZ #14638]
60265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60266         0 + 0.
60267         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60268         mode for addition resulting in exact zero.
60269         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60271         exact 0 + 0.
60272         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60274         * math/libm-test.inc (fma_test): Add more tests.
60275         (fma_test_towardzero): New function.
60276         (fma_test_downward): Likewise.
60277         (fma_test_upward): Likewise.
60278         (main): Call the new functions.
60280 2012-09-28  David S. Miller  <davem@davemloft.net>
60282         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60284 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60286         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60287         instead of SIGALRM.
60289         * sysdeps/gnu/_G_config.h: Moved to ...
60290         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60291         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60292         * sysdeps/generic/_G_config.h: ... here.
60294         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60296         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60298         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60299         Conditionalize target on [libnss_test1.so-version].
60301         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60303         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60304         (elfobjdir): Move out of conditionals.
60306         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60307         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60308         (__nss_lookup_function): Conditionalize label remove_from_tree on
60309         [!DO_STATIC_NSS || SHARED], matching its only use.
60311 2012-09-28  David S. Miller  <davem@davemloft.net>
60313         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60314         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60315         file.
60316         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60317         sysdep_routines.
60318         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60320         when HWCAP_SPARC_CRYPTO is present.
60322 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60324         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60326 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60328         [BZ #6530]
60329         * stdio-common/vfprintf.c (process_string_arg): Revert
60330         2000-07-22 change.
60332 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60334         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60335         for testcase.
60336         * stdio-common/tst-sprintf.c: Include <locale.h>
60337         (main): Test sprintf's handling of incomplete multibyte
60338         characters.
60340 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60342         * elf/dl-runtime.c (VERSYMIDX): Removed.
60343         * elf/dl-version.c (VERSYMIDX): Likewise.
60344         * elf/do-rel.h (VERSYMIDX): Likewise.
60345         (VALIDX): Likewise.
60346         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60347         * elf/rtld.c (VALIDX): Likewise.
60348         (ADDRIDX): Likewise.
60349         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60350         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60351         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60352         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60353         (VALIDX): Likewise.
60354         (ADDRIDX): Likewise.
60356 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60358         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60360 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60362         [BZ #11438]
60363         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60364         to global scope.
60365         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60366         addresses are in the same scope as 192.0.2/24.
60367         * posix/gai.conf: Document new scope table defaults.
60369 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60371         [BZ #5298]
60372         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60373         for ftell.  Compute offsets from write pointers instead.
60374         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60376 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60378         [BZ #14543]
60379         * libio/Makefile (tests): New test case tst-fseek.
60380         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60381         combination works in wide mode.
60382         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60383         state when the external buffer state changes.
60385 2012-09-27  David S. Miller  <davem@davemloft.net>
60387         [BZ #14376]
60388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60389         pass reloc->r_addend in as the 'high' argument to
60390         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60394 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60396         * rt/tst-aio2.c: Include <pthread.h>.
60397         * rt/tst-aio3.c: Likewise.
60399 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60401         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60403 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60405         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60406         contents on [SHARED].
60408 2012-09-26  Marek Polacek  <polacek@redhat.com>
60410         [BZ #14530]
60411         [BZ #13741]
60412         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60413         for C++ and GCC <4.3 as well as for non GCC compilers.
60415 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60419 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60421         * Makefile.in (all, install): Declare with .PHONY.
60422         Reported by Michael Hope <michael.hope@linaro.org>.
60424 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60426         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60427         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60428         system header.
60429         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60430         Likewise.
60431         (sydep_routines): Add the new and the internal functions.
60432         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60433         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60435         (GLIBC_2.17): Add the new function.
60436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60437         (GLIBC_2.17): Likewise.
60438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60439         (GLIBC_2.17): Likewise.
60440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60441         (GLIBC_2.17): Likewise.
60442         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60444 2012-09-25  Alan Modra  <amodra@gmail.com>
60446         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60447         Add release barrier before setting once_control to say
60448         initialisation is done.  Add hints on lwarx.  Use macro in
60449         place of isync.
60450         (clear_once_control): Add release barrier.
60452 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60454         [BZ #13629]
60455         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60456         specially.
60457         * math/s_clog10.c (__clog10): Likewise.
60458         * math/s_clog10f.c (__clog10f): Likewise.
60459         * math/s_clog10l.c (__clog10l): Likewise.
60460         * math/s_clogf.c (__clogf): Likewise.
60461         * math/s_clogl.c (__clogl): Likewise.
60462         * math/Makefile (libm-calls): Add x2y2m1.
60463         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60464         (__x2y2m1): Likewise.
60465         (__x2y2m1l): Likewise.
60466         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60467         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60468         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60469         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60470         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60471         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60472         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60473         * sysdeps/i386/fpu/libm-test-ulps: Update.
60474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60476         [BZ #14621]
60477         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60478         int as type of variable DEPTH.
60479         (glob): Use size_t instead of int as type of variables NEWCOUNT
60480         and OLD_PATHC.
60482 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60484         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60485         Add s_sincosf-sse2.
60486         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60487         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60488         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60489         macros for using routine as __sincosf_ia32.
60490         Use macro for function declaration and weak_alias.
60491         * sysdeps/i386/fpu/libm-test-ulps: Update.
60493         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60496         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60497         subnormal argument.
60498         * math/s_cexpf.c (__cexpf): Likewise.
60499         * math/s_csinf.c (__csinf): Likewise.
60500         * math/s_csinhf.c (__csinhf): Likewise.
60501         * math/s_ctanf.c (__ctanf): Likewise.
60502         * math/s_ctanhf.c (__ctanhf): Likewise.
60503         * math/s_ccosh.c (__ccoshf): Likewise.
60504         * math/s_cexp.c (__cexpl): Likewise.
60505         * math/s_csin.c (__csin): Likewise.
60506         * math/s_csinh.c (__csinh): Likewise.
60507         * math/s_ctan.c (__ctan): Likewise.
60508         * math/s_ctanh.c (ctanh): Likewise.
60509         * math/s_ccoshl.c (__ccoshl): Likewise.
60510         * math/s_cexpl.c (__cexpl): Likewise.
60511         * math/s_csinl.c (__csinl): Likewise.
60512         * math/s_csinhl.c (__csinhl): Likewise.
60513         * math/s_ctanl.c (__ctanl): Likewise.
60514         * math/s_ctanhl.c (__ctanhl): Likewise.
60516 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60518         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60519         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60520         (_IO_off_t): Define to __off_t, not _G_off_t.
60521         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60522         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60523         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60524         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60525         type of __dummy and __dummy2 fields.
60526         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60527         (_G_ssize_t): Likewise.
60528         (_G_off_t): Likewise.
60529         (_G_pid_t): Likewise.
60530         (_G_uid_t): Likewise.
60531         (_G_wchar_t): Likewise.
60532         (_G_wint_t): Likewise.
60533         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60534         (_G_ssize_t): Likewise.
60535         (_G_off_t): Likewise.
60536         (_G_pid_t): Likewise.
60537         (_G_uid_t): Likewise.
60538         (_G_wchar_t): Likewise.
60539         (_G_wint_t): Likewise.
60540         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60541         (_G_ssize_t): Likewise.
60542         (_G_off_t): Likewise.
60543         (_G_pid_t): Likewise.
60544         (_G_uid_t): Likewise.
60545         (_G_wchar_t): Likewise.
60546         (_G_wint_t): Likewise.
60548 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60550         * malloc/arena.c: Include malloc-sysdep.h.
60551         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60552         is sufficient to shrink the heap or an unmap is needed.
60553         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60554         new function check_may_shrink_heap.
60555         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60556         new function check_may_shrink_heap.
60558 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60560         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60561         comments.
60563 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60565         * catgets/test-gencat.sh: Add "set -e".
60566         * elf/tst-pathopt.sh: Likewise.
60567         * grp/tst_fgetgrent.sh: Likewise.
60568         * iconvdata/run-iconv-test.sh: Likewise.
60569         * intl/tst-gettext.sh: Likewise.
60570         * intl/tst-gettext2.sh: Likewise.
60571         * intl/tst-gettext4.sh: Likewise.
60572         * intl/tst-gettext6.sh: Likewise.
60573         * intl/tst-translit.sh: Likewise.
60574         * io/ftwtest-sh: Likewise.
60575         * libio/test-freopen.sh: Likewise.
60576         * malloc/tst-mtrace.sh: Likewise.
60577         * posix/globtest.sh: Likewise.
60578         * posix/tst-getconf.sh: Likewise.
60579         * posix/wordexp-tst.sh: Likewise.
60580         * stdio-common/tst-printf.sh: Likewise.
60581         * stdio-common/tst-unbputc.sh: Likewise.
60582         * stdlib/tst-fmtmsg.sh: Likewise.
60583         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60584         * catgets/Makefile: Do not specify -e option when running
60585         testsuite shell scripts.
60586         * elf/Makefile: Likewise.
60587         * grp/Makefile: Likewise.
60588         * iconvdata/Makefile: Likewise.
60589         * intl/Makefile: Likewise.
60590         * io/Makefile: Likewise.
60591         * libio/Makefile: Likewise.
60592         * malloc/Makefile: Likewise.
60593         * posix/Makefile: Likewise.
60594         * stdio-common/Makefile: Likewise.
60595         * stdlib/Makefile: Likewise.
60596         * sysdeps/x86_64/Makefile: Likewise.
60598         * io/ftwtest-sh: Add copyright header.
60599         * posix/globtest.sh: Likewise.
60600         * posix/tst-getconf.sh: Likewise.
60601         * posix/wordexp-tst.sh: Likewise.
60602         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60604 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60606         [BZ #13679]
60607         * Makeconfig (+link): Defined as $(+link-static) if
60608         $(build-shared) isn't yes.
60609         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60610         isn't yes.
60611         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60613         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60615         [BZ #14562]
60616         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60617         new chunk size with MALLOC_ALIGN_MASK.
60619 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60621         [BZ #5044]
60622         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60623         <rounding-mode.h>.
60624         (__printf_fphex): Determine rounding using get_rounding_mode and
60625         round_away.
60626         * stdio-common/tst-printf-round.c (struct hex_test): New
60627         structure.
60628         (hex_tests): New variable.
60629         (test_hex_in_one_mode): New function.
60630         (do_test): Also run tests for hex float output.
60632 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60634         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60635         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60636         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60637         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60638         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60639         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60640         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60641         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60643 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60645         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60646         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60647         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60648         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60650 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60652         [BZ #14579]
60653         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60654         mode only.
60655         * elf/tst-rtld-load-self.sh: New test.
60656         * elf/Makefile: Run it.
60658 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60660         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60661         (tst-writev-ENV): Remove.
60662         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60664 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60666         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60668 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60670         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60671         unconditional.
60672         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60673         Likewise.
60674         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60675         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60676         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60677         Likewise.
60679 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60681         [BZ #14587]
60682         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60683         * config.make.in (have-cpp-asm-debuginfo): Removed.
60684         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60685         * configure: Regenerated.
60687 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60689         [BZ #5044]
60690         * stdio-common/printf_fp.c: Include <stdbool.h> and
60691         <rounding-mode.h>.
60692         (___printf_fp): Determine rounding using get_rounding_mode and
60693         round_away.
60694         * stdio-common/tst-printf-round.c: New file.
60695         * stdio-common/Makefile (tests): Add tst-printf-round.
60696         (link-libm): New variable.
60697         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60699 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60701         [BZ #14576]
60702         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60703         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60704         Likewise.
60705         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60706         Likewise.
60708 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60710         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60711         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60712         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60713         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60715 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60717         [BZ #14518]
60718         * include/rounding-mode.h: New file.
60719         * sysdeps/generic/get-rounding-mode.h: Likewise.
60720         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60721         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60722         (MAX_VALUE): New macro.
60723         (MIN_VALUE): Likewise.
60724         (overflow_value): New function.
60725         (underflow_value): Likewise.
60726         (round_and_return): Use overflow_value and underflow_value to
60727         determine return values in overflow and underflow cases.  Use
60728         round_away to determine rounding depending on rounding mode.
60729         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60730         determine return values in overflow and underflow cases.
60731         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60732         (struct test_results): New structure.
60733         (struct test): Use struct test_results to store expected results
60734         for all rounding modes.
60735         (TEST): Include expected results for all rounding modes.
60736         (test_in_one_mode): New function.
60737         (do_test): Use test_in_one_mode to compute and check results.
60738         Check results for all rounding modes.
60739         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60740         $(link-libm).
60742 2012-12-09  Allan McRae  <allan@archlinux.org>
60744         * sysdeps/i386/fpu/libm-test-ulps: Update
60746 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60748         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60749         (_G_int32_t): Likewise.
60750         (_G_uint16_t): Likewise.
60751         (_G_uint32_t): Likewise.
60752         (_G_HAVE_BOOL): Likewise.
60753         (_G_HAVE_ATEXIT): Likewise.
60754         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60755         (_G_HAVE_IO_FILE_OPEN): Likewise.
60756         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60757         (_G_int32_t): Likewise.
60758         (_G_uint16_t): Likewise.
60759         (_G_uint32_t): Likewise.
60760         (_G_HAVE_BOOL): Likewise.
60761         (_G_HAVE_ATEXIT): Likewise.
60762         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60763         (_G_HAVE_IO_FILE_OPEN): Likewise.
60764         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60765         (_G_int32_t): Likewise.
60766         (_G_uint16_t): Likewise.
60767         (_G_uint32_t): Likewise.
60768         (_G_HAVE_BOOL): Likewise.
60769         (_G_HAVE_ATEXIT): Likewise.
60770         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60771         (_G_HAVE_IO_FILE_OPEN): Likewise.
60773 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60775         * csu/libc-tls.c: Update copyright years.
60777 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60779         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60780         [!_G_USING_THUNKS]: Remove conditional code.
60781         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60782         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60784         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60785         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60786         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60787         (_G_VTABLE_LABEL_PREFIX): Likewise.
60788         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60789         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60790         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60791         (_G_VTABLE_LABEL_PREFIX): Likewise.
60792         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60793         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60794         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60795         (_G_VTABLE_LABEL_PREFIX): Likewise.
60796         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60798 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60800         * libio/Makefile: Include ../Makeconfig before tests.
60801         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60802         only if $(build-shared) is yes.
60804         * iconv/gconv_db.c: Update copyright years.
60806 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60808         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60809         unwind info if defined PIC. Fix special cases description.
60810         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60812         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60813         DP_HI_MASK entry.
60814         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60816 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60818         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60820         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60821         is NULL.
60823         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60824         (LDLIBS-tst-chk4): This.
60825         (LDFLAGS-tst-chk5): Renamed to ...
60826         (LDLIBS-tst-chk5): This.
60827         (LDFLAGS-tst-chk6): Renamed to ...
60828         (LDLIBS-tst-chk6): This.
60829         (LDFLAGS-tst-lfschk4): Renamed to ...
60830         (LDLIBS-tst-lfschk4): This.
60831         (LDFLAGS-tst-lfschk5): Renamed to ...
60832         (LDLIBS-tst-lfschk5): This.
60833         (LDFLAGS-tst-lfschk6): Renamed to ...
60834         (LDLIBS-tst-lfschk6): This.
60836         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60837         on $(common-objpfx)soversions.mk.
60839 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60841         [BZ #10014]
60842         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60843         example host name.
60845 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60847         * malloc/arena.c (arena_get_retry): New function that gets
60848         another arena for the caller to try its request on.
60849         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60850         current arena cannot fulfill the request.
60851         (__libc_memalign): Likewise.
60852         (__libc_memalign): Likewise.
60853         (__libc_pvalloc): Likewise.
60854         (__libc_calloc): Likewise.
60856 2012-09-05  John Tobey  <john.tobey@gmail.com>
60858         [BZ #13542]
60859         * manual/arith.texi (Operations on Complex): Fix description
60860         of carg branch cut.
60862 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60864         [BZ #10014]
60865         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60866         host name.
60868         [BZ #10038]
60869         * manual/memory.texi (Memory): Make order of menu items match
60870         order of sections.
60872 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60874         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60875         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60876         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60878 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60880         * csu/libc-tls.c (static_dtv): Renamed to ...
60881         (_dl_static_dtv): This.  Make it global.
60882         (_dl_initial_dtv): Removed.
60883         (__libc_setup_tls): Updated.
60884         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60885         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60886         DL_INITIAL_DTV.
60888 2012-09-06  Petr Machata  <pmachata@redhat.com>
60890         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60891         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60892         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60893         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60895 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60897         [BZ #14545]
60898         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60899         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60900         freeing dtv[-1].
60902 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60904         [BZ #14544]
60905         * Makeconfig (link-static-before-libc): Replace $(+prector)
60906         with $(+prectorT).
60907         (link-static-after-libc): Replace $(+postctor) with
60908         $(+postctorT).
60909         (link-bounded): Replace $(+prector)/$(+postctor) with
60910         $(+prectorT)/$(+postctorT).
60911         (+prectorT): New macro.
60912         (+postctorT): Likewise.
60914 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60916         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60917         (round_str): Handle values above the maximum for IBM long double
60918         as inexact.
60919         * stdlib/tst-strtod-round.c (tests): Regenerated.
60921 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60923         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60924         assembler flag.
60925         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60926         zarch_nohighgprs around the zarch optimized routines.
60927         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60928         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60929         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60930         for zarch.
60932 2012-09-05  David S. Miller  <davem@davemloft.net>
60934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60936         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60937         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60938         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60939         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60940         entries.
60942 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60944         * malloc/arena.c: Fold copyright years.
60945         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60947 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60949         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60951 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60953         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60955 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60957         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60958         change internal state upon failure.
60960 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60962         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60963         * malloc/memusage.c (mmap): Likewise.
60964         (mmap64, mremap): Likewise.  Adjust name in comment.
60966 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60968         * libio/fileops.c: Fix typos in comments.
60969         * libio/oldfileops.c: Likewise.
60970         * libio/wfileops.c: Likewise.
60972 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60974         [BZ #1349]
60975         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60976         (tst-malloc-usable-ENV): Set environment for test case.
60977         * malloc/hooks.c (malloc_check_get_size): New function to get
60978         requested size.
60979         * malloc/malloc.c (musable): Use malloc_check_get_size.
60980         * malloc/tst-malloc-usable.c: New test case.
60982 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60984         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60986 2012-09-05  Allan McRae  <allan@archlinux.org>
60988         [BZ #13966]
60989         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60990         determine header location.
60991         * configure: Regenerated.
60993 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60995         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60996         float format.
60997         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60998         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60999         format.
61000         (test): Regenerate.
61002 2012-09-04  David S. Miller  <davem@davemloft.net>
61004         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61005         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61006         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61008 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61010         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61011         failures.
61013         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61015 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61017         [BZ #9914]
61018         * libio/iogetdelim.c: Include <limits.h>.
61019         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61020         + len + 1 would overflow.
61022 2012-09-03  Andreas Jaeger  <aj@suse.de>
61024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61025         * sysdeps/i386/fpu/libm-test-ulps: Update.
61027 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61029         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61030         Add s_sinf-sse2, s_conf-sse2.
61032         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61033         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61034         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61035         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61037         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61038         for using routine as __sinf_ia32.
61039         Use macro for function declaration and weak_alias.
61040         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61041         for using routine as __cosf_ia32.
61042         Use macro for function declaration and weak_alias.
61044         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61045         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61047         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61048         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61051         * math/libm-test.inc (cos_test): Add more test cases.
61052         (sin_test): Likewise.
61053         (sincos_test): Likewise.
61055 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61057         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61058         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61059         hidden.
61060         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61062 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61064         [BZ #14538]
61065         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61066         first element of the GOT.
61067         (elf_machine_load_address): Return the difference between
61068         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61070 2012-09-01  Allan McRae  <allan@archlinux.org>
61072         [BZ #13412]
61073         * configure.in (AWK): Require gawk version 3.0 or later.
61074         * configure: Regenerated.
61076 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61078         * sysdeps/unix/sysv/linux/kernel-features.h
61079         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61080         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61081         [__NR_clock_getres]: Make code unconditional.
61082         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61083         (clock_getcpuclockid): Remove code left unreachable by removal of
61084         conditionals.
61085         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61086         code unconditional.
61087         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61088         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61089         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61090         Make code unconditional.
61091         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61092         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61093         * sysdeps/unix/sysv/linux/clock_settime.c
61094         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61095         conditional code.
61096         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61097         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61099 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61101         [BZ #14476]
61102         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61103         scripts/test-installation.pl.
61105         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61106         and $ld_so_version if it is set.
61108 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61110         [BZ #14516]
61111         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61112         failure if reading from procfs failed.
61113         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61115 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61117         * sysdeps/unix/sysv/linux/kernel-features.h
61118         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61119         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61120         Remove conditional code.
61121         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61122         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61123         Remove conditional code.
61124         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61125         * sysdeps/unix/sysv/linux/i386/fxstat.c
61126         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61128         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61129         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61130         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61131         * sysdeps/unix/sysv/linux/i386/lxstat.c
61132         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61133         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61134         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61135         Remove conditional code.
61136         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61137         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61138         Remove conditional code.
61139         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61140         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61141         <kernel-features.h>.
61142         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61143         Remove.
61144         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61145         Remove conditional code.
61146         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61147         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61148         Remove conditional.
61150 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61152         [BZ #5400]
61153         * NEWS: Add fixed bug number.
61155 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61157         [BZ #14519]
61158         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61159         underflowing exponent in case of negative sign.
61160         * stdlib/tst-strtod-round-data: Add more tests.
61161         * stdlib/tst-strtod-round.c (tests): Regenerated.
61163         [BZ #3479]
61164         * stdlib/strtod_l.c (NDIG): Remove.
61165         (HEXNDIG): Likewise.
61166         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61167         smallest representable value.
61168         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61169         lie within an exact representation of 1/2 ulp of the result.
61170         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61171         unconditionally.
61172         (TENS_P9_IDX): Define unconditionally.
61173         (TENS_P9_SIZE): Likewise.
61174         (TENS_P10_IDX): Likewise.
61175         (TENS_P10_SIZE): Likewise.
61176         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61177         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61178         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61179         entries for 10^2^13 and 10^2^14.
61180         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61181         (TENS_P13_IDX): Define.
61182         (TENS_P13_SIZE): Likewise.
61183         (TENS_P14_IDX): Likewise.
61184         (TENS_P14_SIZE): Likewise.
61185         (_fpioconst_pow10): Change array size to
61186         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61187         unconditional.
61188         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61189         1024]: Add entries for 10^2^13 and 10^2^14.
61190         [LAST_POW10 > _LAST_POW10]: Remove #error.
61191         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61192         (_fpioconst_pow10): Change array size to
61193         FPIOCONST_POW10_ARRAY_SIZE.
61194         * stdlib/gen-fpioconst.c: New file.
61195         * stdlib/gen-tst-strtod-round.c: Likewise.
61196         * stdlib/tst-strtod-round-data: Likewise.
61197         * stdlib/tst-strtod-round.c: Likewise.
61198         * stdlib/Makefile (tests): Add tst-strtod-round.
61200         [BZ #14459]
61201         * stdlib/strtod_l.c: Include <stdint.h>.
61202         (NDEBUG): Do not define.
61203         (round_and_return): Change EXPONENT parameter to type intmax_t.
61204         Rearrange calculations to avoid internal overflow possibilities.
61205         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61206         Rearrange calculations to avoid internal overflow possibilities.
61207         Assert that number fits inside MPNSIZE limbs.
61208         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61209         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61210         calculations and add assertions to avoid internal overflow
61211         possibilities.  Add casts to avoid signed/unsigned operations.
61212         * stdlib/tst-strtod-overflow.c: New file.
61213         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61215 2012-08-25  Marek Polacek  <polacek@redhat.com>
61217         * time/time.h: Fix some typos in comments.
61219 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61221         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61222         * posix/tst-rfc3484-2.c: Likewise.
61223         * posix/tst-rfc3484-3.c: Likewise.
61225 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61227         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61228         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61230 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61232         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61233         #include of fxstatat64.c.
61235 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61237         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61238         * shadow/getspent_r.c: Likewise.
61239         * shadow/getspnam.c: Likewise.
61240         * shadow/getspnam_r.c: Likewise.
61241         * gshadow/getsgent.c: Likewise.
61242         * gshadow/getsgent_r.c: Likewise.
61243         * gshadow/getsgnam.c: Likewise.
61244         * gshadow/getsgnam_r.c: Likewise.
61245         * inet/getnetbyad.c: Likewise.
61246         * inet/getnetbyad_r.c: Likewise.
61247         * inet/getnetbynm.c: Likewise.
61248         * inet/getnetbynm_r.c: Likewise.
61249         * inet/getnetent.c: Likewise.
61250         * inet/getnetent_r.c: Likewise.
61251         * inet/getproto.c: Likewise.
61252         * inet/getproto_r.c: Likewise.
61253         * inet/getprtent.c: Likewise.
61254         * inet/getprtent_r.c: Likewise.
61255         * inet/getprtname.c: Likewise.
61256         * inet/getprtname_r.c: Likewise.
61257         * inet/getrpcbyname.c: Likewise.
61258         * inet/getrpcbyname_r.c: Likewise.
61259         * inet/getrpcbynumber.c: Likewise.
61260         * inet/getrpcbynumber_r.c: Likewise.
61261         * inet/getrpcent.c: Likewise.
61262         * inet/getrpcent_r.c: Likewise.
61263         * inet/getaliasent.c: Likewise.
61264         * inet/getaliasent_r.c: Likewise.
61265         * inet/getaliasname.c: Likewise.
61266         * inet/getaliasname_r.c: Likewise.
61267         * nscd/getgrgid_r.c: Likewise.
61268         * nscd/getgrnam_r.c: Likewise.
61269         * nscd/gethstbyad_r.c: Likewise.
61270         * nscd/gethstbynm3_r.c: Likewise.
61271         * nscd/getpwnam_r.c: Likewise.
61272         * nscd/getpwuid_r.c: Likewise.
61273         * nscd/getsrvbynm_r.c: Likewise.
61274         * nscd/getsrvbypt_r.c: Likewise.
61275         * nscd/gai.c: Likewise.
61277         * configure.in (build_nscd): New substituted variable, set
61278         by --disable-build-nscd and defaults to $use_nscd.
61279         * configure: Regenerated.
61280         * config.make.in (build-nscd): New substituted variable.
61281         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61282         Change conditional to require [$(build-nscd) = yes] as well.
61283         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61285         [BZ# 13696]
61286         * configure.in (use_nscd): New substituted variable, set by
61287         --disable-nscd.  If enabled, define USE_NSCD.
61288         * configure: Regenerated.
61289         * config.h.in: Add USE_NSCD.
61290         * config.make.in (use-nscd): New substituted variable.
61291         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61292         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61293         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61294         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61295         (CFLAGS-getgrnam_r.c): Likewise.
61296         (CFLAGS-initgroups.c): Likewise.
61297         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61298         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61299         Variables removed.
61300         * inet/getnetgrent_r.c
61301         (nscd_setnetgrent): New function, broken out of ...
61302         (setnetgrent): ... here.  Call it.
61303         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61304         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61305         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61306         * nscd/Makefile (routines, aux): Move definitions after include of
61307         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61308         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61309         Conditionalize on [USE_NSCD].
61310         (is_nscd, nscd_init_cb): Likewise.
61311         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61312         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61313         * nss/nss_db/db-init.c: Likewise.
61314         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61315         [USE_NSCD].
61316         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61317         (make_request): Use it.
61318         (cache_valid_p): New function.
61319         (__check_pf): Use it.
61320         * NEWS: Add item for --disable-nscd.
61322 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61324         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61325         to support sed >= 4.2.1-20-ga9bf076.
61326         * configure: Regenerated.
61328 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61330         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61331         Conditionalize whole body on [IREL].
61333 2012-08-22  Jeff Law <law@redhat.com>
61335         [BZ #14505]
61336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61337         if the family is PF_UNSPEC.
61339 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61341         * Makerules (lib-version): Rename from V.
61342         (install-lib-nosubdir): Change V to lib-version.
61344 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61346         [BZ #14252]
61347         * powerpc32/power6/wcschr.c: New file.
61348         * powerpc32/power6/wcscpy.c: New file.
61349         * powerpc32/power6/wcsrchr.c: New file.
61350         * powerpc64/power6/wcschr.c: New file.
61351         * powerpc64/power6/wcscpy.c: New file.
61352         * powerpc64/power6/wcsrchr.c: New file.
61354 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61356         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61357         (two_way_short_needle): Use it.
61358         * string/strstr.c (AVAILABLE1_USES_J): Define.
61359         * string/strcasestr.c: Likewise.
61361         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61362         array references.
61363         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61365         [BZ #11607]
61366         * NEWS: Add an entry.
61367         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61368         define their defaults.
61369         (two_way_short_needle): Detect end-of-string on-the-fly.
61370         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61371         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61372         * string/bug-strcasestr1.c: New test.
61373         * string/Makefile: Run it.
61375 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61377         [BZ #11607]
61378         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61379         the first character.
61381 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61383         * csu/elf-init.c (__libc_csu_irel): Function removed.
61384         * csu/libc-start.c (apply_irel): New function.
61385         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61387 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61389         * sysdeps/unix/sysv/linux/kernel-features.h
61390         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61391         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61392         <kernel-features.h>.
61393         [__NR_fadvise64_64]: Make code unconditional.
61394         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61395         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61396         !__NR_fadvise64_64)]: Likewise.
61397         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61398         !__NR_fadvise64_64))]: Likewise.
61399         [__NR_fadvise64]: Make code unconditional.
61400         [!__NR_fadvise64]: Remove conditional code.
61401         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61402         <kernel-features.h>.
61403         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61404         unconditional.
61405         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61406         conditional code.
61407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61408         not include <kernel-features.h>.
61409         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61410         unconditional.
61411         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61412         conditional code.
61413         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61414         include <kernel-features.h>.
61415         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61416         unconditional.
61417         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61418         conditional code.
61420 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61422         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61423         slight instruction rearrangements per scrollpipe analysis.
61424         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61426 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61428         * manual/syslog.texi (syslog; vsyslog, closelog):
61429         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61430         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61432         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61433         DSOCAPS to match condition on defining it.
61435 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61437         * sysdeps/unix/sysv/linux/kernel-features.h
61438         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61440         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61441         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61443         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61444         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61446         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61447         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61449         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61450         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61452         * sysdeps/unix/sysv/linux/kernel-features.h
61453         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61454         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61455         unconditional.
61456         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61457         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61458         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61459         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61460         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61461         Make code unconditional.
61462         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61463         (__mmap64) [!__NR_mmap2]: Likewise.
61464         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61465         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61466         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61467         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61468         [__NR_mmap2]: Make code unconditional.
61469         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61470         (__mmap64) [!__NR_mmap2]: Likewise.
61472 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61474         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61476 2012-08-18  Andreas Jaeger  <aj@suse.de>
61478         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61480 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61482         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61483         * include/unistd.h (__have_sock_cloexec): Likewise.
61484         (__have_pipe2): Likewise.
61485         (__have_dup3): Likewise.
61487 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61489         [BZ #9685]
61490         * include/unistd.h (__have_pipe2): Change define into an extern int.
61491         (__have_dup3): Likewise.
61492         * socket/have_sock_cloexec.c: Include fcntl.h.
61493         (__have_pipe2): New variable.
61494         (__have_dup3): Likewise.
61496 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61498         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61500 2012-08-17  Marek Polacek  <polacek@redhat.com>
61502         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61503         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61505 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61507         * configure.in: Add AC_SUBST for sysheaders.
61508         * configure: Regenerated.
61509         * config.make.in (sysheaders): New substituted variable.
61511         * sysdeps/unix/mkfifo.c: Moved ...
61512         * sysdeps/posix/mkfifo.c: ... here.
61513         * sysdeps/unix/mkfifoat.c: Moved ...
61514         * sysdeps/posix/mkfifoat.c: ... here.
61516         * sysdeps/unix/utime.c: Moved ...
61517         * sysdeps/posix/utime.c: ... here.
61519         * sysdeps/unix/time.c: Moved ...
61520         * sysdeps/posix/time.c: ... here.
61521         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61522         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61524         * sysdeps/unix/nice.c: Moved ...
61525         * sysdeps/posix/nice.c: ... here.
61527         * sysdeps/unix/alarm.c: Moved ...
61528         * sysdeps/posix/alarm.c: ... here.
61530         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61532 2012-08-17  Jeff Law <law@redhat.com>
61534         * intl/Makefile (codeset_mo): New variable.
61535         ($(codeset_mo)): New target.
61536         (tst-codeset.out): Depend on that.  Remove explicit rule.
61537         (tst-gettext3.out, tst-gettext5.out): Likewise.
61538         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61539         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61540         * intl/tst-codeset.sh: Remove.
61541         * intl/tst-gettext3.sh: Likewise.
61542         * intl/tst-gettext5.sh: Likewise.
61544 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61546         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61547         * sysdeps/unix/syscalls.list: ... here.
61549         * sysdeps/posix/getaddrinfo.c
61550         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61551         (gaiconf_init, gaiconf_reload): Use them.
61552         [!_STATBUF_ST_NSEC]
61553         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61554         Define using time_t rather than struct timespec.
61556         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61557         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61558         Macros removed.
61559         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61560         [!NO_THREADS].
61561         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61562         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61563         Likewise.
61565         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61566         __libc_cleanup_push argument.
61568         * bits/param.h: New file.
61569         * misc/sys/param.h: New file.
61570         * include/sys/param.h: New file.
61571         * misc/Makefile (headers): Add bits/param.h.
61572         * sysdeps/generic/sys/param.h: File removed.
61573         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61574         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61575         * sysdeps/mach/hurd/bits/param.h: New file.
61576         * sysdeps/mach/hurd/sys/param.h: File removed.
61578         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61579         last change.
61581         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61582         [_IO_MTSAFE_IO].
61583         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61584         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61585         New macros.
61587         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61588         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61589         rather than -D_IO_MTSAFE_IO conditionally.
61590         * stdio-common/Makefile (CPPFLAGS): Likewise.
61591         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61592         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61593         Use $(libio-mtsafe).
61594         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61595         of -D_IO_MTSAFE_IO.
61596         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61597         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61598         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61599         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61600         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61601         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61602         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61603         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61604         (CFLAGS-fread_u_chk.c): Likewise.
61605         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61606         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61607         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61608         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61609         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61610         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61611         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61612         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61613         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61615         * libio/Makefile: Test [$(libc-reentrant) = yes]
61616         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61618         * Makeconfig
61619         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61620         * sysdeps/pthread/configure: File removed.
61621         * sysdeps/pthread/Makeconfig: New file.
61622         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61623         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61625 2012-08-16  Gary Benson  <gbenson@redhat.com>
61627         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61628         unmapping the first object in a namespace.
61630 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61632         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61633         (__internal_setnetgrent): ... this.  Add internal_function to
61634         definition.  Add libc_hidden_def.
61635         (setnetgrent): Update caller.
61636         (internal_endnetgrent): Renamed to ...
61637         (__internal_endnetgrent): ... this.  Add internal_function to
61638         definition.  Add libc_hidden_def.
61639         (endnetgrent): Update caller.
61640         (internal_getnetgrent_r): Renamed to ...
61641         (__internal_getnetgrent_r): ... this.  Add internal_function to
61642         definition.  Add libc_hidden_def.
61643         (__getnetgrent_r): Update caller.
61644         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61646 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61648         * stdlib/longlong.h: Update from GCC.
61650 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61652         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61653         on _QL, which is set by umul_ppmm but never used.
61654         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61655         variables, which are set by GMP macros but never used.
61656         * stdio-common/_itowa.c (_itowa): Likewise.
61657         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61658         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61660 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61662         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61663         struct La_sh_regs is not constant.
61664         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61665         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61666         and struct La_sparc64_regs are not constant.
61668 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61670         * sysdeps/unix/sysv/linux/kernel-features.h
61671         (__ASSUME_POSIX_TIMERS): Remove.
61672         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61673         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61674         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61675         Make code unconditional.
61676         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61677         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61678         Make code unconditional.
61679         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61680         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61681         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61682         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61683         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61684         Make code unconditional.
61685         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61686         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61687         (__libc_missing_posix_timers): Remove.
61689 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61691         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61692         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61694         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61696         * elf/dl-sym.c: Include <stdlib.h>.
61698         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61699         constants, which avoids warnings in 32-bit builds.
61701         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61702         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61704         * misc/lseek.c: File moved to ...
61705         * io/lseek.c: ... here.
61707         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61709         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61710         shifting LEN more than 31 bits at once.
61712 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61714         [BZ #14195]
61715         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61716         segmentation fault for a case of two empty input strings.
61717         * string/test-strncasecmp.c (check1): Renamed to...
61718         (bz12205): ...this.
61719         (bz14195): Add new testcase for two empty input strings and N > 0.
61720         (test_main): Call new testcase, adapt for renamed function.
61722 2012-08-15  Andreas Jaeger  <aj@suse.de>
61724         [BZ #14090]
61725         * crypt/md5test2.c: New test, based on test supplied by Serge
61726         Belyshev <belyshev@depni.sinp.msu.ru>.
61727         * crypt/Makefile (xtests): Add md5test-giant..
61728         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61730 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61732         [BZ #14090]
61733         * crypt/md5.c (md5_process_block): Don't assume the buffer
61734         length is less than 2**32.
61735         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61736         length is less than 2**64.
61738 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61740         * string/str-two-way.h: Include <sys/param.h>.
61741         (MAX): Macro removed.
61743         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61744         Move #define and #undef of memmove to just before and after
61745         including <string.h>.
61747         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61748         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61749         and after including <string.h>.  Move declarations of
61750         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61751         to before #include "string/memmove.c".
61753         * include/dirent.h: Declare __getdirentries.
61755         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61756         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61758 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61760         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61761         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61762         * sysdeps/i386/configure: Regenerated.
61763         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61764         STABS_CURRENT_FILE, and STABS_FUN.
61765         (END): Remove call to STABS_FUN_END.
61766         (STABS_CURRENT_FILE1): Delete.
61767         (STABS_CURRENT_FILE): Likewise.
61768         (STABS_FUN): Likewise.
61769         (STABS_FUN_END): Likewise.
61770         (STABS_FUN2): Likewise.
61771         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61772         * sysdeps/x86_64/configure: Regenerated.
61774 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61776         * elf/dl-open.c: Include <atomic.h>.
61777         * elf/dl-lookup.c: Likewise.
61779 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61781         * sysdeps/unix/sysv/linux/kernel-features.h
61782         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61783         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61784         unconditionally.
61785         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61786         unconditionally.
61787         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61788         condition on __ASSUME_CLONE_THREAD_FLAGS.
61790 2012-08-14  Andreas Jaeger  <aj@suse.de>
61792         * sysdeps/i386/fpu/libm-test-ulps: Update.
61794 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61796         * include/atomic.h (atomic_exchange_and_add): Split into ...
61797         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61798         New atomic macros.
61800 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61804 2012-08-13  Jeff Law <law@redhat.com>
61806         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61807         null byte in the output string.
61809 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61811         * sysdeps/unix/sysv/linux/kernel-features.h
61812         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61813         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61814         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61815         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61816         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61817         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61818         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61820 2012-08-09  Jeff Law <law@redhat.com>
61822         [BZ #13939]
61823         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61824         When avoid_arena is set, don't retry in the that arena.  Pick the
61825         next one, whatever it might be.
61826         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61827         (arena_lock): Pass in new parameter to arena_get2.
61828         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61829         arena_get2.
61830         (__libc_malloc): Unify retrying after main arena failure with
61831         __libc_memalign version.
61832         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61834 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61836         [BZ #14166]
61837         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61838         to __redirect_strstr.
61839         (__strstr_sse42): Use typeof __redirect_strstr.
61840         (__strstr_ia32): Likewise.
61841         (__libc_strstr): New prototype.
61842         (strstr): Renamed to ...
61843         (__libc_strstr): This.
61844         (strstr): New strong alias of __libc_strstr.
61845         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61846         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61847         __redirect_time.
61848         Include <time.h>.
61849         (__libc_time): New prototype.
61850         (time_ifunc): Replace time with __libc_time.
61851         (time): New strong alias and hidden definition of __libc_time.
61852         (__GI_time): Remove strong alias.
61853         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61854         Include <stddef.h>.
61855         (memmove): Redefined to __redirect_memmove.
61856         (__memmove_sse2): Use typeof __redirect_memmove.
61857         (__memmove_ssse3): Likewise.
61858         (__memmove_ssse3_back): Likewise.
61859         (__libc_memmove): New prototype.
61860         (memmove): Renamed to ...
61861         (__libc_memmove): This.
61862         (memmove): New strong alias of __libc_memmove.
61864 2012-08-08  Mark Salter  <msalter@redhat.com>
61866         * elf/elf.h
61867         (R_MN10300_TLS_GD): Define.
61868         (R_MN10300_TLS_LD): Likewise.
61869         (R_MN10300_TLS_LDO): Likewise.
61870         (R_MN10300_TLS_GOTIE): Likewise.
61871         (R_MN10300_TLS_IE): Likewise.
61872         (R_MN10300_TLS_LE): Likewise.
61873         (R_MN10300_TLS_DTPMOD): Likewise.
61874         (R_MN10300_TLS_DTPOFF): Likewise.
61875         (R_MN10300_TLS_TPOFF): Likewise.
61876         (R_MN10300_SYM_DIFF): Likewise.
61877         (R_MN10300_ALIGN): Likewise.
61878         (R_MN10300_NUM): Update.
61880 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61882         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61883         Remove.
61885 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61887         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61889         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61890         sysdeps/unix -> sysdeps/posix move.
61891         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61893 2012-08-07      Allan McRae     <allan@archlinux.org>
61895         [BZ #14303]
61896         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61897         (SUNOS_CPP): Likewise.
61898         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61899         not found.
61900         (open_input): Call CPP using execvp.
61902 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61904         * sysdeps/unix/sysv/linux/kernel-features.h
61905         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61906         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61907         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61908         (__ASSUME_WAITID_SYSCALL): Likewise.
61909         * sysdeps/unix/sysv/linux/dl-execstack.c
61910         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61911         code unconditional.
61912         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61913         conditional code.
61914         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61915         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61916         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61917         code.
61918         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61919         unconditional.
61920         [__ASSUME_WAITID_SYSCALL]: Likewise.
61921         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61923 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61925         * sysdeps/unix/closedir.c: Renamed to ...
61926         * sysdeps/posix/closedir.c: ... here.
61927         * sysdeps/unix/dirfd.c: Renamed to ...
61928         * sysdeps/posix/dirfd.c: ... here.
61929         * sysdeps/unix/dirstream.h: Renamed to ...
61930         * sysdeps/posix/dirstream.h: ... here.
61931         * sysdeps/unix/fdopendir.c: Renamed to ...
61932         * sysdeps/posix/fdopendir.c: ... here.
61933         * sysdeps/unix/opendir.c: Renamed to ...
61934         * sysdeps/posix/opendir.c: ... here.
61935         * sysdeps/unix/readdir.c: Renamed to ...
61936         * sysdeps/posix/readdir.c: ... here.
61937         * sysdeps/unix/readdir_r.c: Renamed to ...
61938         * sysdeps/posix/readdir_r.c: ... here.
61939         * sysdeps/unix/rewinddir.c: Renamed to ...
61940         * sysdeps/posix/rewinddir.c: ... here.
61941         * sysdeps/unix/seekdir.c: Renamed to ...
61942         * sysdeps/posix/seekdir.c: ... here.
61943         * sysdeps/unix/telldir.c: Renamed to ...
61944         * sysdeps/posix/telldir.c: ... here.
61945         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61946         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61947         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61948         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61950         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61951         * bits/fcntl.h: ... here.
61953         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61954         not 0.
61955         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61956         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61957         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61958         (struct flock): Move l_start, l_len to the beginning.
61959         Use __pid_t for l_pid.
61960         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61961         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61962         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61963         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61964         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61965         [__USE_LARGEFILE64] (struct flock64): New type.
61966         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61968         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61969         * bits/dirent.h: ... here.
61971         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61972         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61974 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61976         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61977         Change from 2.6.0 to 2.6.16.
61978         * sysdeps/unix/sysv/linux/configure: Regenerated.
61979         * sysdeps/unix/sysv/linux/kernel-features.h
61980         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61981         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61982         version.
61983         (__ASSUME_UTIMES): Likewise.
61984         (__ASSUME_CLONE_STOPPED): Remove.
61985         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61986         architectures, not kernel version.
61987         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61988         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61989         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61990         (__ASSUME_WAITID_SYSCALL): Likewise.
61991         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61992         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61993         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61994         refer to older versions.
61996 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61998         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61999         Define alphasort64 as an alias.
62000         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62001         Define versionsort64 as an alias.
62002         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62003         Define scandir64 as an alias.
62004         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62005         Define scandirat64 as an alias.
62006         * dirent/alphasort64.c (alphasort64):
62007         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62008         * dirent/versionsort64.c: Likewise.
62009         * dirent/scandir64.c: Likewise.
62010         * dirent/scandirat64.c: Likewise.
62011         * sysdeps/wordsize-64/alphasort.c: File removed.
62012         * sysdeps/wordsize-64/alphasort64.c: File removed.
62013         * sysdeps/wordsize-64/scandir.c: File removed.
62014         * sysdeps/wordsize-64/scandir64.c: File removed.
62015         * sysdeps/wordsize-64/scandirat.c: File removed.
62016         * sysdeps/wordsize-64/scandirat64.c: File removed.
62017         * sysdeps/wordsize-64/versionsort.c: File removed.
62018         * sysdeps/wordsize-64/versionsort64.c: File removed.
62019         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62020         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62021         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62022         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62023         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62024         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62025         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62026         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62028         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62029         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62030         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62031         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62032         [defined __arch64__ || defined __sparcv9]
62033         (__INO_T_MATCHES_INO64_T): New macro.
62034         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62035         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62036         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62037         * sysdeps/unix/sysv/linux/bits/dirent.h
62038         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62039         (_DIRENT_MATCHES_DIRENT64): New macro.
62041         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62042         Define lockf64 as an alias.
62043         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62044         Define fseeko64 as an alias.
62045         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62046         Define ftello64 as an alias.
62047         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62048         Define _IO_fgetpos64 and fgetpos64 as aliases.
62049         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62050         Define _IO_fsetpos64 and fsetpos64 as aliases.
62051         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62052         Conditionalize body on this.
62053         * libio/fseeko64.c: Likewise.
62054         * libio/ftello64.c: Likewise.
62055         * libio/iofgetpos64.c: Likewise.
62056         * libio/iofsetpos64.c: Likewise.
62057         * sysdeps/wordsize-64/lockf.c: File removed.
62058         * sysdeps/wordsize-64/lockf64.c: File removed.
62059         * sysdeps/wordsize-64/fseeko.c: File removed.
62060         * sysdeps/wordsize-64/fseeko64.c: File removed.
62061         * sysdeps/wordsize-64/ftello.c: File removed.
62062         * sysdeps/wordsize-64/ftello64.c: File removed.
62063         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62064         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62065         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62066         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62067         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62068         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62069         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62070         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62071         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62072         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62073         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62074         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62075         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62076         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62078         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62079         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62080         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62081         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62082         [defined __arch64__ || defined __sparcv9]
62083         (__OFF_T_MATCHES_OFF64_T): New macro.
62084         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62085         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62086         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62087         (__OFF_T_MATCHES_OFF64_T): New macro.
62089 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62091         * stdlib/secure-getenv.c (__secure_getenv): Replace
62092         GLIBC_2_16 with GLIBC_2_17.
62094 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62096         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62097         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62099 2012-08-03  David S. Miller  <davem@davemloft.net>
62101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62103 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62105         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62106         Remove.
62107         (__ASSUME_CORRECT_SI_PID): Likewise.
62108         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62109         (__ASSUME_TMPFS_NAME): Likewise.
62110         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62111         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62112         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62113         (HAVE_AUX_SECURE): Make definition unconditional.
62114         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62115         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62117 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62119         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62120         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62121         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62122         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62123         __eloop_threshold instead of SYMLOOP_MAX.
62125         * sysdeps/generic/eloop-threshold.h: New file.
62126         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62127         of MAXSYMLINKS.
62128         * elf/chroot_canon.c (chroot_canon): Likewise.
62130 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62132         [BZ #13717]
62133         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62134         Change to 2.6.0 everywhere.
62135         * sysdeps/unix/sysv/linux/configure: Regenerated.
62136         * sysdeps/unix/sysv/linux/kernel-features.h
62137         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62138         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62139         kernel versions.
62140         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62141         (__ASSUME_FUTEX_REQUEUE): Remove.
62142         (__ASSUME_STATFS64): Define unconditionally.
62143         (__ASSUME_AT_SECURE): Likewise.
62144         (__ASSUME_CORRECT_SI_PID): Likewise.
62145         (__ASSUME_TGKILL): Define without depending on kernel version for
62146         i386.
62147         (__ASSUME_UTIMES): Likewise.
62148         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62149         kernel version.
62150         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62151         (__ASSUME_TMPFS_NAME): Likewise.
62152         * README: Update reference to Linux kernel versions.
62154 2012-08-02  Marek Polacek  <polacek@redhat.com>
62156         [BZ# 14150]
62157         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62158         libc_cv_asm_type_prefix with %.
62159         * configure: Regenerated.
62160         * include/libc-symbols.h: Remove comment about
62161         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62162         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62163         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62164         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62165         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62166         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62167         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62168         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62169         * elf/tst-unique2mod1.c: Likewise.
62170         * elf/tst-unique1mod2.c: Likewise.
62171         * elf/tst-unique1mod1.c: Likewise.
62172         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62173         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62174         Replace ASM_TYPE_DIRECTIVE with .type.
62175         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62176         * sysdeps/i386/sysdep.h: Likewise.
62177         * sysdeps/x86_64/sysdep.h: Likewise.
62178         * sysdeps/sh/sysdep.h: Likewise.
62179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62180         Do not define ASM_TYPE_DIRECTIVE.
62181         * sysdeps/powerpc/sysdep.h: Likewise.
62182         * sysdeps/powerpc/powerpc32/sysdep.h:
62183         Replace ASM_TYPE_DIRECTIVE with .type.
62184         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62185         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62186         * sysdeps/i386/fpu/e_powf.S: Likewise.
62187         * sysdeps/i386/fpu/e_expl.S: Likewise.
62188         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62189         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62190         * sysdeps/i386/fpu/e_pow.S: Likewise.
62191         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62192         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62193         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62194         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62195         * sysdeps/i386/fpu/e_log2.S: Likewise.
62196         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62197         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62198         * sysdeps/i386/fpu/e_powl.S: Likewise.
62199         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62200         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62201         * sysdeps/i386/fpu/e_logl.S: Likewise.
62202         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62203         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62204         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62205         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62206         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62207         * sysdeps/i386/fpu/e_log.S: Likewise.
62208         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62209         * sysdeps/i386/fpu/e_logf.S: Likewise.
62210         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62211         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62212         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62213         * sysdeps/i386/fpu/e_log10.S: Likewise.
62214         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62215         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62216         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62217         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62218         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62219         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62220         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62221         * sysdeps/i386/i686/strtok.S: Likewise.
62222         * sysdeps/i386/i386-mcount.S: Likewise.
62223         * sysdeps/i386/strtok.S: Likewise.
62224         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62225         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62226         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62227         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62228         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62229         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62230         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62231         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62232         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62233         * sysdeps/x86_64/_mcount.S: Likewise.
62234         * sysdeps/x86_64/strtok.S: Likewise.
62235         * sysdeps/sh/_mcount.S: Likewise.
62237 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62239         * libio/iofopen.c: Include <fcntl.h>.
62240         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62241         (_IO_fopen64, fopen64): Define as aliases.
62242         * libio/iofopen64.c: Include <fcntl.h>.
62243         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62244         Conditionalize body on this.
62245         * sysdeps/wordsize-64/iofopen.c: File removed.
62246         * sysdeps/wordsize-64/iofopen64.c: File removed.
62248 2012-08-01  Marek Polacek  <polacek@redhat.com>
62250         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62251         Use dlfcn directly instead of a variable.
62252         (binfmt-subdir): Do not define.
62253         (dlfcn): Likewise.
62255 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62257         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62258         Remove all definitions.
62259         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62260         <kernel-features.h>.
62261         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62262         (miss_F_GETOWN_EX): Remove all definitions.
62263         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62264         macro definition.
62265         [!__ASSUME_FCNTL64]: Remove conditional code.
62266         [__ASSUME_FCNTL64]: Make code unconditional.
62267         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62268         <kernel-features.h>.
62269         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62270         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62271         (lockf64) [__NR_fcntl64]: Make code unconditional.
62272         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62274         * sysdeps/unix/sysv/linux/kernel-features.h
62275         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62276         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62277         Make code unconditional.
62278         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62279         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62281         [__NR_vfork]: Make code unconditional.
62282         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62283         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62285         [__NR_vfork]: Make code unconditional.
62286         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62287         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62289 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62291         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62292         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62294         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62295         Define mkstemp64 as an alias.
62296         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62297         Define mkstemps64 as an alias.
62298         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62299         Define mkostemp64 as an alias.
62300         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62301         Define mkostemps64 as an alias.
62302         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62303         Conditionalize body on this.
62304         * misc/mkostemp64.c: Likewise.
62305         * misc/mkostemps64.c: Likewise.
62306         * misc/mkstemps64.c: Likewise.
62307         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62308         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62309         * sysdeps/wordsize-64/mkostemp.c: File removed.
62310         * sysdeps/wordsize-64/mkstemp.c: File removed.
62311         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62312         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62313         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62314         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62316         [BZ #14138]
62317         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62318         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62319         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62320         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62322         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62323         compat_symbol macros from <shlib-compat.h> rather than the underlying
62324         default_symbol_version and symbol_version macros, so that DEFAULT
62325         lines in shlib-versions are respected.
62326         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62328 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62330         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62331         Declare with warn_unused_result.
62332         (setgid, setregid, setegid, setresgid): Likewise.
62333         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62334         Likewise.
62335         * WUR-REPORT: Remove set*id functions.
62337 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62339         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62341 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62343         [BZ #10191]
62344         * include/sys/socket.h (__libc_accept, __libc_accept4):
62345         Add attribute_hidden.
62346         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62348         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62349         use of PTR_MANGLE.
62350         * inet/getnetgrent_r.c (setup): Likewise.
62352         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62354 2012-07-31  David S. Miller  <davem@davemloft.net>
62356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62358 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62360         [BZ #13629]
62361         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62362         value between 1.0 and 2.0 and smaller part has absolute value less
62363         than 1.0.
62364         * math/s_clog10.c (__clog10): Likewise.
62365         * math/s_clog10f.c (__clog10f): Likewise.
62366         * math/s_clog10l.c (__clog10l): Likewise.
62367         * math/s_clogf.c (__clogf): Likewise.
62368         * math/s_clogl.c (__clogl): Likewise.
62369         * math/libm-test.inc (clog_test): Add more tests.
62370         (clog10_test): Likewise.
62371         * sysdeps/i386/fpu/libm-test-ulps: Update.
62372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62374 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62376         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62377         Exit with zero in case no suitable GID is found, and write a
62378         message to standard error.
62380 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62382         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62383         rather than to 1.
62384         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62385         (MAXPATHLEN): Removed.
62386         (NOGROUP, NODEV): New macros.
62387         (setbit, clrbit, isset, isclr): New macros.
62388         (howmany, roundup, powerof2): New macros.
62389         (DEV_BSIZE): New macro.
62391         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62392         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62394         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62395         definition on [!__NO_LONG_DOUBLE_MATH].
62397         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62398         PTR_MANGLE and PTR_DEMANGLE.
62400         * socket/accept4.c (accept4): Rename to __libc_accept4.
62401         Define accept4 as a weak alias.
62403         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62404         on [_DIRENT_HAVE_D_TYPE].
62405         * io/ftw.c (ftw_dir): Likewise.
62407         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62409         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62411         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62412         Use the BSD numbers rather than the arbitrary ones we had.
62413         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62414         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62415         (SIGXCPU, SIGXFSZ): New macros.
62416         (_NSIG): Now 32.
62418         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62419         initializer on [_LIBC_REENTRANT].
62421         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62422         definitions inside [_POSIX_MAPPED_FILES].
62424         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62426         * dirent/opendir.c: Include <fcntl.h>.
62428         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62429         (__libc_getspecific): Likewise.
62430         (__libc_key_create): Likewise.
62432         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62433         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62434         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62435         (tmpfile64): Define as alias.
62436         * sysdeps/wordsize-64/tmpfile.c: File removed.
62437         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62438         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62439         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62441         * stdio-common/vfscanf.c: Include <stdbool.h>.
62442         * nss/makedb.c: Likewise.
62443         * stdio-common/_i18n_number.h: Likewise.
62444         * argp/argp-help.c: Likewise.
62445         * posix/wordexp.c: Likewise.
62446         * sysdeps/posix/spawni.c: Likewise.
62447         * nss/nss_files/files-initgroups.c: Likewise.
62448         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62449         * nss/nss_files/files-initgroups.c: Likewise.
62450         * nss/nss_db/db-netgrp.c: Likewise.
62451         * nss/nss_db/db-initgroups.c: Likewise.
62452         * io/fchmodat.c: Include <sys/stat.h>.
62454         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62455         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62457         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62458         [HAVE_MMAP].
62460         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62461         Add multiple inclusion protection.
62463 2012-07-27  David S. Miller  <davem@davemloft.net>
62465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62467 2012-07-27  Gary Benson  <gbenson@redhat.com>
62469         [BZ #14298]
62470         * elf/rtld.c: Include <stap-probe.h>.
62471         (dl_main): Added static probes "init_start" and "init_complete".
62472         * elf/dl-load.c: Include <stap-probe.h>.
62473         (lose): Take new parameter "nsid".
62474         Added static probe "map_failed".
62475         (_dl_map_object_from_fd): Pass namespace id to lose.
62476         Added static probe "map_start".
62477         (open_verify): Pass namespace id to lose.
62478         * elf/dl-open.c: Include <stap-probe.h>.
62479         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62480         and "reloc_complete".
62481         * elf/dl-close.c: Include <stap-probe.h>.
62482         (_dl_close_worker): Added static probes "unmap_start" and
62483         "unmap_complete".
62484         * elf/rtld-debugger-interface.txt: New file documenting the above.
62486 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62488         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62489         rather than a string variable.
62490         * sunrpc/rpc_main.c (h_output): Likewise.
62491         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62493 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62495         * inet/check_native.c: New file.
62497 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62499         [BZ #13629]
62500         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62501         if larger part has absolute value 1.0.
62502         * math/s_clog10.c (__clog10): Likewise.
62503         * math/s_clog10f.c (__clog10f): Likewise.
62504         * math/s_clog10l.c (__clog10l): Likewise.
62505         * math/s_clogf.c (__clogf): Likewise.
62506         * math/s_clogl.c (__clogl): Likewise.
62507         * math/libm-test.inc (clog_test): Add more tests.
62508         (clog10_test): Likewise.
62509         * sysdeps/i386/fpu/libm-test-ulps: Update.
62510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62512         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62513         (pltexit): Likewise.
62514         (La_regs): Likewise.
62515         (La_retval): Likewise.
62516         (int_retval): Likewise.
62517         Update #error for removed macros to refer only to definitions in
62518         tst-audit.h.
62519         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62520         macro.
62521         (pltexit): Likewise.
62522         (La_regs): Likewise.
62523         (La_retval): Likewise.
62524         (int_retval): Likewise.
62525         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62526         macro.
62527         (pltexit): Likewise.
62528         (La_regs): Likewise.
62529         (La_retval): Likewise.
62530         (int_retval): Likewise.
62531         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62532         macro.
62533         (pltexit): Likewise.
62534         (La_regs): Likewise.
62535         (La_retval): Likewise.
62536         (int_retval): Likewise.
62537         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62538         macro.
62539         (pltexit): Likewise.
62540         (La_regs): Likewise.
62541         (La_retval): Likewise.
62542         (int_retval): Likewise.
62543         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62544         macro.
62545         (pltexit): Likewise.
62546         (La_regs): Likewise.
62547         (La_retval): Likewise.
62548         (int_retval): Likewise.
62549         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62550         macro.
62551         (pltexit): Likewise.
62552         (La_regs): Likewise.
62553         (La_retval): Likewise.
62554         (int_retval): Likewise.
62555         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62556         macro definitions in tst-audit.h.
62557         * sysdeps/i386/tst-audit.h: New file.
62558         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62559         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62560         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62561         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62562         * sysdeps/sh/tst-audit.h: Likewise.
62563         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62564         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62565         * sysdeps/x86_64/tst-audit.h: Likewise.
62567 2012-07-26  Andreas Jaeger  <aj@suse.de>
62569         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62570         ptrace.
62572         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62573         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62574         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62575         PTRACE_O_MASK.
62576         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62577         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62578         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62580         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62581         value.
62583         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62584         _sigsys.
62585         (si_call_addr, si_syscall, si_arch): Define new macro.
62586         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62587         _sigsys.
62588         (si_call_addr, si_syscall, si_arch): Define new marcro.
62589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62590         _sigsys.
62591         (si_call_addr, si_syscall, si_arch): Define new macro.
62592         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62593         _sigsys.
62594         (si_call_addr, si_syscall, si_arch): Define new macro.
62596 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62598         [BZ #13717]
62599         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62600         Change to 2.4.21 where previously 2.4.1.
62601         * sysdeps/unix/sysv/linux/configure: Regenerated.
62602         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62603         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62604         Linux kernel version.
62605         (__ASSUME_STD_AUXV): Remove.
62606         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62607         kernel version.
62608         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62609         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62610         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62611         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62612         (__ASSUME_NETLINK_SUPPORT): Likewise.
62613         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62614         (__no_netlink_support): Remove conditional definition.
62615         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62616         Remove.
62617         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62618         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62619         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62620         (if_nameindex_ioctl): Remove.
62621         (if_nameindex_netlink): Do not handle __no_netlink_support.
62622         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62623         code.
62624         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62625         Remove conditional code.
62626         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62627         code.
62628         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62629         unconditional.
62630         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62631         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62632         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62633         Remove.
62634         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62635         [!__ASSUME_STD_AUXV]: Remove conditional code.
62636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62637         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62638         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62640         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62641         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62642         code.
62643         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62645         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62646         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62647         conditional code.
62648         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62650         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62651         code.
62652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62653         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62654         conditional code.
62655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62656         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62657         code unconditional.
62658         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62659         conditional code.
62660         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62661         unconditional.
62662         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62663         conditional code.
62664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62665         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62666         unconditional.
62667         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62668         conditional code.
62669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62670         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62671         code unconditional.
62672         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62673         conditional code.
62674         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62675         unconditional.
62676         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62677         conditional code.
62678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62679         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62680         code unconditional.
62681         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62682         conditional code.
62683         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62684         unconditional.
62685         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62686         conditional code.
62688 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62690         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62691         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62692         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62693         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62694         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62695         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62696         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62697         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62698         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62699         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62700         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62701         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62702         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62703         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62704         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62705         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62706         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62707         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62708         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62710         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62711         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62712         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62714 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62716         * Versions.def: Add GLIBC_2.17.
62717         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62718         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62719         Introduce __libc_secure_getenv.
62720         * stdlib/Versions (2.17): Add secure_getenv
62721         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62722         * stdlib/secure-getenv.c: Rename __secure_getenv to
62723         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62724         symbol __secure_getenv for GLIBC_2.0.
62725         * stdlib/tst-secure-getenv.c: New.
62726         * stdlib/Makefile (tests): Add testcase.
62727         * manual/startup.texi (Environment Access): Document
62728         secure_getenv.
62729         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62730         __libc_secure_getenv.
62731         * inet/ruserpass.c (ruserpass): Likewise.
62732         * malloc/mtrace.c (mtrace): Likewise.
62733         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62734         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62735         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62736         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62737         HAVE_SECURE_GETENV.
62738         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62739         __secure_getenv to __libc_secure_getenv.
62740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62742         Likewise.
62743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62744         Likewise.
62745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62747         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62753 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62755         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62756         (struct La_i86_retval): Likewise.
62757         (struct La_x86_64_regs): Likewise.
62758         (struct La_x86_64_retval): Likewise.
62759         (struct La_x32_regs): Likewise.
62760         (struct La_x32_retval): Likewise.
62761         (struct La_ppc32_regs): Likewise.
62762         (struct La_ppc32_retval): Likewise.
62763         (struct La_ppc64_regs): Likewise.
62764         (struct La_ppc64_retval): Likewise.
62765         (struct La_sh_regs): Likewise.
62766         (struct La_sh_retval): Likewise.
62767         (struct La_s390_32_regs): Likewise.
62768         (struct La_s390_32_retval): Likewise.
62769         (struct La_s390_64_regs): Likewise.
62770         (struct La_s390_64_retval): Likewise.
62771         (struct La_sparc32_regs): Likewise.
62772         (struct La_sparc32_retval): Likewise.
62773         (struct La_sparc64_regs): Likewise.
62774         (struct La_sparc64_retval): Likewise.
62775         (struct audit_ifaces): Remove architecture-specific pltenter and
62776         pltexit members.
62777         * sysdeps/i386/ldsodefs.h: New file.
62778         * sysdeps/powerpc/ldsodefs.h: Likewise.
62779         * sysdeps/s390/ldsodefs.h: Likewise.
62780         * sysdeps/sh/ldsodefs.h: Likewise.
62781         * sysdeps/sparc/ldsodefs.h: Likewise.
62782         * sysdeps/x86_64/ldsodefs.h: Likewise.
62784 2012-07-25  Marek Polacek  <polacek@redhat.com>
62786         [BZ #6808]
62787         * math/libm-test.inc (yn_test): Add another test.
62788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62789         to ERANGE when the result is +-Inf.
62790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62791         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62792         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62793         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62795 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62797         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62798         equal to 0.
62799         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62800         clock_t.
62801         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62803 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62805         * configure.in <sysdeps resolving>: Correct printing
62806         Implies_before.
62807         * configure: Regenerate.
62809 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62811         * math/w_ilogb.c: Include <limits.h>.
62812         * math/w_ilogbl.c: Likewise.
62814 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62816         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62817         va_copy.  Document allowing for unavailable va_copy only as
62818         pre-C99 compatibility.
62819         * manual/string.texi (Copying and Concatenation): Use va_copy
62820         instead of __va_copy in concat example.
62822 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62824         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62825         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62826         it if not null.
62828         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62829         with O_NOLINK passed to __file_name_lookup.
62831         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62832         with O_NOLINK passed to __file_name_lookup.
62834         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62835         negative N or less than NGIDS.
62837         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62838         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62839         enough.  Use memcpy instead of strncpy.
62841 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62843         * elf/Makefile (check-data): Remove.
62844         (localplt.data): New vpath directive.
62845         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62846         instead of $(check-data).
62847         * scripts/data/localplt-generic.data: Move to ...
62848         * sysdeps/generic/localplt.data: ... here.
62849         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62850         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62851         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62853         ... here.
62854         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62856         ... here.
62857         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62859         ... here.
62860         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62862         ... here.
62863         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62865         ... here.
62866         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62868         ... here.
62870 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62872         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62873         PPC32 and PPC64 files.
62874         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62875         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62877 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62879         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62880         __makecontext_ret to ...
62881         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62882         ... here and call exit if uc_link is NULL.  New file.
62883         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62884         __makecontext_ret.S.
62885         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62886         __makecontext_ret to ...
62887         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62888         ... here and call exit if uc_link is NULL.  New file.
62889         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62890         __makecontext_ret.S.
62892 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62894         * elf/elf.h (R_390_IRELATIVE): New definition.
62895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62896         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62897         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62899         (elf_machine_lazy_rel): Likewise.
62900         * sysdeps/s390/dl-irel.h: New file.
62901         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62902         * sysdeps/s390/s390-64/memset.S: New asm code.
62903         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62904         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62905         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62906         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62907         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62908         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62909         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62910         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62911         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62912         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62913         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62914         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62915         * sysdeps/s390/s390-32/memset.S: New asm code.
62916         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62918 2012-07-17  Marek Polacek  <polacek@redhat.com>
62920         [BZ #14349]
62921         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62922         * sysdeps/s390/s390-64/configure.in: Likewise.
62923         * sysdeps/sparc/configure.in: Likewise.
62924         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62925         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62926         * sysdeps/i386/configure.in: Likewise.
62927         * sysdeps/x86_64/configure.in: Likewise.
62928         * sysdeps/sh/configure.in: Likewise.
62929         * sysdeps/s390/s390-32/configure: Regenerated.
62930         * sysdeps/s390/s390-64/configure: Likewise.
62931         * sysdeps/x86_64/configure: Likewise.
62932         * sysdeps/sh/configure: Likewise.
62933         * sysdeps/powerpc/powerpc64/configure: Likewise.
62934         * sysdeps/powerpc/powerpc32/configure: Likewise.
62935         * sysdeps/sparc/configure: Likwise.
62936         * sysdeps/i386/configure: Likewise.
62938         * elf/dl-open.c: Comment fixes.
62940 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62942         * Makefile [CXX] (check-data): Remove.
62943         [CXX] (c++-types.data): New vpath directive.
62944         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62945         vpath.  Do not allow for C++ type data being missing.
62946         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62947         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62948         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62949         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62950         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62951         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62952         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62954         ... here.
62955         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62957         ... here.
62958         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62960         ... here.
62961         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62963         ... here.
62964         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62966         ... here.
62967         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62969         ... here.
62970         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62972         ... here.
62973         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62976         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62977         definitions to architecture-specific files.
62978         (TLS_IE): Likewise.
62979         (TLS_LD): Likewise.
62980         (TLS_GD): Likewise.
62981         * sysdeps/i386/tls-macros.h: New file.
62982         * sysdeps/powerpc/tls-macros.h: Likewise.
62983         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62984         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62985         * sysdeps/sh/tls-macros.h: Likewise.
62986         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62987         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62988         * sysdeps/x86_64/tls-macros.h: Likewise.
62990 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62992         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62993         zero value for regular exit case.
62995         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62996         (__start_context): Preserve zero value for regular exit case.
62998 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62999             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63001         * manual/setjmp.texi (setcontext): Clarify normal process
63002         termination when uc_link is the null pointer.
63003         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63004         exit call.
63006 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63008         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63009         preprocessor.  Test for each exception mask separately.
63011 2012-07-16  Andreas Jaeger  <aj@suse.de>
63013         * po/ru.po: Update from translation team.
63015 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63017         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63018         equal to 0.
63019         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63020         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63021         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63022         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63025 2012-07-13  Andreas Jaeger  <aj@suse.de>
63027         * po/fr.po: Update from translation team.
63029 2012-07-12  Marek Polacek  <polacek@redhat.com>
63031         [BZ #14173]
63032         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63033         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63034         loop condition.
63036 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63038         [BZ #13717]
63039         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63040         Change to 2.4.1 where previously 2.4.0.
63041         * sysdeps/unix/sysv/linux/configure: Regenerated.
63042         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63043         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63044         version.
63045         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63046         (__ASSUME_AT_CLKTCK): Remove.
63047         (__ASSUME_AT_PAGESIZE): Likewise.
63048         (__ASSUME_AT_XID): Likewise.
63049         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63050         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63051         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63052         unconditionally.
63053         (HAVE_AUX_PAGESIZE): Likewise.
63054         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63055         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63056         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63058 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63060         [BZ #14307]
63061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63062         the temporary buffer used to invoke __gethostbyname2_r,
63063         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63064         host_data / struct gaih_addrtuple.
63065         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63066         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63067         header file nss/nsswitch.h.
63068         * nss/nsswitch.h (global scope): Add definition of implementation
63069         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63070         resolv/nss_dns/dns-host.c).
63072 2012-07-11  Andreas Jaeger  <aj@suse.de>
63074         * po/fr.po: Update from translation team.
63076         * po/sv.po: Update from translation team
63077         * po/fr.po: Another update from translation team.
63079 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63081         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63082         for subnormals or multiply small sinh result by itself.
63083         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63086 2012-07-11  David S. Miller  <davem@davemloft.net>
63088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63090 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63092         [BZ #14347]
63093         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63094         (INTERNAL_MARK): Shift it here.
63096 2012-07-10  Marek Polacek  <polacek@redhat.com>
63098         [BZ #14151]
63099         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63100         libc_cv_asm_global_directive with .globl.
63101         * configure: Regenerated.
63102         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63103         with .globl.
63104         * sysdeps/i386/configure: Regenerated.
63105         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63106         with .globl.
63107         * sysdeps/x86_64/configure: Regenerated.
63108         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63109         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63110         * elf/tst-unique2mod2.c: Likewise.
63111         * elf/tst-unique2mod1.c: Likewise.
63112         * elf/tst-unique1mod2.c: Likewise.
63113         * elf/tst-unique1mod1.c: Likewise.
63114         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63115         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63116         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63117         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63118         * sysdeps/mach/sysdep.h: Likewise.
63119         * sysdeps/i386/sysdep.h: Likewise.
63120         * sysdeps/i386/i386-mcount.S: Likewise.
63121         * sysdeps/x86_64/_mcount.S: Likewise.
63122         * sysdeps/x86_64/sysdep.h: Likewise.
63123         * sysdeps/sh/_mcount.S: Likewise.
63124         * sysdeps/sh/sysdep.h: Likewise.
63125         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63126         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63127         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63128         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63129         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63130         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63131         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63132         * locale/localeinfo.h: Likewise.
63133         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63134         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63136 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63138         [BZ #14336]
63139         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63140         system".
63141         * manual/message.texi (The Uniforum approach): Likewise.
63142         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63143         (glibc iconv Implementation): Likewise.
63145 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63147         [BZ #14337]
63148         * math/s_clog.c (__clog): Avoid scaling a value down where that
63149         could result in underflow.
63150         * math/s_clog10.c (__clog10): Likewise.
63151         * math/s_clog10f.c (__clog10f): Likewise.
63152         * math/s_clog10l.c (__clog10l): Likewise.
63153         * math/s_clogf.c (__clogf): Likewise.
63154         * math/s_clogl.c (__clogl): Likewise.
63155         * math/libm-test.inc (clog_test): Add more tests.
63156         (clog10_test): Likewise.
63157         * sysdeps/i386/fpu/libm-test-ulps: Update.
63158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63160 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63162         [BZ #14283]
63163         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63164         by 7 not 8 to examine high bit of fractional part.
63166         [BZ #14042]
63167         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63168         for call to __mcount_internal.
63169         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63170         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63171         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63173 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63175         [BZ #14154]
63176         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63177         approximation for values within 0x1p-13f of an odd multiple of
63178         pi/4.
63179         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63180         exception.  Add more tests.
63181         * sysdeps/i386/fpu/libm-test-ulps: Update.
63183         [BZ #6778]
63184         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63185         inputs and return -1 for them.  Do not check for +Inf in case not
63186         reachable for +Inf.
63187         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63188         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63190         and return -1 for them.  Do not check for +Inf in case not
63191         reachable for +Inf.
63192         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63193         define.
63194         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63195         and return -1 for them.  Do not check for +Inf in case not
63196         reachable for +Inf.
63197         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63198         spurious underflow.
63199         * sysdeps/i386/fpu/libm-test-ulps: Update.
63200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63202 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63204         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63206 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63208         [BZ #14157]
63209         [BZ #14331]
63210         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63211         could result in spurious underflow.  Scale down values above
63212         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63213         * math/s_csqrtf.c (__csqrtf): Likewise.
63214         * math/s_csqrtl.c (__csqrtl): Likewise.
63215         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63216         spurious underflow.
63217         * sysdeps/i386/fpu/libm-test-ulps: Update.
63218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63220 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63222         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63223         xopen-msg.sed.
63224         * catgets/xopen-msg.awk: New file.
63225         * catgets/xopen-msg.sed: Removed.
63227         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63228         po2text.sed.
63229         * intl/po2test.awk: New file.
63230         * intl/po2test.sed: Removed.
63232 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63234         [BZ #14328]
63235         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63236         or multiply small sinh result by itself.
63237         * math/s_ctanf.c (__ctanf): Likewise.
63238         * math/s_ctanh.c (__ctanh): Likewise.
63239         * math/s_ctanhf.c (__ctanhf): Likewise.
63240         * math/s_ctanhl.c (__ctanhl): Likewise.
63241         * math/s_ctanl.c (__ctanl): Likewise.
63242         * math/libm-test.inc (ctan_test_tonearest): New function.
63243         (ctan_test_towardzero): Likewise.
63244         (ctan_test_downward): Likewise.
63245         (ctan_test_upward): Likewise.
63246         (ctanh_test_tonearest): Likewise.
63247         (ctanh_test_towardzero): Likewise.
63248         (ctanh_test_downward): Likewise.
63249         (ctanh_test_upward): Likewise.
63250         (main): Call these new functions.
63251         * sysdeps/i386/fpu/libm-test-ulps: Update.
63252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63254 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63256         * .gitignore: Delete /ports entry.
63258 2012-07-03  Andreas Jaeger  <aj@suse.de>
63260         * po/bg.po: Update from translation team.
63261         * po/cs.po: Likewise.
63262         * po/de.po: Likewise.
63263         * po/hr.po: Likewise.
63264         * po/nl.pl: Likewise.
63265         * po/pl.po: Likewise.
63266         * po/vi.po: Likewise.
63268 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63270         * Makeconfig [!+link] (+link-before-libc): New variable.
63271         [!+link] (+link-after-libc): Likewise.
63272         [!+link] (+link-tests): Likewise.
63273         [!+link] (+link): Define in terms of $(+link-before-libc) and
63274         $(+link-after-libc).
63275         [!+link-static] (+link-static-before-libc): New variable.
63276         [!+link-static] (+link-static-after-libc): Likewise.
63277         [!+link-static] (+link-static-tests): Likewise.
63278         [!+link-static] (+link-static): Define in terms of
63279         $(+link-static-before-libc) and $(+link-static-after-libc).
63280         [build-shared] (link-libc-before-gnulib): New variable.
63281         [build-shared] (link-libc-tests): Likewise.
63282         [build-shared] (link-libc): Define in terms of
63283         $(link-libc-before-gnulib).
63284         [!build-shared] (link-libc-tests): New variable.
63285         (link-libc-static-tests): New variable.
63286         [!gnulib] (gnulib-arch): New variable.
63287         [!gnulib] (gnulib-tests): Likewise.
63288         [!gnulib] (static-gnulib-arch): Likewise.
63289         [!gnulib] (static-gnulib-tests): Likewise.
63290         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63291         Define with "=" instead of ":=".
63292         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63293         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63294         * Rules (binaries-all-notests): New variable.
63295         (binaries-all-tests): Likewise.
63296         (binaries-static-notests): Likewise.
63297         (binaries-static-tests): Likewise.
63298         (binaries-all): Define using $(binaries-all-notests) and
63299         $(binaries-all-tests).
63300         (binaries-static): Define using $(binaries-static-notests) and
63301         $(binaries-static-tests).
63302         (binaries-shared-tests): New variable.
63303         (binaries-shared-notests): Likewise.
63304         (binaries-shared): Remove variable.
63305         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63306         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63307         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63308         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63309         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63310         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63311         * elf/Makefile (sln-modules): New variable.
63312         (extra-objs): Add $(sln-modules:=.o).
63313         (ldconfig-modules): Add static-stubs.
63314         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63315         * elf/static-stubs.c: New file.
63317         [BZ #14283]
63318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63319         by 7 not 8 to examine high bit of fractional part.  Use volatile
63320         variables when splitting into final array of floats if
63321         __FLT_EVAL_METHOD__ != 0.
63322         * math/libm-test.inc (cos_test): Add another test.
63323         (sin_test): Likewise.
63324         * sysdeps/i386/fpu/libm-test-ulps: Update.
63326         [BZ #14273]
63327         * math/libm-test.inc (cosh_test): Add more tests.
63329         * version.h (RELEASE): Set to "development".
63330         (VERSION): Set to "2.16.90".
63332 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63334         * NEWS: Update copyright. Remove last-updated date.
63335         Mention math library bug fixes and timezone data changes.
63336         * README: Mention GNU/Hurd, x32, and HPPA support status.
63338 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63340         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63342 2012-06-27  Andreas Jaeger  <aj@suse.de>
63344         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63346 2012-06-25  Andreas Jaeger  <aj@suse.de>
63348         * sysdeps/s390/fpu/libm-test-ulps: Update.
63350 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63351             Thomas Schwinge  <thomas@codesourcery.com>
63353         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63354         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63356         fanotify_mark.
63358 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63360         * sysdeps/mach/start.c: Remove file.
63361         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63362         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63363         * sysdeps/sh/init-first.c: Likewise.
63365         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63366         registers for frame unwinding purposes, add CFI directives.
63367         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63368         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63369         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63370         Likewise.
63372         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63373         __fortify_fail returning.
63374         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63376         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63377         sysdeps/sh/____longjmp_chk.S.
63378         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63379         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63380         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63381         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63383         * sysdeps/sh/abort-instr.h: New file.
63384         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63385         process in case exit returns.
63387         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63388         initialize the GOT register before use.
63390         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63391         calculation of ARGC > 4.
63393         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63394         meaningful names to some local labels.
63396 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63397             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63399         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63400         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63401         (__arch_compare_and_exchange_val_16_acq): Likewise.
63402         (__arch_compare_and_exchange_val_32_acq): Likewise.
63403         (atomic_exchange_and_add): Fix gUSA sequence.
63404         (atomic_add): Likewise.
63405         (atomic_add_negative): Likewise.
63406         (atomic_add_zero): Likewise.
63407         (atomic_bit_test_set): Likewise.
63409 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63411         [BZ #13579]
63412         * include/link.h (struct link_map): Add l_free_initfini.
63413         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63414         l_initfini.
63415         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63416         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63417         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63418         set.
63420 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63422         * configure.in: Use AC_LANG_SOURCE.
63423         * configure: Regenerate.
63425 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63427         * configure.in (libc_cv_localstatedir): New substituted variable.
63428         * configure: Regenerated.
63429         * config.make.in (localstatedir): New variable, substituted from
63430         libc_cv_localstatedir.
63431         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63432         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63433         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63434         * sysdeps/gnu/configure: Regenerated.
63436 2012-06-21  Jeff Law  <law@redhat.com>
63438         [BZ #14277]
63439         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63440         free.  Simplify list management for _LIBC case.
63442 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63444         [BZ #14273]
63445         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63446         Clear sign bit of 64-bit integer value before comparing against
63447         overflow value.
63449         * sysdeps/mach/configure: Regenerated.
63451 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63453         [BZ #14278]
63454         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63456 2012-06-21  Jeff Law  <law@redhat.com>
63458         [BZ #13882]
63459         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63460         uint16_t for elements in the "seen" array to avoid char overflows.
63461         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63462         * elf/dl-open.c (dl_open_worker): Likewise.
63464 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63466         * scripts/list-sources.sh: Scan PORTS for translations.
63467         * po/libc.pot: Regenerated.
63469 2012-06-21  Andreas Jaeger  <aj@suse.de>
63471         [BZ #12194]
63472         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63473         warning.
63474         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63475         * bits/byteswap-16.h (__bswap_16): Likewise.
63476         * bits/byteswap.h (__bswap_constant_16): Likewise.
63478 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63480         [BZ #14117]
63481         * sysdeps/i386/fpu_control.h: Removed.
63482         * sysdeps/x86_64/fpu_control.h: Moved to ...
63483         * sysdeps/x86/fpu_control.h: Here.
63485         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63486         (_FPU_SETCW): Likewise.
63488 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63490         [BZ #14117]
63491         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63492         * sysdeps/x86/fpu/bits/mathinline.h: This.
63493         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63495         [BZ #14050]
63496         [BZ #14117]
63497         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63498         functions if __x86_64__ is defined.
63500 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63502         * string/endian.h: Add !__ASSEMBLER__ condition for including
63503         conversion interfaces.
63505 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63507         [BZ #14241]
63508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63509         of ABS(x) in calculating zero to negative powers other than odd
63510         integers.
63511         * math/libm-test.inc (pow_test): Add more tests.
63513 2012-06-15  Andreas Jaeger  <aj@suse.de>
63515         * manual/contrib.texi (Contributors): Update entry of Liubov
63516         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63517         Machado Filho.
63519 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63521         * string/string.h: Add __wur to GNU version of strerror_r.
63523 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63525         [BZ #14229]
63526         * string/Makefile (tests): Add tst-strtok_r.
63527         * string/tst-strtok_r.c: New file.
63528         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63529         RAX_LP/RDX_LP on SAVE_PTR.
63531 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63533         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63535 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63537         * libm_test.inc (csqrt_test): Allow more spurious underflow
63538         exceptions.
63539         (j0_test): Likewise.
63540         (j1_test): Likewise.
63541         (y0_test): Likewise.
63542         (y1_test): Likewise.
63544 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63546         * po/Makefile (libc.pot): Use UTF-8 charset.
63548 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63550         [BZ #14210]
63551         Suppress sign-conversion warning from FD_SET.
63552         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63553         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63554         not unsigned long int.
63555         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63557 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63559         [BZ #14050]
63560         [BZ #14117]
63561         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63562         __extern_always_inline instead of __extern_inline.
63563         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63564         (__signbit): Likewise.
63565         (__signbitl): Support C++ namespace.
63566         (lrintf): New inline function.
63567         (lrint): Likewise.
63568         (llrintf): Likewise.
63569         (llrint): Likewise.
63570         (fmaxf): Likewise.
63571         (fmax): Likewise.
63572         (fminf): Likewise.
63573         (fmin): Likewise.
63574         (rint): Likewise.
63575         (rintf): Likewise.
63576         (ceil): Likewise.
63577         (ceilf): Likewise.
63578         (floor): Likewise.
63579         (floorf): Likewise.
63580         (nearbyint): Likewise.
63581         (nearbyintf): Likewise.
63583 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63585         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63586         non-default versions.
63588 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63590         [BZ #14218]
63591         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63593 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63595         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63596         (FE_UPWARD, FE_DOWNWARD): Don't define.
63597         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63598         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63600         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63601         reading it.
63602         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63603         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63605 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63607         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63609         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63610         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63612 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63614         [BZ #14117]
63615         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63616         * sysdeps/i386/fpu/Implies: New file.
63617         * sysdeps/x86_64/fpu/Implies: Likewise.
63618         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63619         * sysdeps/x86/fpu/bits/fenv.h: This.
63621         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63622         __SSE_MATH__.
63624 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63626         [BZ #14134]
63627         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63628         character 0xffff that matches the last element of the
63629         conversion table.
63631 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63633         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63634         fmodl commit.
63636 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63639         values higher than 25.6283.
63641 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63643         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63644         subnormal exponent extraction and add some __builtin_expect.
63645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63646         Fix for subnormal mantissa calculation.
63648 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63650         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63651         cpu2 is -1 and errno is not ENOSYS.
63653 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63655         [BZ #14117]
63656         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63657         * sysdeps/x86/bits/string.h: This.
63658         * sysdeps/x86_64/bits/string.h: Removed.
63660         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63661         if not compiling for x86-64, but compiling for >= i486.
63663         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63664         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63666         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63667         New macro from Linux kernel 3.4.0.
63668         (FP_XSTATE_MAGIC2): Likewise.
63669         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63670         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63671         (struct _fpx_sw_bytes): New struct.
63672         (struct _xsave_hdr): Likewise.
63673         (struct _ymmh_state): Likewise.
63674         (struct _xstate): Likewise.
63676         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63677         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63678         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63679         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63680         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63681         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63683         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63684         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63685         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63686         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63687         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63688         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63690 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63692         [BZ #13743]
63693         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63694         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63695         (sysdep_headers): Include sys/platform/ppc.h.
63696         * sysdeps/powerpc/test-gettimebase.c: Test for
63697         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63698         * manual/Makefile (appendices): Include platform.texi.
63699         * manual/contrib.texi (Contributors): Update @node pointers.
63700         * manual/maint.texi (Maintenance): Likewise.
63701         (Platform): New node.
63702         * manual/platform.texi: New file.  Document the new features.
63704 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63705             Jakub Jelinek  <jakub@redhat.com>
63707         [BZ #14188]
63708         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63709         where __builtin_expect is unavailable.
63711 2012-06-03  David S. Miller  <davem@davemloft.net>
63713         * stdlib/longlong.h: Updated from GCC.
63715 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63717         [BZ #14042]
63718         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63719         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63720         __mcount_internal.
63721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63722         (GLIBC_2.16): Likewise.
63724 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63726         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63728 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63731         (default-abi): New variable.
63732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63733         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63734         variable.
63735         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63736         Likewise.
63737         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63738         Likewise.
63739         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63740         Likewise.
63742         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63743         definition.  Document in comment.
63745 2012-06-01  David S. Miller  <davem@davemloft.net>
63747         * stdlib/longlong.h: Updated from GCC.
63749 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63751         [BZ #14117]
63752         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63753         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63754         sys/debugreg.h sys/io.h here.
63755         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63756         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63757         sys/io.h.
63758         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63759         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63760         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63761         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63762         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63763         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63765         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63766         Define only if __x86_64__ is defined.
63768 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63770         [BZ #14048]
63771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63772         Use int64_t for variable i.
63773         * math/libm-test.inc (fmod_test): Add more tests.
63775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63776         z computation is not scheduled after fetestexcept.
63777         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63778         Use math_force_eval instead of asm to ensure calculation scheduled
63779         before exception test.
63780         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63781         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63783 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63786         computation is not scheduled after fetestexcept.
63788 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63790         [BZ #14117]
63791         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63792         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63794 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63796         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63797         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63799 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63801         [BZ #14117]
63802         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63803         <bits/wordsize.h>.
63804         (__WCHAR_MIN): Support __WORDSIZE == 64.
63805         (__WCHAR_MAX): Likewise.
63807         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63808         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63810         [BZ #14183]
63811         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63812         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63814         [BZ #14117]
63815         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63816         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63818         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63819         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63821         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63822         Defined to 1 if __x86_64__ isn't defined.
63823         (_STAT_VER_LINUX_OLD): New.
63824         (st_atime): Remove duplicate.
63825         (st_mtime): Likewise.
63826         (st_ctime): Likewise.
63828 2012-05-31  David S. Miller  <davem@davemloft.net>
63830         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63831         entries.
63833 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63835         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63836         gen-libm-test.pl.
63838         [BZ #14132]
63839         * elf/dl-reloc.c: Include <_itoa.h>.
63840         (_dl_reloc_bad_type): Remove use of INTUSE.
63841         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63842         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63843         * stdio-common/psiginfo.c (psiginfo): Likewise.
63844         * stdio-common/psignal.c (psignal): Likewise.
63845         * string/strsignal.c (strsignal): Likewise.
63846         * include/signal.h (_sys_siglist): Declare hidden proto.
63847         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63848         INTVARDEF with libc_hidden_data_def.
63849         * stdio-common/itoa-udigits.c: Likewise.
63850         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63851         (_itoa_lower_digits_internal): Remove declaration.
63852         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63853         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63854         (_sys_sigabbrev_internal): Remove aliases.
63855         (_sys_siglist): Define hidden alias.
63857 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63859         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63860         bits/sysctl.h.
63862 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63864         [BZ #14117]
63865         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63866         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63868         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63869         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63870         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63871         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63872         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63873         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63875         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63876         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63877         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63879         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63880         with __addr.
63881         (insw): Likewise.
63882         (insl): Likewise.
63883         (outsb): Likewise.
63884         (outsw): Likewise.
63885         (outsl): Likewise.
63887         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63888         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63889         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63891         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63892         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63893         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63894         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63895         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63896         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63898         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63899         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63901         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63902         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63904         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63905         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63906         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63908         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63909         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63910         to ...
63911         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63913         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63914         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63915         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63917         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63918         for x86-64.
63919         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63921 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63923         * math/math.h (M_El): Use two more decimal places.
63924         (M_LOG2El): Likewise.
63925         (M_LOG10El): Likewise.
63926         (M_LN2l): Likewise.
63927         (M_LN10l): Likewise.
63928         (M_PIl): Likewise.
63929         (M_PI_2l): Likewise.
63930         (M_PI_4l): Likewise.
63931         (M_1_PIl): Likewise.
63932         (M_2_PIl): Likewise.
63933         (M_2_SQRTPIl): Likewise.
63934         (M_SQRT2l): Likewise.
63935         (M_SQRT1_2l): Likewise.
63937 2012-05-31  David S. Miller  <davem@davemloft.net>
63939         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63940         values between float registers.
63941         * sysdeps/sparc/sparc64/memset.S: Likewise.
63942         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63944 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63946         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63947         -D_FORTIFY_SOURCE=1.
63948         (CPPFLAGS-tst-longjmp_chk.c): Define.
63949         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63950         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63951         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63952         CFLAGS-tst-wchar-h.c.
63954 2012-05-31  Marek Polacek  <polacek@redhat.com>
63956         [BZ #14132]
63957         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63958         __endmntent_internal): Remove declaration.
63959         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63960         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63961         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63963 2012-05-30  David S. Miller  <davem@davemloft.net>
63965         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63966         (___Q_simulate_exceptions): Use real FP ops rather than writing
63967         into the %fsr.
63968         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63969         Likewise.
63971 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63973         [BZ #14117]
63974         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63975         * sysdeps/x86/bits/xtitypes.h: This.
63977         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63978         * sysdeps/x86/bits/wordsize.h: This.
63980         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63981         * sysdeps/x86/bits/huge_vall.h: This.
63983         * sysdeps/i386/bits/select.h: Removed.
63984         * sysdeps/x86_64/bits/select.h: Renamed to ...
63985         * sysdeps/x86/bits/select.h: This.
63987         * sysdeps/i386/bits/setjmp.h: Removed.
63988         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63989         * sysdeps/x86/bits/setjmp.h: This.
63991         * sysdeps/i386/bits/mathdef.h: Removed.
63992         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63993         * sysdeps/x86/bits/mathdef.h: This.
63995 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63997         [BZ #14132]
63998         * include/sys/socket.h (__connect_internal)
63999         (__libc_sa_len_internal): Remove declaration.
64000         (__connect, __libc_sa_len): Declare hidden_proto.
64001         (SA_LEN): Remove use of INTUSE.
64002         * socket/connect.c: Add libc_hidden_def.
64003         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64004         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64005         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64006         alias.
64007         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64008         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64009         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64010         of adding _internal alias.
64012 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64014         [BZ #14117]
64015         * sysdeps/i386/bits/link.h: Removed.
64016         * sysdeps/i386/bits/linkmap.h: Likewise.
64017         * sysdeps/x86_64/bits/link.h: Renamed to ...
64018         * sysdeps/x86/bits/link.h: This.
64019         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64020         * sysdeps/x86/bits/linkmap.h: This.
64022         * sysdeps/i386/bits/endian.h: Removed.
64023         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64024         * sysdeps/x86/bits/endian.h: This.
64026         * sysdeps/i386/bits/byteswap.h: Removed.
64027         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64028         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64029         * sysdeps/x86/bits/byteswap.h: This.
64030         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64031         * sysdeps/x86/bits/byteswap-16.h: This.
64032         * sysdeps/i386/Implies: Add x86.
64033         * sysdeps/x86_64/Implies: Likewise.
64035 2012-05-30  David S. Miller  <davem@davemloft.net>
64037         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64038         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64039         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64040         (FP_TRAPPING_EXCEPTIONS): Define.
64041         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64042         (FP_TRAPPING_EXCEPTIONS): Define.
64043         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64044         subnormals only when inexact has been signalled or underflow
64045         exceptions are enabled.
64046         (_FP_PACK_CANONICAL): Likewise.
64048 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64050         [BZ #14183]
64051         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64052         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64054 2012-05-30  Richard Henderson  <rth@twiddle.net>
64056         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64057         with #ifndef NOT_IN_libc.
64059         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64060         marked to avoid plt entry.
64062 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64064         [BZ #14112]
64065         * Makeconfig (default-abi): New macro.
64066         (abi-includes): Likewise.
64067         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64068         $(abi-$(default-abi)-lib-soname) for soname if defined.
64069         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64070         abi-variants.
64071         * Makefile (installed-stubs): Likewise.
64072         * include/stubs-biarch.h: Removed.
64073         * scripts/lib-names.awk: Only handle one library at a time.
64074         * scripts/soversions.awk: Remove WORDSIZE support.
64075         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64076         entries.
64077         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64078         Removed.
64079         (syscall-list-default-condition): Likewise.
64080         (syscall-list-default-condition): Likewise.
64081         (syscall-list-includes): Likewise.
64082         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64083         syscall-list-* with abi-*.  Handle undefined abi-variants.
64084         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64085         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64086         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64087         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64088         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64089         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64090         Removed.
64091         (syscall-list-32-options): Likewise.
64092         (syscall-list-32-condition): Likewise.
64093         (syscall-list-64-options): Likewise.
64094         (syscall-list-64-condition): Likewise.
64095         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64096         macro.
64097         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64098         Renamed to ...
64099         (abi-*): This.
64100         (abi-64-ld-soname): New macro.
64101         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64102         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64103         Renamed to ...
64104         (abi-*): This.
64105         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64106         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64108 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64110         * sysdeps/unix/sysv/linux/kernel-features.h
64111         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64112         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64113         include <kernel-features.h>.
64114         [!__NR_ftruncate64]: Remove conditional code.
64115         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64116         [__NR_ftruncate64]: Make code unconditional.
64117         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64118         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64119         include <kernel-features.h>.
64120         [!__NR_ftruncate64]: Remove conditional code.
64121         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64122         [__NR_ftruncate64]: Make code unconditional.
64123         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64125         include <kernel-features.h>.
64126         [!__NR_ftruncate64]: Remove conditional code.
64127         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64128         [__NR_ftruncate64]: Make code unconditional.
64129         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64131         include <kernel-features.h>.
64132         [!__NR_ftruncate64]: Remove conditional code.
64133         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64134         [__NR_ftruncate64]: Make code unconditional.
64135         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64137         * configure.in (libc_cv_fpie): Weaken to a compile test using
64138         LIBC_TRY_CC_OPTION.
64139         * configure: Regenerated.
64141 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64147         Refreshed.
64148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64154         Refreshed.
64156 2012-05-27  David S. Miller  <davem@davemloft.net>
64158         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64159         (___Q_zero): New.
64160         (__Q_simulate_exceptions): Return void.  Change to simulate
64161         exceptions by writing into the %fsr.
64162         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64163         (__Qp_handle_exceptions): Likewise.
64164         (numbers): Delete.
64165         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64166         __Qp_handle_exceptions.
64167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64168         __Qp_handle_exceptions.
64169         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64170         as unused and give dummy FP_RND_NEAREST initializer.
64171         (FP_INHIBIT_RESULTS): Define.
64172         (___Q_simulate_exceptions): Update declaration.
64173         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64174         formatting.
64175         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64176         as unused and give dummy FP_RND_NEAREST initializer.
64177         (__Qp_handle_exceptions): Update declaration.
64178         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64179         formatting.
64181 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64183         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64184         the temporary FPU control word.
64185         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64186         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64187         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64188         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64189         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64190         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64191         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64192         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64193         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64194         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64195         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64197 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64199         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64200         fields.
64202 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64204         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64205         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64206         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64207         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64208         Likewise.
64209         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64210         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64211         Likewise.
64213 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64215         * po/h.po: Update from translation team.
64217 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64219         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64221         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64222         handling of denormals.
64223         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64224         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64225         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64226         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64227         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64228         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64229         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64230         Likewise.
64232 2012-05-26  Marek Polacek  <polacek@redhat.com>
64234         [BZ #14152]
64235         * math/libm-test.inc (fma_test): Don't always expect underflow
64236         exception.
64238 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64240         [BZ #12416]
64241         * elf/tst-execstack.c: Include stackinfo.h.
64242         (do_test): Adjust test case to ensure that pthread_getattr_np
64243         behaviour remains the same after marking stack executable.
64245 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64247         * sysdeps/unix/sysv/linux/kernel-features.h
64248         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64249         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64250         kernel-features.h.
64251         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64252         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64253         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64254         kernel-features.h.
64255         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64256         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64258 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64260         * configure.in: Define the default includes to being none.
64261         * configure: Regenerated.
64263 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64265         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64266         * sysdeps/x86_64/setjmp.S: Likewise.
64267         * sysdeps/i386/bsd-setjmp.S: Likewise.
64268         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64269         * sysdeps/i386/setjmp.S: Likewise.
64270         * sysdeps/i386/__longjmp.S: Likewise.
64271         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64272         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64274         * include/stap-probe.h: New file.
64275         * configure.in: Handle --enable-systemtap.
64276         * configure: Regenerated.
64277         * config.h.in (USE_STAP_PROBE): New #undef.
64278         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64279         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64280         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64282 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64284         [BZ #13717]
64285         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64286         to 2.4.0 where earlier.
64287         * sysdeps/unix/sysv/linux/configure: Regenerated.
64288         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64289         <kernel-features.h>.
64290         [__ASSUME_32BITUIDS]: Make code unconditional.
64291         [!__ASSUME_32BITUIDS]: Remove conditional code.
64292         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64293         <kernel-features.h>.
64294         [__ASSUME_32BITUIDS]: Make code unconditional.
64295         [!__ASSUME_32BITUIDS]: Remove conditional code.
64296         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64297         [__ASSUME_32BITUIDS]: Make code unconditional.
64298         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64299         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
64308         <kernel-features.h>.
64309         [__ASSUME_32BITUIDS]: Make code unconditional.
64310         [!__ASSUME_32BITUIDS]: Remove conditional code.
64311         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64312         <kernel-features.h>.
64313         [__ASSUME_32BITUIDS]: Make code unconditional.
64314         [!__ASSUME_32BITUIDS]: Remove conditional code.
64315         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64316         <kernel-features.h>.
64317         [__ASSUME_32BITUIDS]: Make code unconditional.
64318         [!__ASSUME_32BITUIDS]: Remove conditional code.
64319         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64320         <kernel-features.h>.
64321         [__ASSUME_32BITUIDS]: Make code unconditional.
64322         [!__ASSUME_32BITUIDS]: Remove conditional code.
64323         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64324         <kernel-features.h>.
64325         [__ASSUME_32BITUIDS]: Make code unconditional.
64326         [!__ASSUME_32BITUIDS]: Remove conditional code.
64327         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64328         <kernel-features.h>.
64329         [__ASSUME_32BITUIDS]: Make code unconditional.
64330         [!__ASSUME_32BITUIDS]: Remove conditional code.
64331         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64332         <kernel-features.h>.
64333         [__ASSUME_32BITUIDS]: Make code unconditional.
64334         [!__ASSUME_32BITUIDS]: Remove conditional code.
64335         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64336         <kernel-features.h>.
64337         [__ASSUME_32BITUIDS]: Make code unconditional.
64338         [!__ASSUME_32BITUIDS]: Remove conditional code.
64339         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64340         <kernel-features.h>.
64341         [__NR_setresgid] (__setresgid): Do not declare.
64342         [__ASSUME_32BITUIDS]: Make code unconditional.
64343         [!__ASSUME_32BITUIDS]: Remove conditional code.
64344         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64345         <kernel-features.h>.
64346         [__NR_setresuid] (__setresuid): Do not declare.
64347         [__ASSUME_32BITUIDS]: Make code unconditional.
64348         [!__ASSUME_32BITUIDS]: Remove conditional code.
64349         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64350         <kernel-features.h>.
64351         [__ASSUME_32BITUIDS]: Make code unconditional.
64352         [!__ASSUME_32BITUIDS]: Remove conditional code.
64353         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64354         <kernel-features.h>.
64355         [__ASSUME_32BITUIDS]: Make code unconditional.
64356         [!__ASSUME_32BITUIDS]: Remove conditional code.
64357         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64358         <kernel-features.h>.
64359         [__ASSUME_32BITUIDS]: Make code unconditional.
64360         [!__ASSUME_32BITUIDS]: Remove conditional code.
64361         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64362         <kernel-features.h>.
64363         [__ASSUME_32BITUIDS]: Make code unconditional.
64364         [!__ASSUME_32BITUIDS]: Remove conditional code.
64365         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64366         <kernel-features.h>.
64367         [__ASSUME_32BITUIDS]: Make code unconditional.
64368         [!__ASSUME_32BITUIDS]: Remove conditional code.
64369         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64370         <kernel-features.h>.
64371         [__ASSUME_32BITUIDS]: Make code unconditional.
64372         [!__ASSUME_32BITUIDS]: Remove conditional code.
64373         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64374         <kernel-features.h>.
64375         [__ASSUME_32BITUIDS]: Make code unconditional.
64376         [!__ASSUME_32BITUIDS]: Remove conditional code.
64377         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64378         <kernel-features.h>.
64379         [__ASSUME_32BITUIDS]: Make code unconditional.
64380         [!__ASSUME_32BITUIDS]: Remove conditional code.
64381         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64382         <kernel-features.h>.
64383         [__ASSUME_32BITUIDS]: Make code unconditional.
64384         [!__ASSUME_32BITUIDS]: Remove conditional code.
64385         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64386         <kernel-features.h>.
64387         [__ASSUME_32BITUIDS]: Make code unconditional.
64388         [!__ASSUME_32BITUIDS]: Remove conditional code.
64389         * sysdeps/unix/sysv/linux/kernel-features.h
64390         (__ASSUME_SETRESUID_SYSCALL): Remove.
64391         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64392         (__ASSUME_32BITUIDS): Likewise.
64393         (__ASSUME_LDT_WORKS): Likewise.
64394         (__ASSUME_O_DIRECTORY): Likewise.
64395         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64396         architecture but not kernel version.
64397         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64398         (__ASSUME_MMAP2_SYSCALL): Likewise.
64399         (__ASSUME_STAT64_SYSCALL): Likewise.
64400         (__ASSUME_IPC64): Likewise.
64401         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64402         <kernel-features.h>.
64403         [__ASSUME_32BITUIDS]: Make code unconditional.
64404         [!__ASSUME_32BITUIDS]: Remove conditional code.
64405         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64406         <kernel-features.h>.
64407         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64408         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64409         132096]: Remove conditional code.
64410         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64411         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64412         <kernel-features.h>.
64413         [__ASSUME_32BITUIDS]: Make code unconditional.
64414         [!__ASSUME_32BITUIDS]: Remove conditional code.
64415         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64416         <kernel-features.h>.
64417         [__ASSUME_32BITUIDS]: Make code unconditional.
64418         [!__ASSUME_32BITUIDS]: Remove conditional code.
64419         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64420         <kernel-features.h>.
64421         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64422         unconditional.
64423         (__setresgid): Do not declare.
64424         [__ASSUME_32BITUIDS]: Make code unconditional.
64425         [!__ASSUME_32BITUIDS]: Remove conditional code.
64426         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64427         <kernel-features.h>.
64428         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64429         unconditional.
64430         (__setresuid): Do not declare.
64431         [__ASSUME_32BITUIDS]: Make code unconditional.
64432         [!__ASSUME_32BITUIDS]: Remove conditional code.
64433         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64434         <kernel-features.h>.
64435         [__ASSUME_32BITUIDS]: Make code unconditional.
64436         [!__ASSUME_32BITUIDS]: Remove conditional code.
64437         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64438         <kernel-features.h>.
64439         [__ASSUME_32BITUIDS]: Make code unconditional.
64440         [!__ASSUME_32BITUIDS]: Remove conditional code.
64442 2012-05-25  Richard Henderson  <rth@twiddle.net>
64444         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64445         dl_hwcap to ifunc resolver.
64446         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64447         elf_ifunc_invoke.
64448         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64449         dl_hwcap to ifunc resolver.
64450         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64452 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64454         [BZ #14153]
64455         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64456         for |x| <= 2**-26, not 2**-57.
64457         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64458         exception.
64460 2012-05-24  Jeff Law  <law@redhat.com>
64462         * stdio-common/Makefile (tests): Add bug25.
64463         * stdio-common/bug25.c: New test.
64465 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64467         [BZ #13576]
64468         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64469         multiple of MALLOC_ALIGNMENT in size.
64470         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64472 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64474         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64475         Require >= 256.
64476         (FILENAME_MAX): Use macro-int-constant.
64477         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64478         (_IOFBF): Use macro-int-constant.
64479         (_IOLBF): Likewise.
64480         (_IONBF): Likewise.
64481         (SEEK_CUR): Likewise.
64482         (SEEK_END): Likewise.
64483         (SEEK_SET): Likewise.
64484         (TMP_MAX): Likewise.
64485         (EOF): Use macro-int-constant.  Require < 0.
64486         (NULL): Use macro-constant.  Require == 0.
64487         (stdin): Require type to be FILE *.
64488         (stdout): Likewise.
64489         (stderr): Likewise.
64490         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64491         macro-int-constant.
64492         (EXIT_SUCCESS): Likewise.
64493         (NULL): Use macro-constant.  Require == 0.
64494         (RAND_MAX): Use macro-int-constant.
64495         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64496         [C99-based standards] (strtof): Require function.
64497         [C99-based standards] (strtold): Likewise.
64498         [C99-based standards] (strtoll): Likewise.
64499         [C99-based standards] (strtoull): Likewise.
64500         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64501         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64502         [ISO || ISO99 || ISO11] (math.h): Likewise.
64503         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64504         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64505         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64507 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64509         [BZ #14132]
64510         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64511         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64512         * intl/dgettext.c (DCGETTEXT): Likewise.
64513         * intl/gettext.c (DCGETTEXT): Likewise.
64514         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64515         * posix/regex_internal.h (gettext): Likewise.
64516         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64517         Remove declaration.
64518         * include/argz.h (__argz_count_internal)
64519         (__argz_stringify_internal): Remove declaration.
64520         (__argz_count, __argz_stringify): Declare hidden proto.
64521         * intl/dcgettext.c: Remove use of INTDEF.
64522         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64523         * string/argz-stringify.c: Likewise.
64524         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64525         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64526         Declare hidden proto.
64527         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64528         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64529         Declare hidden proto.
64530         * include/stdio.h (__asprintf_internal): Don't declare.
64531         (__asprintf): Don't define as macro.  Declare hidden proto.
64532         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64533         (__fsetlocking): Declare hidden proto.
64534         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64535         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64536         hidden proto.
64537         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64538         (_IO_setlinebuf): Remove use of INTUSE.
64539         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64540         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64541         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64542         Remove declaration.
64543         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64544         (_IO_do_flush): Remove use of INTUSE.
64545         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64546         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64547         (_IO_adjust_column, _IO_least_wmarker)
64548         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64549         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64550         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64551         (_IO_default_doallocate, _IO_wdefault_doallocate)
64552         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64553         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64554         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64555         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64556         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64557         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64558         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64559         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64560         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64561         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64562         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64563         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64564         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64565         proto.
64566         (_IO_flush_all_internal, _IO_adjust_column_internal)
64567         (_IO_default_uflow_internal, _IO_default_finish_internal)
64568         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64569         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64570         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64571         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64572         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64573         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64574         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64575         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64576         (_IO_file_close_internal, _IO_file_close_it_internal)
64577         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64578         (_IO_file_init_internal, _IO_file_attach_internal)
64579         (_IO_file_fopen_internal, _IO_file_read_internal)
64580         (_IO_file_sync_internal, _IO_file_seek_internal)
64581         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64582         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64583         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64584         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64585         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64586         (_IO_list_all_internal, _IO_link_in_internal)
64587         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64588         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64589         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64590         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64591         (_IO_do_write_internal, _IO_padn_internal)
64592         (_IO_getline_info_internal, _IO_getline_internal)
64593         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64594         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64595         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64596         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64597         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64598         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64599         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64600         with libc_hidden_ver, remove use of INTUSE.
64601         * libio/genops.c: Likewise.
64602         * libio/freopen.c: Likewise.
64603         * libio/freopen64.c: Likewise.
64604         * libio/iofclose.c: Likewise.
64605         * libio/iofdopen.c: Likewise.
64606         * libio/iofflush.c: Likewise.
64607         * libio/iofflush_u.c: Likewise.
64608         * libio/iofgets.c: Likewise.
64609         * libio/iofgets_u.c: Likewise.
64610         * libio/iofopen.c: Likewise.
64611         * libio/iofopncook.c: Likewise.
64612         * libio/iofread.c: Likewise.
64613         * libio/iofread_u.c: Likewise.
64614         * libio/ioftell.c: Likewise.
64615         * libio/iofwrite.c: Likewise.
64616         * libio/iogetline.c: Likewise.
64617         * libio/iogets.c: Likewise.
64618         * libio/iogetwline.c: Likewise.
64619         * libio/iopadn.c: Likewise.
64620         * libio/iopopen.c: Likewise.
64621         * libio/ioseekoff.c: Likewise.
64622         * libio/ioseekpos.c: Likewise.
64623         * libio/iosetbuffer.c: Likewise.
64624         * libio/iosetvbuf.c: Likewise.
64625         * libio/ioungetc.c: Likewise.
64626         * libio/ioungetwc.c: Likewise.
64627         * libio/iovdprintf.c: Likewise.
64628         * libio/iovsprintf.c: Likewise.
64629         * libio/iovsscanf.c: Likewise.
64630         * libio/memstream.c: Likewise.
64631         * libio/obprintf.c: Likewise.
64632         * libio/oldfileops.c: Likewise.
64633         * libio/oldiofclose.c: Likewise.
64634         * libio/oldiofdopen.c: Likewise.
64635         * libio/oldiofopen.c: Likewise.
64636         * libio/oldiopopen.c: Likewise.
64637         * libio/oldstdfiles.c: Likewise.
64638         * libio/putc.c: Likewise.
64639         * libio/setbuf.c: Likewise.
64640         * libio/setlinebuf.c: Likewise.
64641         * libio/stdfiles.c: Likewise.
64642         * libio/strops.c: Likewise.
64643         * libio/vasprintf.c: Likewise.
64644         * libio/vscanf.c: Likewise.
64645         * libio/vsnprintf.c: Likewise.
64646         * libio/vswprintf.c: Likewise.
64647         * libio/wfiledoalloc.c: Likewise.
64648         * libio/wfileops.c: Likewise.
64649         * libio/wgenops.c: Likewise.
64650         * libio/wmemstream.c: Likewise.
64651         * libio/wstrops.c: Likewise.
64652         * libio/__fpurge.c: Likewise.
64653         * libio/__fsetlocking.c: Likewise.
64654         * assert/assert.c: Likewise.
64655         * debug/fgets_chk.c: Likewise.
64656         * debug/fgets_u_chk.c: Likewise.
64657         * debug/fread_chk.c: Likewise.
64658         * debug/fread_u_chk.c: Likewise.
64659         * debug/gets_chk.c: Likewise.
64660         * debug/obprintf_chk.c: Likewise.
64661         * debug/vasprintf_chk.c: Likewise.
64662         * debug/vdprintf_chk.c: Likewise.
64663         * debug/vsnprintf_chk.c: Likewise.
64664         * debug/vsprintf_chk.c: Likewise.
64665         * malloc/mtrace.c: Likewise.
64666         * misc/error.c: Likewise.
64667         * misc/syslog.c: Likewise.
64668         * stdio-common/asprintf.c: Likewise.
64669         * stdio-common/fxprintf.c: Likewise.
64670         * stdio-common/getw.c: Likewise.
64671         * stdio-common/isoc99_fscanf.c: Likewise.
64672         * stdio-common/isoc99_scanf.c: Likewise.
64673         * stdio-common/isoc99_vfscanf.c: Likewise.
64674         * stdio-common/isoc99_vscanf.c: Likewise.
64675         * stdio-common/isoc99_vsscanf.c: Likewise.
64676         * stdio-common/printf-prs.c: Likewise.
64677         * stdio-common/printf_fp.c: Likewise.
64678         * stdio-common/printf_fphex.c: Likewise.
64679         * stdio-common/printf_size.c: Likewise.
64680         * stdio-common/putw.c: Likewise.
64681         * stdio-common/scanf.c: Likewise.
64682         * stdio-common/sprintf.c: Likewise.
64683         * stdio-common/tmpfile.c: Likewise.
64684         * stdio-common/vfprintf.c: Likewise.
64685         * stdio-common/vfscanf.c: Likewise.
64686         * stdlib/strfmon_l.c: Likewise.
64687         * sunrpc/openchild.c: Likewise.
64688         * sunrpc/xdr_stdio.c: Likewise.
64689         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64690         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64692 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64694         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64696         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64697         in the third column, to generate for the shared library an IFUNC
64698         that uses _dl_vdso_vsym.
64699         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64700         * Makeconfig (object-suffixes-noshared): New variable.
64702         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64703         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64704         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64705         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64707         [BZ #14132]
64708         * include/sys/time.h (__gettimeofday): Remove macro.
64709         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64710         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64711         Remove INTDEF.
64712         (__gettimeofday): Add libc_hidden_def.
64713         (gettimeofday): Add libc_hidden_weak.
64714         * sysdeps/mach/gettimeofday.c: Likewise.
64715         * sysdeps/posix/gettimeofday.c: Likewise.
64716         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64717         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64719         (__gettimeofday_internal): Remove strong_alias.
64720         (__gettimeofday): Add libc_hidden_def.
64721         (gettimeofday): Add libc_hidden_weak.
64722         * sysdeps/unix/syscalls.list (gettimeofday):
64723         Remove __gettimeofday_internal alias.
64725 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64726             H.J. Lu  <hongjiu.lu@intel.com>
64728         [BZ #12495]
64729         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64730         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64731         (largebin_index_32_big): New.
64732         (largebin_index): Use it for 16-byte alignment.
64733         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64734         correction with front_misalign.
64736 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64740         Likewise.
64741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64742         Likewise.
64743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64744         Likewise.
64745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64746         Likewise.
64747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64748         Likewise.
64749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64750         Likewise.
64751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64752         Likewise.
64753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64754         Likewise.
64755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64756         Likewise.
64757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64758         Likewise.
64759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64760         Likewise.
64761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64762         Likewise.
64764         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64765         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64767 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64769         [BZ #10846]
64770         [BZ #14036]
64771         * math/libm-test.inc (exp_test): Add test from bug 14036.
64772         (pow_test): Add test from bug 10846.
64774         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64775         and other flags.
64776         (special_function): Do not include flags in test name.
64777         (parse_args): Likewise.
64778         * sysdeps/i386/fpu/libm-test-ulps: Update.
64779         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64780         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64781         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64784         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64785         exceptions.
64786         * math/libm-test.inc ("Philosophy"): Update comment about
64787         exception testing.
64788         (UNDERFLOW_EXCEPTION): New macro.
64789         (UNDERFLOW_EXCEPTION_OK): Likewise.
64790         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64791         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64792         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64793         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64794         (INVALID_EXCEPTION_OK): Update value.
64795         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64796         (OVERFLOW_EXCEPTION_OK): Likewise.
64797         (IGNORE_ZERO_INF_SIGN): Likewise.
64798         (test_exceptions): Handle underflow exceptions.
64799         (acos_test): Update for underflow exception expectations.
64800         (cexp_test): Likewise.
64801         (clog_test): Likewise.
64802         (clog10_test): Likewise.
64803         (csqrt_test): Likewise.
64804         (ctan_test): Likewise.
64805         (ctanh_test): Likewise.
64806         (exp_test): Likewise.
64807         (exp10_test): Likewise.
64808         (exp2_test): Likewise.
64809         (expm1_test): Likewise.
64810         (fma_test): Likewise.
64811         (j0_test): Likewise.
64812         (jn_test): Likewise.
64813         (nexttoward_test): Likewise.
64814         (pow_test): Likewise.
64815         (scalbn_test): Likewise.
64816         (scalbln_test): Likewise.
64817         (tan_test): Likewise.
64818         (y1_test): Likewise.
64819         * sysdeps/i386/fpu/libm-test-ulps: Update.
64820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64822 2012-05-23  David S. Miller  <davem@davemloft.net>
64824         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64825         (__libc_sigaction): Remove unused local variables.
64827 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64829         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64831 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64833         mktime: avoid signed integer overflow
64834         * time/mktime.c (__mktime_internal): Do not mishandle the case
64835         where diff == INT_MIN.
64837         mktime: simplify computation of average
64838         * time/mktime.c (ranged_convert): Use new time_t_avg function
64839         instead of rolling our own (probably-slower) code.
64841         mktime: do not assume signed right shift propagates sign bit
64842         * time/mktime.c (isdst_differ): New static function.
64843         (__mktime_internal): No need to normalize tm_isdst now.
64844         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64845         tm_isdst values.
64847         mktime: merge another wrapv change from gnulib
64848         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64849         from some compilers.
64851         mktime: remove incorrect attempt at unusual arithmetics
64852         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64853         The code didn't really work on such machines anyway.
64854         (TYPE_MINIMUM): Assume two's complement.
64855         (twos_complement_arithmetic): Verify that long_int and time_t
64856         are two's complement (or unsigned, in the latter case).
64858         mktime: check signed shifts on long_int and time_t, too
64859         * time/mktime.c (SHR): Check that shifts work as desired
64860         on the types long_int and time_t too, as SHR is used on
64861         such types.
64863         mktime: do not assume 'long' is wide enough
64864         * time/mktime.c (verify): Move decl up.
64865         (long_int): New type.
64866         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64867         to remove assumption in the code that 'long' is wide enough to
64868         store year values.  This assumption is not true on x32 and on
64869         some non-glibc platforms.
64871         mktime: merge wrapv change from gnulib
64872         * time/mktime.c (WRAPV): New macro.
64873         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64874         (guess_time_tm, __mktime_internal): Do not assume that signed
64875         integer overflow wraps around; modern compilers generate code
64876         where this assumption is no longer valid.
64878 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64880         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64881         Replace "jmp L(pseudo_end)" with "ret".
64882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64883         Likewise.
64885 2012-05-23  Andreas Jaeger  <aj@suse.de>
64887         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64888         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64890 2012-05-23  Andreas Jaeger  <aj@suse.de>
64891             Maximilian Attems  <max@stro.at>
64893         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64894         New macros.
64896 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64898         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64899         code so that pseudo_end is just ret and the stack pointer is
64900         correct also for static library in error case.
64902 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64904         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64905         move to syscalls.list.
64906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64911         * manual/install.texi (Running make install): Do not mention Linux
64912         kernel version for which pt_chown is not needed.
64913         (Linux): Do not mention problems with nscd with 2.0 kernels.
64914         * INSTALL: Regenerated.
64916 2012-05-23  Andreas Jaeger  <aj@suse.de>
64918         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64919         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64920         macro.
64921         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64922         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64923         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64924         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64925         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64926         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64927         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64928         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64929         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64930         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64931         * sysdeps/unix/sysv/linux/bits/in.h
64932         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64934 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64936         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64937         (PREPARE_VERSION): Just use assert instead, it will be elided
64938         under [NDEBUG] anyway.
64940 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64942         * sysdeps/unix/sysv/linux/Makefile: Include
64943         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64944         (sysdep_routines): Remove sysctl.
64945         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64946         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64947         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64948         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64949         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64951 2012-05-22  Andreas Jaeger  <aj@suse.de>
64953         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64954         that pseudo_end is just ret and the stack pointer is correct also
64955         for static library in error case.
64957 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64959         [BZ #14122]
64960         * nss/nsswitch.c (defconfig_entries): New variable.
64961         (__nss_database_lookup): Don't leak defconfig entries.
64962         (nss_parse_service_list): Don't leak on error paths.
64963         (free_database_entries): New function.
64964         (free_defconfig): New function.
64965         (free_mem): Move common code to free_database_entries.
64967 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64969         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64970         Add arch_prctl.
64971         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64973         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64974         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64976         New macro.
64977         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64978         (INTERNAL_SYSCALL_TYPES): Likewise.
64979         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64980         (LOAD_REGS_TYPES_[1-6]): Likewise.
64981         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64982         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64984 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64986         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64987         copysignl for GLIBC_2_0.
64988         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64989         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64990         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64991         logbl for GLIBC_2_0.
64992         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64993         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64995 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64997         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64998         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65000         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65001         Use "neg %eax".
65003         * time/mktime.c: Update copyright years.
65005 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65007         mktime: merge comment-quoting-style change from gnulib
65008         * time/mktime.c: Quote 'like this' in comments.
65009         The GNU coding standards suggest that we no longer quote `like this',
65010         as "`" and "'" are typically rendered asymmetrically nowadays.
65011         The typical gnulib style is to quote 'like this' when quoting
65012         code, and "like this" when quoting English.
65014         * time/mktime.c (compile-command): Add "-I.".
65016         mktime: merge mktime-internal.h change from gnulib
65017         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65019         mktime: merge time_r change from gnulib
65020         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65022         mktime: merge DEBUG change from gnulib
65023         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65024         case system <time.h> has a #define.
65026         mktime: merge <sys/types.h> change from gnulib
65027         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65028         since <time.t> is now guaranteed to define time_t.
65030         mktime: merge HAVE_CONFIG_H change from gnulib
65031         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65033 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65036         Use "neg %eax".
65038         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65039         __rlim_t cast.
65040         (struct rusage): Use anonymous union to pad each field to
65041         __syscall_slong_t.
65043 2012-05-21  David S. Miller  <davem@davemloft.net>
65045         * Makefules (o-iterator): Remove .s cases.
65046         (compile-command.s): Delete.
65047         (COMPILE.s): Delete.
65048         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65050 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65052         * configure.in (libc_cv_predef_stack_protector): Only consider
65053         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65054         * configure: Regenerated.
65056 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65059         New macro.  Use R*LP on int and pointer.
65060         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65061         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65062         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65063         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65065         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65066         [__WORDSIZE_TIME64_COMPAT32] instead of
65067         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65068         (struct utmp): Likewise.
65069         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65070         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65071         Renamed to ...
65072         (__WORDSIZE_TIME64_COMPAT32): This.
65073         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65074         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65075         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65076         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65077         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65078         (__WORDSIZE_TIME64_COMPAT32): New macro.
65080 2012-05-21  Andreas Jaeger  <aj@suse.de>
65082         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65083         only if [SHARED]. Add prototype for __wcschr_ia32.
65085 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65087         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65088         of %rbp unmolested in the jmp_buf while mangling the low bits.
65089         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65090         unmolested high bits of %rbp while demangling the low bits.
65091         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65093 2012-05-21  Andreas Jaeger  <aj@suse.de>
65095         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65096         * sunrpc/svc_simple.c: Use it for registerrpc.
65097         * sunrpc/xcrypt.c: Use it for passwd2des.
65099         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65101 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65103         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65104         Don't define if [__SYSCALL_WORDSIZE != 32].
65105         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65106         New macro.
65108 2012-05-21  Bruno Haible  <bruno@clisp.org>
65109             Andreas Jaeger  <aj@suse.de>
65111         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65112         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65113         inptr and inend for must_buffer_ch.
65114         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65115         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65116         * stdio-common/Makefile (tests): Remove bug15.
65117         (bug15-ENV): Remove macro.
65118         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65119         anymore.
65121 2012-05-19  Andreas Jaeger  <aj@suse.de>
65122             Roland McGrath  <roland@hack.frob.com>
65124         * manual/contrib.texi: Completely rewritten. It contains now an
65125         alphabetical list of contributors and their contributions.
65127 2012-05-21  Richard Henderson  <rth@twiddle.net>
65129         * misc/getauxval.c (__getauxval): Use unsigned long int.
65130         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65131         (getauxval): Use unsigned long int.
65133 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65135         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65137 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65139         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65140         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65141         __alignof__ (long double).
65143 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65147 2012-05-20  Richard Henderson  <rth@twiddle.net>
65149         * misc/getauxval.c: New file.
65150         * misc/sys/auxv.h: New file.
65151         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65152         (routines): Add getauxval.
65153         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65154         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65155         * elf/dl-sysdep.c (_dl_auxv): Remove.
65156         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65157         * elf/dl-support.c (_dl_auxv): New variable.
65158         (_dl_aux_init): Initialize it.
65159         * manual/startup.texi (Auxiliary Vector): New node.
65160         * sysdeps/generic/bits/hwcap.h: New file.
65161         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65162         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65163         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65164         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65165         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65168         Update.
65169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65178 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65182 2012-05-19  David S. Miller  <davem@davemloft.net>
65184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65186 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65188         [BZ #14123]
65189         * math/s_ccosh.c: Include <float.h>
65190         (__ccosh): Avoid internal overflow calculating sinh and cosh
65191         values before multiplying by sin and cos values.
65192         * math/s_ccoshf.c: Likewise.
65193         * math/s_ccoshl.c: Likewise.
65194         * math/s_csin.c: Likewise.
65195         * math/s_csinf.c: Likewise.
65196         * math/s_csinl.c: Likewise.
65197         * math/s_csinh.c: Likewise.
65198         * math/s_csinhf.c: Likewise.
65199         * math/s_csinhl.c: Likewise.
65200         * math/libm-test.inc (ccos_test): Add more tests.
65201         (ccosh_test): Likewise.
65202         (csin_test): Likewise.
65203         (csinh_test): Likewise.
65204         * sysdeps/i386/fpu/libm-test-ulps: Update.
65205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65207 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65209         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65210         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65212         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65214 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65216         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65217         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65218         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65219         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65220         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65221         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65222         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65223         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65224         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65225         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65226         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65227         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65228         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65229         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65230         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65231         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65232         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65233         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65234         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65235         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65236         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65237         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65238         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65239         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65240         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65241         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65242         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65243         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65244         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65245         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65246         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65248 2012-05-18  Andreas Jaeger  <aj@suse.de>
65250         * csu/.gitignore: Delete.
65252 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65254         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65255         (timex): Use __syscall_slong_t.
65257 2012-05-18  Andreas Jaeger  <aj@suse.de>
65258             Carlos O'Donell  <carlos_odonell@mentor.com>
65260         * manual/install.texi (Configuring and compiling): Update
65261         description about files modified in the source directory.
65262         * INSTALL: Regenerated.
65264 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65266         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65267         value.  Use "or" to set return value to -1.
65268         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65269         negate return value.
65271 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65273         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65274         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65275         failure if the compiler has Graphite support disabled.
65276         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65277         Likewise.
65278         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65279         (CFLAGS-memmove.c): Likewise.
65280         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65281         Likewise.
65283 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65285         * sysdeps/x86_64/x32/_itoa.h: New file.
65287         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65288         getdents system call only if kernel and user dirents have the
65289         same d_ino and d_off.
65291         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65292         LLONG_MAX != LONG_MAX.
65293         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65294         (_fitoa_word): Likewise.
65296         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65297         years.
65298         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65299         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65300         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65302         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65303         include <bits/wordsize.h>.  Check __x86_64__ instead of
65304         __WORDSIZE.
65305         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65306         if __x86_64__ is defined.  Use anonymous union on fpstate.
65308         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65309         anonymous union.
65311 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65313         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65314         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65315         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65316         Refer to _rtld_local_ro instead of _rtld_global_ro.
65317         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65318         Likewise.
65319         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65320         Likewise.
65321         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65322         Likewise.
65323         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65324         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65325         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65327         [BZ #10882]
65328         * sysdeps/powerpc/powerpc32/dl-machine.c
65329         (__elf_machine_runtime_setup) [PROF]: Don't reference
65330         _dl_prof_resolve.
65332 2012-05-18  Andreas Jaeger  <aj@suse.de>
65334         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65335         function only available for GCCs before 3.4 since GCC 3.4
65336         introduced a builtin.
65337         (lrint): Likewise.
65338         (llrintf): Likewise.
65339         (llrint): Likewise.
65340         (fmaxf): Likewise.
65341         (fmax): Likewise.
65342         (fminf): Likewise.
65343         (fmin): Likewise.
65344         (rint): Likewise.
65345         (rintf): Likewise.
65346         (nearbyint): Likewise.
65347         (nearbyintf): Likewise.
65348         (ceil): Likewise.
65349         (ceilf): Likewise.
65350         (floor): Likewise.
65351         (floorf): Likewise.
65353 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65355         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65356         on both fields and cast pointer to __syscall_ulong_t.
65358         * bits/types.h (__fsword_t): New type.
65359         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65360         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65361         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65362         (__FSWORD_T_TYPE): Likewise.
65363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65364         (__FSWORD_T_TYPE): Likewise.
65365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65366         (__FSWORD_T_TYPE): Likewise.
65367         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65368         (__FSWORD_T_TYPE): Likewise.
65369         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65370         __SWORD_TYPE with __fsword_t.
65371         (statfs64): Likewise.
65373 2012-05-17  David S. Miller  <davem@davemloft.net>
65375         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65377 2012-05-17  Andreas Jaeger  <aj@suse.de>
65379         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65380         warning.
65382 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65384         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65386 2012-05-17  Andreas Jaeger  <aj@suse.de>
65388         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65389         when it is used.
65391 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65393         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65395 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65397         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65398         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65400 2012-05-17  Andreas Jaeger  <aj@suse.de>
65401             Carlos O'Donell  <carlos_odonell@mentor.com>
65403         [BZ #14059]
65404         * sysdeps/x86_64/multiarch/init-arch.h
65405         (bit_YMM_Usable): Rename to...
65406         (bit_AVX_Usable): ... this.
65407         (bit_FMA4_Usable): New macro.
65408         (bit_XMM_state): New macro.
65409         (bit_YMM_state): New macro.
65410         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65411         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65412         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65413         (CPUID_OSXSAVE): New macro.
65414         (CPUID_AVX): New macro.
65415         (CPUID_FMA4): New macro.
65416         (index_YMM_Usable): Rename to...
65417         (index_AVX_Usable): ... this.
65418         (HAS_AVX): Use HAS_ARCH_FEATURE.
65419         (HAS_FMA4): Likewise.
65420         (HAS_YMM_USABLE): Remove.
65421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65422         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65423         are present.
65424         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65425         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65426         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65427         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65428         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65430 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65432         * math/libm-test.c: Support platforms without multiple rounding modes.
65433         * math/bug-nextafter.c: Support platforms without FP exceptions.
65434         * math/bug-nexttoward.c: Likewise.
65435         * math/test-fenv.c: Likewise.
65436         * math/test-misc.c: Likewise.
65437         * stdlib/bug-getcontext.c: Likewise.
65439 2012-05-17  Andreas Jaeger  <aj@suse.de>
65441         * manual/examples/search.c (critter_cmp): Change signature to
65442         avoid warnings.
65443         * manual/string.texi (Collation Functions): Likewise.
65445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65447         * bits/types.h: Fold copyright years.
65448         * bits/typesizes.h: Likewise.
65449         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65450         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65453         * time/time.h: Likewise.
65455 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65457         [BZ #208]
65458         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65459         in instead of returning them.  Return void.
65460         (__libc_mallinfo): Accumulate over all arenas.
65461         (__malloc_stats): Adjust for change in int_mallinfo interface.
65463 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65465         [BZ #10375]
65466         * configure.in (NM): Add AC_CHECK_TOOL for it.
65467         (libc_extra_cflags): New substituted variable.
65468         Check for -fstack-protector being used implicitly.
65469         * configure: Regenerated.
65470         * config.make.in (config-extra-cflags): New variable,
65471         gets @libc_extra_cflags@.
65472         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65474         [BZ #10375]
65475         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65476         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65477         * configure: Regenerated.
65478         * config.make.in (CPPUNDEFS): New substituted variable.
65479         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65480         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65481         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65483 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65485         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65486         (mq_attr): Use __syscall_slong_t.
65488 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65490         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65491         Check __x86_64__ instead of __WORDSIZE.
65492         (_STAT_VER_LINUX): Likewise.
65493         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65494         __syscall_ulong_t and __syscall_slong_t.
65495         (stat64): Likewise.
65497 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65499         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65501 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65503         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65505 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65507         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65508         __syscall_ulong_t.
65510         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65511         include <bits/wordsize.h>.  Check __x86_64__ instead of
65512         __WORDSIZE.
65513         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65514         defined.
65515         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65517         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65518         include <bits/wordsize.h>.  Check __x86_64__ instead of
65519         __WORDSIZE.
65520         (user_regs_struct): Use "__extension__ unsigned long long"
65521         instead of "unsigned long" if __x86_64__ is defined.
65522         (user): Likewise.  Pad after pointer field if __ILP32__ is
65523         defined.
65525 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65527         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65528         versions 5 to 9.
65529         * configure: Regenerated.
65530         * manual/install.texi (texinfo): Increase version requirement to
65531         4.5 or later.
65532         * INSTALL: Regenerated.
65534         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65538         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65540         * sysdeps/x86_64/x32/ffs.c: New file.
65542         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65543         __syscall_ulong_t.
65544         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65545         defined.  Use __syscall_ulong_t.
65546         (shminfo): Use __syscall_ulong_t.
65547         (shm_info): Likewise.
65549         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65550         __syscall_ulong_t.
65552         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65553         <bits/wordsize.h>.
65554         (msgqnum_t): Use __syscall_ulong_t.
65555         (msglen_t): Likewise.
65556         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65557         __syscall_ulong_t.
65559         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65560         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65562         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65564         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65565         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65567         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65568         __syscall_slong_t.
65570         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65571         include <bits/wordsize.h>.  Check __x86_64__ instead of
65572         __WORDSIZE.
65574         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65575         "unsigned long long int" if __x86_64__ is defined.
65576         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65578         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65579         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65580         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65582         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65583         <stdint.h>.
65584         (GET_PC): Cast to uintptr_t first.
65585         (GET_FRAME): Likewise.
65586         (GET_STACK): Likewise.
65588         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65589         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65590         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65591         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65592         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65593         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65594         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65595         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65596         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65597         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65598         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65599         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65600         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65601         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65602         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65603         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65604         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65605         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65606         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65607         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65608         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65609         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65610         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65611         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65612         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65613         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65614         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65615         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65616         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65618 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65620         * Makerules (+depfiles): Also collect depfiles from .oS in
65621         $(extra-objs).
65622         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65623         .oS, $(libnldbl-routines)).
65625         * Makerules (native-compile-mkdep-flags): Define.
65626         * sunrpc/Makefile (extra-objs): Add $(addprefix
65627         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65628         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65629         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65630         calling $(make-target-directory).
65632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65634         * bits/types.h (__snseconds_t): Removed.
65635         * time/time.h (struct timespec): Replace __snseconds_t with
65636         __syscall_slong_t.
65637         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65638         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65639         Likewise.
65640         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65641         (__SNSECONDS_T_TYPE): Likewise.
65642         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65643         (__SNSECONDS_T_TYPE): Likewise.
65644         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65645         (__SNSECONDS_T_TYPE): Likewise.
65647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65649         * sysdeps/mach/hurd/bits/typesizes.h
65650         (__SYSCALL_SLONG_TYPE): New macro.
65651         (__SYSCALL_ULONG_TYPE): Likewise.
65653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65655         * bits/types.h (__syscall_slong_t): New type.
65656         (__syscall_ulong_t): Likewise.
65658         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65659         (__SYSCALL_ULONG_TYPE): Likewise.
65660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65661         (__SYSCALL_SLONG_TYPE): Likewise.
65662         (__SYSCALL_ULONG_TYPE): Likewise.
65663         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65664         (__SYSCALL_SLONG_TYPE): Likewise.
65665         (__SYSCALL_ULONG_TYPE): Likewise.
65666         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65667         (__SYSCALL_SLONG_TYPE): Likewise.
65668         (__SYSCALL_ULONG_TYPE): Likewise.
65670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65672         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65673         Add sigaltstack-offsets.sym.
65674         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65675         <sigaltstack-offsets.h>.
65676         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65677         longjmp_msg pointer.
65678         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65679         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65680         signal stack.
65681         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65683 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65685         * elf/stackguard-macros.h: Remove file.
65686         * sysdeps/generic/stackguard-macros.h: New file.
65687         * sysdeps/i386/stackguard-macros.h: Likewise.
65688         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65689         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65690         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65691         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65692         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65693         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65694         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65695         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65696         <elf/stackguard-macros.h>.
65698         [BZ #14109]
65699         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65700         __aligned__ in attribute.
65701         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65702         (gregset_t): Likewise.
65704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65706         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65707         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65708         * sysdeps/x86_64/x32/Implies-after: New file.
65710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65712         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65713         and access return value for _dl_profile_fixup.  Use R10_LP to
65714         load frame size.
65716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65722         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65723         * sysdeps/x86_64/x32/sysdep.h: New file.
65725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65727         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65728         * sysdeps/x86_64/setjmp.S: Likewise.
65730 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65732         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65733         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65734         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65736         remove unused global constant.
65738 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65740         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65741         include of <not-cancel.h>.
65743 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65745         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65747 2012-05-15  Jeff Law  <law@redhat.com>
65748             Andreas Jaeger  <aj@suse.de>
65750         [BZ #13594]
65751         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65752         out from...
65753         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65754         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65755         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65756         code changing __hst_map_handle.map.
65758 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65760         * configure.in (sysnames): Look for Implies-before and Implies-after
65761         files.
65762         * configure: Regenerated.
65764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65766         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65767         8-byte data alignment with LP_SIZE alignment.
65769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65771         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65772         into R10_LP.
65774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65776         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65780         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65781         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65782         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65783         Likewise.
65784         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65788         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65789         (stackinfo_sub_sp): Likewise.
65791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65793         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65794         RAX_LP.
65796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65798         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65799         into R*_LP.
65801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65803         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65804         sizes into R*_LP.
65806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65808         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65812         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65813         into R11_LP and load __x86_64_shared_cache_size_half into
65814         R8_LP.
65816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65818         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65819         R8_LP.
65821 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65824         logb for POWER7.
65825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65826         logbf for POWER7.
65827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65828         logbl for POWER7.
65829         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65830         powerpc32/power7/fpu/s_logb.c via #include.
65831         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65832         powerpc32/power7/fpu/s_logbf.c via #include.
65833         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65834         powerpc32/power7/fpu/s_logbl.c via #include.
65836 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65838         * README.libm: Remove file.
65840 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65842         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65843         count for x32.  Use R*_LP and omit operand-size suffix.
65845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65847         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65848         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65849         * sysdeps/x86_64/x32/shlib-versions: New file.
65851 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65853         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65854         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65855         Use _dl_fatal_printf instead.
65857 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65859         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65860         set if not set by the user.  Do not allow for being unset.
65861         * sysdeps/unix/sysv/linux/configure: Regenerated.
65863 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65865         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65866         the `q' suffix from lea and replace .quad with ASM_ADDR.
65868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65871         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65872         instead of $17.
65873         (PTR_DEMANGLE): Likewise.
65875 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65877         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65878         (LP_OP): Likewise.
65879         (ASM_ADDR): Likewise.
65880         (RAX_LP): Likewise.
65881         (RBP_LP): Likewise.
65882         (RBX_LP): Likewise.
65883         (RCX_LP): Likewise.
65884         (RDI_LP): Likewise.
65885         (RSI_LP): Likewise.
65886         (RSP_LP): Likewise.
65887         (R8_LP): Likewise.
65888         (R9_LP): Likewise.
65889         (R10_LP): Likewise.
65890         (R10_LP): Likewise.
65891         (R11_LP): Likewise.
65892         (R12_LP): Likewise.
65893         (R13_LP): Likewise.
65894         (R14_LP): Likewise.
65895         (R15_LP): Likewise.
65897 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65899         * sysdeps/x86_64/x32/dl-machine.h: New file.
65901 2012-05-14  Andreas Jaeger  <aj@suse.de>
65903         * manual/Makefile (subdir): Remove export of subdir.
65904         (all): Remove target.
65905         (.PHONY): Remove all from list.
65906         (mkinstalldirs): Remove.
65907         (.PHONY): Remove installdirs from list.
65908         ($(inst_infodir)/libc.info): Use make-target-directory.
65909         (installdirs): Remove.
65910         (subdir_%): Remove.
65911         (glibc-targets): Remove.
65912         (lib): Remove.
65913         (stubs): Remove.
65914         ($(objpfx)stubs ../po/manual.pot): Remove.
65915         ($(objpfx)stamp%): Remove.
65916         (make-target-directory): Remove.
65917         (subdir_install): Remove.
65918         (routines): Remove.
65919         (aux): Remove.
65920         (sources): Remove.
65921         (objects): Remove.
65922         (headers): Remove.
65924         [BZ #13750]
65925         * manual/.gitignore: Remove, it's not needed anymore.
65926         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65927         all files in it.
65928         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65929         directory.
65930         (texis): Renamed to $(objpfx)texis.
65931         (texis-path): New, contains path to generated files.
65932         (chapters.%): Use texis-path for complete path, add extra argument
65933         libc-texinfo.sh.
65934         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65935         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65936         (summary,texi, stamp-summary): Use complete path of
65937         files. Generate files in build dir.
65938         (dir-add.texi): Build in build dir.
65939         (libm-err.texi,stamp-libm-err): Likewise.
65940         (version.texi, stamp-version): Likewise.
65941         (.%c.texi): Likewise.
65942         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65943         (mostlyclean): Remove target.
65944         (realclean): Remove target.
65945         (generated): Add new variable with contents from mostlyclean and
65946         realclean, remove entries duplicated in common-mostlyclean, add
65947         stamp-libm-err and stamp-version.
65948         (generated-dirs): Add libc directory.
65949         ($(inst_infodir)/libc.info): Install files from build dir.
65951         * manual/install.texi (Configuring and compiling): Adjust since
65952         the info files are not part of the tar ball anymore.
65954 2012-05-14  Andreas Jaeger  <aj@suse.de>
65956         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65957         variable.
65959 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65961         [BZ #13717]
65962         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65963         to 2.2.0 where earlier.
65964         * sysdeps/unix/sysv/linux/configure: Regenerated.
65965         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65966         Remove conditional code.
65967         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65968         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65969         Remove conditional code.
65970         [!__NR_lchown]: Likewise.
65971         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65972         [__NR_lchown]: Likewise.
65973         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65974         comment referencing __ASSUME_LCHOWN_SYSCALL.
65975         * sysdeps/unix/sysv/linux/i386/sigaction.c
65976         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65977         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65978         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65979         Remove conditional code.
65980         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65981         (__protocol_available): Remove #if 0 code.
65982         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65983         conditional code.
65984         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65985         * sysdeps/unix/sysv/linux/kernel-features.h
65986         (__ASSUME_GETCWD_SYSCALL): Don't define.
65987         (__ASSUME_REALTIME_SIGNALS): Likewise.
65988         (__ASSUME_PREAD_SYSCALL): Likewise.
65989         (__ASSUME_PWRITE_SYSCALL): Likewise.
65990         (__ASSUME_POLL_SYSCALL): Likewise.
65991         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65992         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65993         non-SPARC.
65994         (__ASSUME_SIOCGIFNAME): Don't define.
65995         (__ASSUME_MSG_NOSIGNAL): Likewise.
65996         (__ASSUME_SENDFILE): Define unconditionally.
65997         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65998         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65999         conditional code.
66000         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66001         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66002         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66003         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66004         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66005         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66006         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66008         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66011         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66014         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66020         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66021         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66023         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66026         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66029         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66031         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66032         Remove conditional code.
66033         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66034         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66035         Remove conditional code.
66036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66037         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66038         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66039         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66040         Remove conditional code.
66041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66042         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66043         Remove conditional code.
66044         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66045         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66046         Remove conditional code.
66047         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66048         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66049         Remove conditional code.
66050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66051         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66052         Remove conditional code.
66053         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66054         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66055         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66057         * sysdeps/unix/sysv/linux/sigaction.c
66058         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66059         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66060         * sysdeps/unix/sysv/linux/sigpending.c
66061         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66062         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66063         * sysdeps/unix/sysv/linux/sigprocmask.c
66064         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66065         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66066         * sysdeps/unix/sysv/linux/sigsuspend.c
66067         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66068         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66069         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66070         (__libc_missing_rt_sigs): Remove.
66071         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66072         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66073         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66074         Remove conditional code.
66075         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66076         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66077         return 1.
66078         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66079         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66080         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66081         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66083 2012-05-14  Andreas Jaeger  <aj@suse.de>
66085         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66086         it's not used in glibc.
66087         (__coshm1): Likewise.
66088         (__acosh1p): Likewise.
66089         (__sgn): Likewise.
66091         * manual/string.texi (Copying and Concatenation): Add missing
66092         variable in concat example.
66093         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66095 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66097         [BZ #14103]
66098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66099         __builtin_clzl with __builtin_clzll.
66101 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66103         [BZ #14104]
66104         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66105         libc_freeres_ptr.
66107 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66109         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66110         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66111         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66112         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66114 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66116         * NEWS: Update ia64 info.
66118 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66120         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66121         used as bcopy.
66123 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66125         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66126         * sysdeps/unix/syscalls.list (dup3): Likewise.
66127         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66128         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66130 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66132         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66133         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66135 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66137         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66138         thread pointer.
66139         (TLS_IE): Use mov/add instead of movq/addq to load thread
66140         pointer.
66141         (TLS_GD_PREFIX): New.
66142         (TLS_GD): Use it.
66144 2012-05-11  David S. Miller  <davem@davemloft.net>
66146         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66147         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66148         (_FPU_SETCW): Likewise.
66150 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66152         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66153         is 32-byte aligned.
66155 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66157         [BZ #11837]
66158         * iconvdata/gb18030.c: Update tables.
66159         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66160         characters specially.
66161         (BODY for TO_LOOP): Add encoding of missing ranges.
66163 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66165         [BZ #13673]
66166         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66167         * sysdeps/mach/hurd/dup3.c: Likewise.
66168         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66169         * sysdeps/powerpc/memmove.c:: Likewise.
66171 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66174         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66176 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66178         * elf/elf.h (R_X86_64_RELATIVE64): New.
66179         (R_X86_64_NUM): Updated.
66180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66181         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66182         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66183         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66184         tst-quad1pie tst-quad2pie
66185         (modules-names): Add tst-quadmod1 tst-quadmod2.
66186         ($(objpfx)tst-quad1): New dependency.
66187         ($(objpfx)tst-quad2): Likewise.
66188         ($(objpfx)tst-quad1pie): Likewise.
66189         ($(objpfx)tst-quad2pie): Likewise.
66190         * sysdeps/x86_64/tst-quad1.c: New file.
66191         * sysdeps/x86_64/tst-quad1pie.c: New file.
66192         * sysdeps/x86_64/tst-quad2.c: Likewise.
66193         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66194         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66195         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66196         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66197         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66199 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66201         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66202         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66203         * streams/stropts.h (t_scalar_t): Define type.
66205         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66206         (_PATH_PRESERVE): Set to "/var/lib".
66207         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66209         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66210         instead of int.
66212         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66213         if __dir_mkfile succeeded.
66215         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66216         checking for _hurd_dtablesize.  Unlock it right after having
66217         finished _hurd_dtable allocation.
66219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66221         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66222         * sysdeps/mach/hurd/configure: Regenerated.
66223         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66224         special-casing to...
66225         * sysdeps/gnu/configure.in: ... this new file.
66226         * sysdeps/unix/sysv/linux/configure: Regenerated.
66227         * sysdeps/gnu/configure: New generated file.
66229         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66230         for Linux: use nsec instead of usec, as well as:
66231         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66232         members of type struct timespec.
66233         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66234         New macros.
66235         (struct stat64): Likewise.
66236         (_STATBUF_ST_NSEC): New macro.
66237         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66239         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66240         __strtoul_internal rather than strtoul.
66242 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66244         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66245         and reject them.
66247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66249         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66250         which preserves existing values.
66251         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66253 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66255         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66256         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66257         greater than FD_SETSIZE.
66259 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66261         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66262         allocated, call __vm_protect to finish enabling the existing space, and
66263         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66264         allocate the remainder.
66266 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66268         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66269         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66273         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66274         sysdeps/mach/hurd/readlink.c.
66276         * posix/tst-sysconf.c (posix_options): Only use
66277         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66278         _POSIX_SYNCHRONIZED_IO when they are defined
66279         * sysdeps/mach/hurd/bits/posix_opt.h:
66280         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66281         (_XOPEN_REALTIME): Undefine macro.
66282         (_XOPEN_REALTIME_THREADS): Undefine macro.
66283         (_XOPEN_SHM): Undefine macro.
66284         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66285         macro to -1.
66286         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66287         macro to -1.
66288         (_POSIX_ASYNC_IO): Undefine macro.
66289         (_POSIX_PRIORITIZED_IO): Undefine macro.
66290         (_POSIX_SPIN_LOCKS): Define macro to -1.
66292         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66293         SA_NODEFER, SA_RESETHAND.
66294         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66295         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66296         F_DUPFD_CLOEXEC.
66298 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66300         * elf/Makefile (pldd-modules): Define unconditionally.
66302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66304         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66308         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66309         Return ENOENT when name is empty.
66310         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66312 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66314         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66316         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66320         Fix mlock in all cases except non-readable pages.
66321         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66322         instead of VM_PROT_ALL as parameter to __vm_wire function.
66324         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66325         (__mkdir): When path is `/', just fail with EEXIST.
66326         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66330         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66331         <sys/uio.h> (for writev).
66332         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66333         and <sys/param.h> (for MIN).
66335 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66337         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66338         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66339         if interrupted.
66341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66343         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66344         Depend on against $(link-rpcuserlibs).
66346 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66348         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66349         (__libc_stack_end): Do not use attribute_relro.
66350         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66351         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66352         to libthread-provided value.
66353         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66354         attribute_relro.
66356 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66358         [BZ #3748]
66359         * bits/libc-lock.h (__libc_once_get): New macro.
66360         * sysdeps/mach/bits/libc-lock.h: Likewise.
66361         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66362         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66363         instead of using implementation details.
66365         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66366         * libio/freopen.c: Likewise.
66367         * libio/freopen64.c: Likewise.
66368         * misc/syslog.c: Likewise.
66369         * nscd/connections.c: Likewise.
66370         * nscd/netgroupcache.c: Likewise.
66371         * sysdeps/posix/getcwd.c: Likewise.
66373 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66375         * math/w_ilogbf.c: Add #include <limits.h>.
66377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66379         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66380         path instead of returning without unlocking.
66382         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66383         immediate-write ioctls.
66384         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66388         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66389         __builtin_frame_address instead of making assumptions about the
66390         location of the return address relative to DATA.  Force early load of
66391         the return address.
66392         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66393         __builtin_frame_address.
66395         dup3 for GNU Hurd.
66396         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66397         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66398         implement dup3 and do some further code clean-ups.
66399         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66400         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66404         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66406         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66407         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66408         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66409         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66410         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66411         d->port.lock.
66413         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66414         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66415         when handler == SIG_ERR, not when handler != SIG_ERR.
66417 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66419         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66420         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66421         definitions.
66423         accept4 for GNU Hurd.
66424         * include/sys/socket.h (__libc_accept4): New prototype.
66425         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66426         to implement __libc_accept4.
66427         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66428         __libc_accept4.
66429         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66431         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66432         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66433         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66434         signal-defines.sym.
66436 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66438         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66440 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66442         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66443         assertion on O_CLOEXEC flag.
66444         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66445         * hurd/intern-fd.c: Likewise.
66446         * hurd/port2fd.c: Likewise.
66448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66450         [BZ #3906]
66451         * bits/in.h (IPV6_PKTINFO): Define new macro.
66452         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66454 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66456         [BZ #13954]
66457         [BZ #13955]
66458         [BZ #13956]
66459         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66460         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66461         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66462         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66463         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66464         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66465         * math/libm-test.inc (logb_test) : Additional logb tests.
66467 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66468             Andreas Jaeger  <aj@suse.de>
66470         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66471         * configure: Regenerated.
66472         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66473         * config.make.in (link-obsolete-rpc): New substituted variable.
66474         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66475         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66476         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66477         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66478         so that libc.a contains the symbols.
66479         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66480         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66481         * sunrpc/auth_none.c: Likewise.
66482         * sunrpc/auth_unix.c: Likewise.
66483         * sunrpc/authdes_prot.c: Likewise.
66484         * sunrpc/authuxprot.c: Likewise.
66485         * sunrpc/clnt_gen.c: Likewise.
66486         * sunrpc/clnt_perr.c: Likewise.
66487         * sunrpc/clnt_raw.c: Likewise.
66488         * sunrpc/clnt_simp.c: Likewise.
66489         * sunrpc/clnt_tcp.c: Likewise.
66490         * sunrpc/clnt_udp.c: Likewise.
66491         * sunrpc/clnt_unix.c: Likewise.
66492         * sunrpc/des_crypt.c: Likewise.
66493         * sunrpc/des_soft.c: Likewise.
66494         * sunrpc/get_myaddr.c: Likewise.
66495         * sunrpc/key_call.c: Likewise.
66496         * sunrpc/key_prot.c: Likewise.
66497         * sunrpc/netname.c: Likewise.
66498         * sunrpc/pm_getmaps.c: Likewise.
66499         * sunrpc/pm_getport.c: Likewise.
66500         * sunrpc/pmap_clnt.c: Likewise.
66501         * sunrpc/pmap_prot.c: Likewise.
66502         * sunrpc/pmap_prot2.c: Likewise.
66503         * sunrpc/pmap_rmt.c: Likewise.
66504         * sunrpc/publickey.c: Likewise.
66505         * sunrpc/rpc_cmsg.c: Likewise.
66506         * sunrpc/rpc_common.c: Likewise.
66507         * sunrpc/rpc_dtable.c: Likewise.
66508         * sunrpc/rpc_prot.c: Likewise.
66509         * sunrpc/rpc_thread.c: Likewise.
66510         * sunrpc/rtime.c: Likewise.
66511         * sunrpc/svc.c: Likewise.
66512         * sunrpc/svc_auth.c: Likewise.
66513         * sunrpc/svc_raw.c: Likewise.
66514         * sunrpc/svc_run.c: Likewise.
66515         * sunrpc/svc_tcp.c: Likewise.
66516         * sunrpc/svc_udp.c: Likewise.
66517         * sunrpc/svc_unix.c: Likewise.
66518         * sunrpc/svcauth_des.c: Likewise.
66519         * sunrpc/xcrypt.c: Likewise.
66520         * sunrpc/xdr.c: Likewise.
66521         * sunrpc/xdr_array.c: Likewise.
66522         * sunrpc/xdr_float.c: Likewise.
66523         * sunrpc/xdr_intXX_t.c: Likewise.
66524         * sunrpc/xdr_mem.c: Likewise.
66525         * sunrpc/xdr_rec.c: Likewise.
66526         * sunrpc/xdr_ref.c: Likewise.
66527         * sunrpc/xdr_sizeof.c: Likewise.
66528         * sunrpc/xdr_stdio.c: Likewise.
66530 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66532         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66533         change.  Update copyright years.
66535 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66537         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66539 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66540             Joseph Myers  <joseph@codesourcery.com>
66541             Paul Pluzhnikov  <ppluzhnikov@google.com>
66543         [BZ #14012]
66544         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66545         requiring rpcgen.
66546         [cross-compiling] (extra-libs): Likewise.
66547         [cross-compiling] (extra-libs-others): Likewise.
66548         [cross-compiling] (librpcsvc-routines): Likewise.
66549         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66550         [cross-compiling] (omit-deps): Likewise.
66551         (sunrpc-CPPFLAGS): New variable.
66552         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66553         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66554         (cross-rpcgen-objs): New variable.
66555         (extra-objs): Append $(cross-rpcgen-objs).
66556         ($(cross-rpcgen-objs)): New rule.
66557         ($(objpfx)cross-rpcgen): Likewise.
66558         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66559         comment.
66560         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66561         ($(objpfx)x%.stmp): Likewise.
66562         * sunrpc/proto.h [IS_IN_build] (_): Define.
66563         [IS_IN_build] (_libc_intl_domainname): Likewise.
66565 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66567         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66568         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66569         and R_X86_64_TPOFF64.
66571 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66573         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66574         sysdeps/unix/sysv/syscalls.list.
66575         (stime): Likewise.
66576         (utime): Likewise.
66577         * sysdeps/unix/sysv/syscalls.list: Remove file.
66579 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66581         [BZ #3440]
66582         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66583         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66584         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66585         (__LC_IDENTIFICATION): Make these macros useful in #if
66586         expressions, as required by C99.
66588 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66590         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66591         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66592         after this.
66594 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66596         * stdlib/longlong.h: Updated from GCC.
66598 2012-05-09  Andreas Jaeger  <aj@suse.de>
66600         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66601         default is first entry.
66602         (run_mode): Set type.
66603         (main): Remove informal message about syslog.
66604         (options): Fix typo.
66606         [BZ #14053]
66607         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66608         to asm.
66609         (lrint): Likewise.
66610         (llrintf): Likewise.
66611         (llrint): Likewise.
66612         (rint): Likewise.
66613         (rintf): Likewise.
66614         (nearbyint): Likewise.
66615         (nearbyintf): Likewise.
66617 2012-05-09  Andreas Jaeger  <aj@suse.de>
66618             Pedro Alves  <palves@redhat.com>
66620         * nscd/nscd.c (run_mode): Use enum.
66621         (main): Cleanup coding style issue.
66623 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66624             Andreas Jaeger  <aj@suse.de>
66626         * nscd/nscd.c (go_background): Replaced with...
66627         (run_mode): ... this.
66628         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66629         (options): Add -F --foreground.
66630         (main): Implement it.
66631         (parse_opt): Parse it.
66633 2012-05-09  Andreas Jaeger  <aj@suse.de>
66635         [BZ #14083]
66636         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66637         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66638         -Wconversion warning.
66639         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66640         Likewise.
66642 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66644         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66645         == 0.
66646         (LC_ALL): Use macro-int-constant.
66647         (LC_COLLATE): Likewise.
66648         (LC_CTYPE): Likewise.
66649         (LC_MESSAGES): Likewise.
66650         (LC_MONETARY): Likewise.
66651         (LC_NUMERIC): Likewise.
66652         (LC_TIME): Likewise.
66653         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66654         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66655         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66656         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66657         Specify type.
66658         [C99-based standards] (float_t): Expect type.
66659         [C99-based standards] (double_t): Expect type.
66660         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66661         type.
66662         [C99-based standards] (HUGE_VALL): Likewise.
66663         [C99-based standards] (INFINITY): Likewise.
66664         [C99-based standards] (NAN): Likewise.
66665         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66666         [C99-based standards] (FP_NAN): Likewise.
66667         [C99-based standards] (FP_NORMAL): Likewise.
66668         [C99-based standards] (FP_SUBNORMAL): Likewise.
66669         [C99-based standards] (FP_ZERO): Likewise.
66670         [C99-based standards] (FP_FAST_FMA): Use
66671         optional-macro-int-constant.  Specify type.  Require == 1.
66672         [C99-based standards] (FP_FAST_FMAF): Likewise.
66673         [C99-based standards] (FP_FAST_FMAL): Likewise.
66674         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66675         [C99-based standards] (FP_ILOGBNAN): Likewise.
66676         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66677         Specify type.
66678         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66679         [C99-based standards] (math_errhandling): Specify type.
66680         [ISO99 || ISO11] (signgam): Do not allow.
66681         [non-C99-based standards] (copysignf): Do not allow.
66682         [non-C99-based standards] (exp2f): Likewise.
66683         [non-C99-based standards] (log2f): Likewise.
66684         [non-C99-based standards] (modff): Allow.
66685         [non-C99-based standards] (erff): Do not allow.
66686         [non-C99-based standards] (erfcf): Likewise.
66687         [non-C99-based standards] (gammaf): Likewise.
66688         [non-C99-based standards] (hypotf): Likewise.
66689         [non-C99-based standards] (j0f): Likewise.
66690         [non-C99-based standards] (j1f): Likewise.
66691         [non-C99-based standards] (jnf): Likewise.
66692         [non-C99-based standards] (lgammaf): Likewise.
66693         [non-C99-based standards] (tgammaf): Likewise.
66694         [non-C99-based standards] (y0f): Likewise.
66695         [non-C99-based standards] (y1f): Likewise.
66696         [non-C99-based standards] (ynf): Likewise.
66697         [non-C99-based standards] (isnanf): Likewise.
66698         [non-C99-based standards] (acoshf): Likewise.
66699         [non-C99-based standards] (asinhf): Likewise.
66700         [non-C99-based standards] (atanhf): Likewise.
66701         [non-C99-based standards] (cbrtf): Likewise.
66702         [non-C99-based standards] (expm1f): Likewise.
66703         [non-C99-based standards] (ilogbf): Likewise.
66704         [non-C99-based standards] (log1pf): Likewise.
66705         [non-C99-based standards] (logbf): Likewise.
66706         [non-C99-based standards] (nextafterf): Likewise.
66707         [non-C99-based standards] (remainderf): Likewise.
66708         [non-C99-based standards] (rintf): Likewise.
66709         [non-C99-based standards] (scalbf): Likewise.
66710         [non-C99-based standards] (copysignl): Likewise.
66711         [non-C99-based standards] (exp2l): Likewise.
66712         [non-C99-based standards] (log2l): Likewise.
66713         [non-C99-based standards] (modfl): Allow.
66714         [non-C99-based standards] (erfl): Do not allow.
66715         [non-C99-based standards] (erfcl): Likewise.
66716         [non-C99-based standards] (gammal): Likewise.
66717         [non-C99-based standards] (hypotl): Likewise.
66718         [non-C99-based standards] (j0l): Likewise.
66719         [non-C99-based standards] (j1l): Likewise.
66720         [non-C99-based standards] (jnl): Likewise.
66721         [non-C99-based standards] (lgammal): Likewise.
66722         [non-C99-based standards] (tgammal): Likewise.
66723         [non-C99-based standards] (y0l): Likewise.
66724         [non-C99-based standards] (y1l): Likewise.
66725         [non-C99-based standards] (ynl): Likewise.
66726         [non-C99-based standards] (isnanl): Likewise.
66727         [non-C99-based standards] (acoshl): Likewise.
66728         [non-C99-based standards] (asinhl): Likewise.
66729         [non-C99-based standards] (atanhl): Likewise.
66730         [non-C99-based standards] (cbrtl): Likewise.
66731         [non-C99-based standards] (expm1l): Likewise.
66732         [non-C99-based standards] (ilogbl): Likewise.
66733         [non-C99-based standards] (log1pl): Likewise.
66734         [non-C99-based standards] (logbl): Likewise.
66735         [non-C99-based standards] (nextafterl): Likewise.
66736         [non-C99-based standards] (remainderl): Likewise.
66737         [non-C99-based standards] (rintl): Likewise.
66738         [non-C99-based standards] (scalbl): Likewise.
66739         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66740         [non-C99-based standards] (FP_*): Do not allow.
66741         [C99-based standards] (FP_*): Change to
66742         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66743         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66744         allow.
66745         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66746         (SIG_ERR): Likewise.
66747         [X/Open-based standards] (SIG_HOLD): Likewise.
66748         (SIG_IGN): Likewise.
66749         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66750         positive value.
66751         (SIGFPE): Likewise.
66752         (SIGILL): Likewise.
66753         (SIGINT): Likewise.
66754         (SIGSEGV): Likewise.
66755         (SIGTER): Likewise.
66756         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66757         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66758         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66759         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66760         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66761         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66762         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66763         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66764         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66765         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66766         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66767         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66768         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66769         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66770         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66771         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66772         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66773         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66774         [X/Open-based standards] (SIGTRAP): Likewise.
66775         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66776         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66777         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66778         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66779         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66780         allow.
66782 2012-05-08  Ian Wienand  <ianw@vmware.com>
66784         [BZ #14080]
66785         * time/tzset.c (__tzset_parse_tz): Update default rules for
66786         daylight time changes in the Energy Policy Act of 2005.
66788 2012-05-09  Andreas Jaeger  <aj@suse.de>
66790         [BZ #13983]
66791         * elf/ldconfig.c (parse_conf): Change string to make clear that
66792         ldconfig only issued a warning if ld.so.conf does not exist.
66794 2012-05-08  David S. Miller  <davem@davemloft.net>
66796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66797         movxtod instead of popping the value on the stack.
66799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66801 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66803         * config.h.in: Add HAVE_ARM_PCS_VFP.
66805 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66807         [BZ #13979]
66808         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66809         checking but the checks are disabled for any reason.
66811 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66813         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66814         and ELF64_R_TYPE with ELFW(R_TYPE).
66816 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66818         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66819         (ulimit): Likewise.
66821         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66822         (settimeofday): Likewise.
66824 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66826         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66827         a struct th_u2 inside the union, and move tu_block/tu_code into
66828         a new th_u3 union of tu_block/tu_code inside of that.  Move
66829         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66830         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66831         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66832         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66833         (th_stuff): Change to th_u1.tu_stuff.
66834         (th_data): Define.
66835         (th_msg): Change to th_u1.th_u2.tu_data.
66837 2012-05-07  David S. Miller  <davem@davemloft.net>
66839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66841         [BZ #14074]
66842         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66843         (SETUP_PIC_REG): Use it.
66844         (SETUP_PIC_REG_LEAF): Use it.
66846 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66848         [BZ #13885]
66849         [BZ #13923]
66850         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66851         USE_AS_EXPM1L.
66852         (EXPL_FINITE): Likewise.
66853         (FLDLOG): Likewise.
66854         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66855         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66856         e_expl.S.
66857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66858         USE_AS_EXPM1L.
66859         (EXPL_FINITE): Likewise.
66860         (FLDLOG): Likewise.
66861         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66862         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66863         e_expl.S.
66864         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66865         test of -max_value argument for long double.
66866         * sysdeps/i386/fpu/libm-test-ulps: Update.
66867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66869 2012-05-06  David S. Miller  <davem@davemloft.net>
66871         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66872         quad soft-float symbols whose references which are compiler
66873         generated.
66874         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66876 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66878         [BZ #13884]
66879         [BZ #13914]
66880         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66881         USE_AS_EXP10L.
66882         (EXPL_FINITE): Likewise.
66883         (FLDLOG): Likewise.
66884         (c0): Likewise.
66885         (c1): Likewise.
66886         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66887         Adjust comments for base varying.
66888         (__expl_finite): Change alias to EXPL_FINITE.
66889         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66890         e_expl.S.
66891         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66892         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66893         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66894         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66896         USE_AS_EXP10L.
66897         (EXPL_FINITE): Likewise.
66898         (FLDLOG): Likewise.
66899         (c0): Likewise.
66900         (c1): Likewise.
66901         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66902         Adjust comments for base varying.
66903         (__expl_finite): Change alias to EXPL_FINITE.
66904         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66905         tests for bugs.
66906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66908         [BZ #14064]
66909         * math/libm-test.inc (check_float_internal): Correct ulp
66910         calculation for subnormal expected results.
66912 2012-05-06  Andreas Jaeger  <aj@suse.de>
66914         * Makeconfig (+math-flags): New, set to -frounding-math.
66915         (+cflags): Add +math-flags so that all of glibc gets compiled with
66916         it.
66918         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66920 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66922         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66923         Disable one test.
66925         [BZ #13787]
66926         [BZ #13922]
66927         [BZ #14036]
66928         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66929         (__ieee754_expl): Allow for and saturate large arguments.
66930         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66931         (u_threshold): Likewise.
66932         (__exp): Call __ieee754_exp before checking for overflow and
66933         underflow.
66934         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66935         (u_threshold): Likewise.
66936         (__expf): Call __ieee754_expf before checking for overflow and
66937         underflow.
66938         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66939         (u_threshold): Likewise.
66940         (__expl): Call __ieee754_expl before checking for overflow and
66941         underflow.
66942         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66943         (__ieee754_expl): Allow for and saturate large arguments.
66944         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66945         missing overflow exception on overflow.
66946         (expm1_test): Do not allow missing overflow exception on overflow.
66948         * sysdeps/i386/fpu/e_expl.c: Move to ...
66949         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66950         rather than using inline asm.
66951         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66952         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66953         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66955         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66956         (nice): Likewise.
66957         (poll): Likewise.
66958         (signal): Likewise.
66959         (time): Likewise.
66960         (times): Likewise.
66962 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66964         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66965         sysdeps/unix/common/syscalls.list.
66966         (fchmod): Likewise.
66967         (fchown): Likewise.
66968         (ftruncate): Likewise.
66969         (getrusage): Likewise.
66970         (gettimeofday): Likewise.
66971         (setpgid): Likewise.
66972         (setregid): Likewise.
66973         (setreuid): Likewise.
66974         (sigaction): Likewise.
66975         (truncate): Likewise.
66976         (vhangup): Likewise.
66977         * sysdeps/unix/common/syscalls.list: Remove file.
66978         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66979         * sysdeps/unix/sysv/linux/Implies: Likewise.
66981 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66983         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66985         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66986         Moved to ...
66987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66988         Here.
66989         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66990         to ...
66991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66992         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66993         to ...
66994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66995         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66996         to ...
66997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66998         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66999         to ...
67000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67001         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67002         to ...
67003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67004         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67005         to ...
67006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67007         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67008         to ...
67009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67010         Here.
67011         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67012         to ...
67013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67014         Here.
67015         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67016         to ...
67017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67018         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67019         Moved to ...
67020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67021         Here.
67022         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67023         to ...
67024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67026 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67028         * sysdeps/unix/common/bits/dirent.h: Remove file.
67029         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67031         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67032         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67033         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67034         * sysdeps/unix/bsd/isatty.c: Likewise.
67035         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67036         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67037         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67039 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67041         [BZ #13563]
67042         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67043         long double comparison inaccuracies.
67044         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67047 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67049         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67050         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67052 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67054         [BZ #14049]
67055         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67056         nonzero digits before rounding a hex value.
67057         * stdlib/tst-strtod.c (tests): Add another test.
67059 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67061         * sysdeps/s390/fpu/libm-test-ulps: Update.
67063 2012-05-03  Andreas Jaeger  <aj@suse.de>
67065         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67066         does not get optimized out.
67067         (malloc_opt_barrier): New.
67069 2012-05-03  Andreas Jaeger  <aj@suse.de>
67070             Roland McGrath  <roland@hack.frob.com>
67072         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67073         intermediate file deletion.
67074         (generated): Add .symlist files.
67076 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67078         [BZ #13775]
67079         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67080         Redirect under this condition.
67081         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67082         [__USE_GNU] (__dprintf_chk): Not under this condition.
67083         [__USE_GNU] (__vdprintf_chk): Likewise.
67084         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67085         under this condition.
67086         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67087         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67088         [__USE_XOPEN2K8] (vdprintf): Likewise.
67089         [__USE_GNU] (__dprintf_chk): Not under this condition.
67090         [__USE_GNU] (__vdprintf_chk): Likewise.
67091         [__USE_GNU] (dprintf): Likewise.
67092         [__USE_GNU] (vdprintf): Likewise.
67094 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67096         * elf/Makefile (common-generated): Set this instead of generated for
67097         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67098         $(all-built-dso)-derived lists.
67100 2012-05-03  Andreas Jaeger  <aj@suse.de>
67102         * sysdeps/i386/fpu/libm-test-ulps: Update.
67104         * FAQ: Removed.
67105         * FAQ.in: Likewise.
67106         * scripts/gen-FAQ.pl: Likewise.
67107         * manual/install.texi (Installation): Point to online location of
67108         FAQ.
67109         * Makefile (files-for-dist): Remove FAQ.
67110         (FAQ): Remove.
67112 2012-05-02  Allan McRae  <allan@archlinux.org>
67114         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67115         (LDFLAGS-reldepmod5.so): Likewise.
67116         (LDFLAGS-reldep6mod1.so): Likewise.
67117         (LDFLAGS-reldep6mod4.so): Likewise.
67118         (LDFLAGS-reldep8mod3.so): Likewise.
67119         (LDFLAGS-unload4mod1.so): Likewise.
67120         (LDFLAGS-unload4mod2.so): Likewise.
67121         (LDFLAGS-tst-initorder): Likewise.
67122         (LDFLAGS-tst-initordera2.so): Likewise.
67123         (LDFLAGS-tst-initordera3.so): Likewise.
67124         (LDFLAGS-tst-initordera4.so): Likewise.
67125         (LDFLAGS-tst-initorderb2.so): Likewise.
67126         (LDFLAGS-noload): Likewise.
67127         (LDFLAGS-next): Likewise.
67128         (LDFLAGS-order2mod1.so): Likewise.
67129         (LDFLAGS-order2mod2.so): Likewise.
67130         (LDFLAGS-tst-initorder2): Likewise.
67131         (LDFLAGS-tst-initorder2a.so): Likewise.
67132         (LDFLAGS-tst-initorder2b.so): Likewise.
67133         (LDFLAGS-tst-initorder2c.so): Likewise.
67134         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67136 2012-05-02  David S. Miller  <davem@davemloft.net>
67138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67140 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67142         [BZ #14055]
67143         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67145 2012-05-02  Andreas Jaeger  <aj@suse.de>
67147         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67148         since we manipulate rounding mode.
67149         (CPPFLAGS-test-idouble.c): Likewise.
67150         (CPPFLAGS-test-ifloat.c): Likewise.
67151         (CFLAGS-test-ldouble.c): Likewise.
67152         (CFLAGS-test-double.c): Likewise.
67153         (CFLAGS-test-float.c): Likewise.
67154         (CFLAGS-test-misc.c): Likewise.
67155         (CFLAGS-test-test-fenv.c): Likewise.
67157 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67159         [BZ #2550]
67160         [BZ #2570]
67161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67162         comparisons to determine direction to adjust input.
67164 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67166         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67167         output to the target.
67169         * scripts/localplt.awk: New file.
67170         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67171         (check-localplt-CFLAGS): Variable removed.
67172         ($(all-built-dso:=.jmprel)): New static pattern rule.
67173         (generated): Add those targets.
67174         (localplt-built-dso): New variable.
67175         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67177         * elf/check-localplt.c: File removed.
67179         * scripts/check-execstack.awk: New file.
67180         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67181         (check-execstack-CFLAGS): Variable removed.
67182         ($(objpfx)check-execstack.h): Target removed.
67183         ($(objpfx)execstack-default): New target.
67184         (generated): Add that instead of check-execstack.h.
67185         ($(all-built-dso:=.phdr)): New static pattern rule.
67186         (generated): Add those targets.
67187         * elf/check-execstack.c: File removed.
67189         * scripts/check-textrel.awk: New file.
67190         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67191         (check-textrel-CFLAGS): Variable removed.
67192         (all-built-dso): Use := to define.o
67193         ($(all-built-dso:=.dyn)): New static pattern rule.
67194         (generated): Add those targets.
67195         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67196         * config.make.in (READELF): New substituted variable.
67197         * elf/check-textrel.c: File removed.
67199 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67201         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67202         allow.
67203         * conform/data/ctype.h-data [C99-based standards] (isblank):
67204         Expect function.
67205         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67206         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67207         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67208         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67209         Specify type.  Require positive value.
67210         (EILSEQ): Likewise.
67211         (ERANGE): Likewise.
67212         [ISO || POSIX] (EILSEQ): Do not expect.
67213         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67214         Specify type.  Require positive value.
67215         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67216         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67217         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67218         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67219         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67220         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67221         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67222         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67223         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67224         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67225         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67226         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67227         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67228         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67229         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67230         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67231         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67232         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67233         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67234         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67235         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67236         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67237         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67238         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67239         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67240         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67241         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67242         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67243         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67244         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67245         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67246         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67247         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67248         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67249         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67250         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67251         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67252         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67253         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67254         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67255         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67256         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67257         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67258         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67259         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67260         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67261         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67262         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67263         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67264         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67265         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67266         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67267         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67268         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67269         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67270         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67271         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67272         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67273         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67274         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67275         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67276         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67277         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67278         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67279         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67280         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67281         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67282         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67283         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67284         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67285         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67286         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67287         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67288         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67289         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67290         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67291         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67292         Require >= 2.
67293         (FLT_ROUNDS): Expect as macro, not constant.
67294         (FLT_MANT_DIG): Use macro-int-constant.
67295         (DBL_MANT_DIG): Likewise.
67296         (LDBL_MANT_DIG): Likewise.
67297         (FLT_DIG): Likewise.
67298         (DBL_DIG): Likewise.
67299         (LDBL_DIG): Likewise.
67300         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67301         (DBL_MIN_EXP): Likewise.
67302         (LDBL_MIN_EXP): Likewise.
67303         (FLT_MAX_EXP): Use macro-int-constant.
67304         (DBL_MAX_EXP): Likewise.
67305         (LDBL_MAX_EXP): Likewise.
67306         (FLT_MAX_10_EXP): Likewise.
67307         (DBL_MAX_10_EXP): Likewise.
67308         (LDBL_MAX_10_EXP): Likewise.
67309         (FLT_MAX): Use macro-constant.
67310         (DBL_MAX): Likewise.
67311         (LDBL_MAX): Likewise.
67312         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67313         (DBL_EPSILON): Likewise.
67314         (LDBL_EPSILON): Likewise.
67315         (FLT_MIN): Likewise.
67316         (DBL_MIN): Likewise.
67317         (LDBL_MIN): Likewise.
67318         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67319         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67320         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67321         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67322         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67323         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67324         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67325         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67326         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67327         [ISO11] (FLT_TRUE_MIN): Likewise.
67328         [ISO11] (LDBL_TRUE_MIN): Likewise.
67329         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67330         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67331         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67332         (SCHAR_MAX): Likewise.
67333         (UCHAR_MAX): Likewise.
67334         (CHAR_MIN): Likewise.
67335         (CHAR_MAX): Likewise.
67336         (MB_LEN_MAX): Use macro-int-constant.
67337         (SHRT_MIN): Use macro-int-constant.  Specify type.
67338         (SHRT_MAX): Likewise.
67339         (USHRT_MAX): Likewise.
67340         (INT_MAX): Likewise.
67341         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67342         bound negative.
67343         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67344         bound with "U".
67345         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67346         bound with "L".
67347         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67348         bound negative.  Suffix upper bound with "L".
67349         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67350         bound with "UL".
67351         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67352         Specify type.
67353         [C99-based standards] (LLONG_MAX): Likewise.
67354         [C99-based standards] (ULLONG_MAX): Likewise.
67355         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67356         == 0.
67357         [ISO11] (max_align_t): Require type.
67358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67360         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67361         from $CFLAGS, without defining away __attribute__ calls.
67362         (checknamespace): Use $CFLAGS_namespace.
67364         * conform/conformtest.pl (@keywords): Only include C99 keywords
67365         for standards based on C99 or C11.
67367         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67368         Disable tests.
67369         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67370         UNIX98]: Likewise.
67372         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67373         usability of symbols in #if.
67375         * conform/conformtest.pl: If macro or constant types start
67376         "promoted:", expect the symbol to be of the following type
67377         promoted by the integer promotions.
67379         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67380         in one place.  Also handle "macro-constant".
67382         * conform/conformtest.pl: Only accept expected macro values with
67383         "==".  Parse all "macro" lines in one place.
67384         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67386         * conform/conformtest.pl: Handle braced types on "constant" lines
67387         instead of handling "typed-constant".
67388         * conform/data/signal.h-data: Use "constant" instead of
67389         "typed-constant".
67391         * conform/conformtest.pl: Handle "optional-" at start of lines in
67392         one place rather than duplicating several cases.  Handle each
67393         format of "macro" line with initial "optional-".
67395         * conform/conformtest.pl: Only accept expected constant or
67396         optional-constant values with "==".  Parse all "constant" lines in
67397         one place.  Parse all "optional-constant" lines in one place.
67398         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67399         * conform/data/fmtmsg.h-data: Likewise.
67400         * conform/data/netinet/in.h-data: Likewise.
67401         * conform/data/tar.h-data: Likewise.
67402         * conform/data/limits.h-data: Use "==" form on "constant" and
67403         "optional-constant" lines.
67405         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67406         Use -std=c99 for XOPEN2K.
67407         (@knownproblems): Remove.
67408         (newtoken): Don't check %isknown.
67410         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67411         Do not expect macro.
67412         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67413         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67414         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67415         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67416         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67417         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67418         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67419         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67420         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67421         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67422         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67423         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67424         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67425         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67426         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67427         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67428         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67429         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67430         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67431         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67432         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67433         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67434         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67435         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67436         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67437         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67438         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67439         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67440         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67441         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67442         [XPG3] (acosh): Likewise.
67443         [XPG3] (asinh): Likewise.
67444         [XPG3] (atanh): Likewise.
67445         [XPG3] (cbrt): Likewise.
67446         [XPG3] (expm1): Likewise.
67447         [XPG3] (ilogb): Likewise.
67448         [XPG3] (log1p): Likewise.
67449         [XPG3] (logb): Likewise.
67450         [XPG3] (nextafter): Likewise.
67451         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67452         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67453         [XPG3] (remainder): Likewise.
67454         [XPG3] (rint): Likewise.
67455         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67456         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67457         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67458         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67459         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67460         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67461         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67462         [UNIX98 || XOPEN2K] (scalb): Expect.
67463         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67464         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67465         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67466         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67467         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67468         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67469         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67470         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67471         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67472         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67473         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67474         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67475         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67476         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67477         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67478         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67479         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67480         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67481         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67482         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67483         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67484         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67485         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67486         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67487         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67488         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67489         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67490         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67491         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67492         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67493         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67494         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67495         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67496         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67497         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67498         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67499         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67500         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67501         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67502         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67503         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67504         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67505         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67506         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67507         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67508         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67509         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67510         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67511         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67512         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67513         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67514         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67515         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67516         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67517         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67518         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67519         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67520         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67521         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67522         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67523         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67524         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67525         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67526         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67527         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67528         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67529         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67530         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67531         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67532         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67533         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67534         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67535         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67536         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67537         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67538         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67539         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67540         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67541         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67542         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67543         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67544         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67545         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67546         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67547         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67548         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67549         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67550         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67551         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67552         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67553         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67554         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67555         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67556         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67557         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67558         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67559         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67560         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67561         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67562         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67563         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67564         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67565         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67566         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67567         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67568         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67569         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67570         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67571         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67572         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67573         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67574         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67575         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67576         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67577         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67578         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67579         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67580         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67581         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67582         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67583         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67584         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67585         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67586         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67587         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67588         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67589         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67590         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67591         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67592         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67593         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67594         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67595         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67596         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67597         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67598         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67599         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67601         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67602         _XOPEN_SOURCE_EXTENDED for XPG4.
67604         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67606         * Makeconfig (localtime): Remove variable.
67607         (inst_localtime-file): Likewise.
67609 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67612         Update.
67613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67614         Update.
67615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67616         Update.
67617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67618         Update.
67619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67620         Update.
67621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67622         Update.
67623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67624         Update.
67625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67626         Update.
67627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67628         Update.
67630 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67632         [BZ #2550]
67633         [BZ #2570]
67634         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67635         comparisons to determine direction to adjust input.
67636         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67637         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67638         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67639         Likewise.
67640         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67641         Likewise.
67642         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67643         Likewise.
67644         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67645         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67646         Likewise.
67647         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67648         Likewise.
67649         * math/libm-test.inc (nexttoward_test): Add more tests.
67651 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67653         [BZ #14040]
67654         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67655         in version GLIBC_2.1, not GLIBC_2.0.
67656         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67657         Likewise.
67659 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67661         [BZ #13942]
67662         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67663         (1 - x) * (1 + x).
67664         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67665         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67666         * math/libm-test.inc (acos_test): Add more tests.
67667         (asin_test): Likewise.
67668         * sysdeps/i386/fpu/libm-test-ulps: Update.
67669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67671         [BZ #14034]
67672         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67673         of square root.
67674         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67675         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67676         * math/libm-test.inc (acos_test_tonearest): New function.
67677         (acos_test_towardzero): Likewise.
67678         (acos_test_downward): Likewise.
67679         (acos_test_upward): Likewise.
67680         (asin_test_tonearest): Likewise.
67681         (asin_test_towardzero): Likewise.
67682         (asin_test_downward): Likewise.
67683         (asin_test_upward): Likewise.
67684         (main): Call the new functions.
67685         * sysdeps/i386/fpu/libm-test-ulps: Update.
67686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67688         [BZ #13884]
67689         [BZ #13924]
67690         * math/e_exp10.c: Include <float.h>.
67691         (__ieee754_exp10): Handle underflow here rather than multiplying
67692         large negative argument by M_LN10.
67693         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67694         of __ieee754_expf.
67695         * math/e_exp10l.c: Include <float.h>.
67696         (__ieee754_exp10l): Handle underflow here rather than multiplying
67697         large negative argument by M_LN10l.
67698         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67699         spurious overflow exception on underflow.
67701 2012-04-29  Marek Polacek  <polacek@redhat.com>
67703         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67704         (__fortify_function): New macro.
67705         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67706         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67707         __extern_always_inline.
67708         * libio/bits/stdio2.h: Likewise.
67709         * libio/bits/stdio.h: Likewise.
67710         * string/string.h: Likewise.
67711         * string/bits/string3.h: Likewise.
67712         * include/stdio.h: Likewise.
67713         * stdlib/bits/stdlib.h: Likewise.
67714         * stdlib/stdlib.h: Likewise.
67715         * rt/bits/mqueue2.h: Likewise.
67716         * rt/mqueue.h: Likewise.
67717         * posix/bits/unistd.h: Likewise.
67718         * posix/unistd.h: Likewise.
67719         * io/bits/poll2.h: Likewise.
67720         * io/bits/fcntl2.h: Likewise.
67721         * io/fcntl.h: Likewise.
67722         * io/sys/poll.h: Likewise.
67723         * misc/bits/syslog.h: Likewise.
67724         * misc/bits/syslog-ldbl.h: Likewise.
67725         * misc/sys/syslog.h: Likewise.
67726         * socket/bits/socket2.h: Likewise.
67727         * socket/sys/socket.h: Likewise.
67728         * debug/tst-chk1.c: Likewise.
67729         * wcsmbs/bits/wchar2.h: Likewise.
67730         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67731         * wcsmbs/wchar.h: Likewise.
67733 2012-04-29  Andreas Jaeger  <aj@suse.de>
67735         * Makerules (tests): Remove enable-check-abi protection.
67736         (check-abi-warn): Remove.
67737         (check-abi-%): Remove check-abi-warn usage.
67739         * configure.in: Remove check-abi configure option.
67740         * configure: Regenerated.
67741         * config.make.in (enable-check-abi): Remove.
67743 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67745         [BZ #14033]
67746         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67747         double functions to double *_finite functions.
67749         [BZ #13941]
67750         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67751         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67752         LDBL_MIN_EXP.
67753         * stdio-common/Makefile (tests): Add tst-sprintf3.
67754         * stdio-common/tst-sprintf3.c: New file.
67756         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67757         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67759 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67761         * conform/conformtest.pl: Remove duplicate typed-constant
67762         handling.
67764 2012-04-28  David S. Miller  <davem@davemloft.net>
67766         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67767         (check-abi-%): Remove AWK script prerequisite and explicit
67768         abilist directory.
67769         (check-abi): Rewrite to just diff the symlist with the abilist.
67770         (config-tls, config-abi-config): Delete, no longer used.
67771         (update-abi-%): Remove AWK script and explicit abilist directory.
67772         (update-abi): Rewrite to simply compare and conditionally copy the
67773         symlist and the sysdep abilist file.  Remove update-abi-config
67774         checks.
67775         * abilist/ld.abilist: Remove.
67776         * abilist/libBrokenLocale.abilist: Remove.
67777         * abilist/libanl.abilist: Remove.
67778         * abilist/libcrypt.abilist: Remove.
67779         * abilist/libdl.abilist: Remove.
67780         * abilist/librt.abilist: Remove.
67781         * abilist/libthread_db.abilist: Remove.
67782         * abilist/libutil.abilist: Remove.
67783         * scripts/extract-abilist.awk: Remove.
67784         * scripts/merge-abilist.awk: Remove.
67785         * sysdeps/generic/libcidn.abilist: New file.
67786         * sysdeps/generic/libnss_compat.abilist: New file.
67787         * sysdeps/generic/libnss_db.abilist: New file.
67788         * sysdeps/generic/libnss_dns.abilist: New file.
67789         * sysdeps/generic/libnss_files.abilist: New file.
67790         * sysdeps/generic/libnss_hesiod.abilist: New file.
67791         * sysdeps/generic/libnss_nis.abilist: New file.
67792         * sysdeps/generic/libnss_nisplus.abilist: New file.
67793         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67794         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67795         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67796         file.
67797         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67798         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67799         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67800         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67801         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67802         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67803         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67804         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67805         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67806         file.
67807         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67808         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67809         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67810         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67811         file.
67812         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67813         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67814         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67815         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67816         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67817         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67818         file.
67819         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67820         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67821         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67822         file.
67823         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67825         New file.
67826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67827         New file.
67828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67829         New file.
67830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67831         New file.
67832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67833         New file.
67834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67835         New file.
67836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67837         New file.
67838         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67839         New file.
67840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67841         New file.
67842         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67843         New file.
67844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67845         New file.
67846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67847         New file.
67848         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67849         New file.
67850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67851         file.
67852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67853         New file.
67854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67855         New file.
67856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67857         file.
67858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67859         New file.
67860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67861         New file.
67862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67863         file.
67864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67865         New file.
67866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67867         New file.
67868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67869         New file.
67870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67871         New file.
67872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67873         New file.
67874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67875         New file.
67876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67878         file.
67879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67880         New file.
67881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67882         file.
67883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67884         file.
67885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67886         file.
67887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67888         file.
67889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67890         file.
67891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67892         New file.
67893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67894         file.
67895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67896         file.
67897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67898         New file.
67899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67900         file.
67901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67903         file.
67904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67905         New file.
67906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67907         file.
67908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67909         file.
67910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67911         file.
67912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67913         file.
67914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67915         file.
67916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67917         New file.
67918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67919         file.
67920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67921         file.
67922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67923         New file.
67924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67925         file.
67926         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67927         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67928         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67929         file.
67930         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67931         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67932         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67933         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67934         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67935         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67936         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67937         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67938         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67939         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67942         file.
67943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67944         New file.
67945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67946         file.
67947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67948         file.
67949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67950         file.
67951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67952         file.
67953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67954         file.
67955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67956         New file.
67957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67958         New file.
67959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67960         file.
67961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67962         New file.
67963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67964         file.
67965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67967         file.
67968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67969         New file.
67970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67971         file.
67972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67973         file.
67974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67975         file.
67976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67977         file.
67978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67979         file.
67980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67981         New file.
67982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67983         New file.
67984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67985         file.
67986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67987         New file.
67988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67989         file.
67991 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67993         * conform/conformtest.pl: Fix typo in handling typed-constant from
67994         allow-header.
67996 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67998         * README: Cut down references to pre-2.6 Linux kernels and
67999         Linuxthreads.  Update lists of configurations in libc and ports
68000         and sort alphabetically.  Say "or newer" with Linux kernel version
68001         requirements.
68003         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68005 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68007         [BZ #887]
68008         * math/libm-test.inc (logb_test_downward): New test to expose
68009         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68010         rounding mode.
68012 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68014         [BZ #14027]
68015         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68016         to be done.
68017         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68018         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68020 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68022         * sysdeps/unix/i386/brk.S: Remove file.
68023         * sysdeps/unix/i386/dl-brk.S: Likewise.
68024         * sysdeps/unix/i386/pipe.S: Likewise.
68025         * sysdeps/unix/i386/sigreturn.S: Likewise.
68026         * sysdeps/unix/i386/syscall.S: Likewise.
68027         * sysdeps/unix/i386/vfork.S: Likewise.
68028         * sysdeps/unix/i386/wait.S: Likewise.
68030         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68031         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68033         * configure.in (arm*-none*): Do not allow without
68034         --enable-hacker-mode.
68035         (netbsd*): Remove case setting base_os.
68036         (386bsd*): Likewise.
68037         (freebsd*): Likewise.
68038         (bsdi*): Likewise.
68039         (osf*): Likewise.
68040         (sunos*): Likewise.
68041         (ultrix*): Likewise.
68042         (newsos*): Likewise.
68043         (dynix*): Likewise.
68044         (*bsd*): Likewise.
68045         (sysv*): Likewise.
68046         (isc*): Likewise.
68047         (esix*): Likewise.
68048         (sco*): Likewise.
68049         (minix*): Likewise.
68050         (irix4*): Likewise.
68051         (irix6*): Likewise.
68052         (solaris[2-9]*): Likewise.
68053         (none): Likewise.
68054         * configure: Regenerated.
68056 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68058         [BZ #11521]
68059         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68060         overflow or cancellation in calculating denominator.
68061         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68063         down expression to avoid unexpected rounding in newer GCCs.
68064         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68066 2012-04-26  David S. Miller  <davem@davemloft.net>
68068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68069         long-double compat symbols.
68070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68084 2012-04-25  David S. Miller  <davem@davemloft.net>
68086         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68087         HWCAP_* values only after the memory barriers have been defined.
68088         (atomic_full_barrier): Define.
68089         (atomic_read_barrier): Define.
68090         (atomic_write_barrier): Define.
68092 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68094         * shlib-versions: Add libgcc_s version information.
68095         * sysdeps/generic/libgcc_s.h: Remove.
68096         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68097         libgcc_s.h.
68098         * sysdeps/gnu/unwind-resume.c: Likewise.
68099         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68101 2012-04-25  David S. Miller  <davem@davemloft.net>
68103         * sysdeps/unix/sparc/brk.S: Delete.
68104         * sysdeps/unix/sparc/dl-brk.S: Delete.
68105         * sysdeps/unix/sparc/pipe.S: Delete.
68106         * sysdeps/unix/sparc/sysdep.S: Delete.
68107         * sysdeps/unix/sparc/sysdep.h: Delete.
68108         * sysdeps/unix/sparc/vfork.S: Delete.
68109         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68110         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68111         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68112         (ret_ERRVAL, r0, r1, MOVE): Define.
68113         (JUMPTARGET): Remove.
68114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68115         sysdeps/unix/sparc/sysdep.h
68116         (ENTRY, END): Remove.
68117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68119 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68121         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68122         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68123         -DIS_IN_build.
68125         * timezone/README: Update upstream location and email address for
68126         tzcode and tzdata.
68127         * timezone/zdump.c: Update from tzcode 2012b.
68128         * timezone/zic.c: Likewise.
68130         * configure.in (libc_cv_as_needed): Remove test.
68131         * configure: Regenerated.
68132         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68133         conditional definition.
68134         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68135         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68136         * config.make.in (have-as-needed): Remove variable.
68138 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68139             Paul Pluzhnikov  <ppluzhnikov@google.com>
68141         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68142         strings correctly.
68144 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68146         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68147         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68148         * sysdeps/sh/strlen.S: Likewise.
68150 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68152         * sysdeps/unix/fork.S: Remove file.
68153         * sysdeps/unix/i386/fork.S: Likewise.
68154         * sysdeps/unix/sparc/fork.S: Likewise.
68156         * sysdeps/unix/system.c: Remove file.
68157         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68159         * sysdeps/unix/getegid.S: Remove file.
68160         * sysdeps/unix/geteuid.S: Likewise.
68162 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68164         * scripts/check-localplt.awk: New file.
68165         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68166         of diff.
68167         * scripts/data/localplt-generic.data: Add a comment.
68169         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68170         NODE when __dir_mkfile failed.
68171         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68172         Reported by Ludovic Courtès <ludo@gnu.org>.
68174 2012-04-24  Andreas Jaeger  <aj@suse.de>
68176         * Makerules (common-clean): Also remove gen-as-const-headers
68177         files.
68179 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68181         * Makerules (native-compile): Do not change working directory for
68182         build.  Use $(OUTPUT_OPTION) in command.
68183         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68185 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68187         [BZ #13886]
68188         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68189         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68190         * math/libm-test.inc (floor_test): Add more tests.
68191         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68193 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68195         * sysdeps/unix/getdents.c: Remove file.
68196         * sysdeps/unix/sysv/getdents.c: Likewise.
68197         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68199         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68200         sysdeps/unix/mman/syscalls.list.
68201         (mmap): Likewise.
68202         (mprotect): Likewise.
68203         (msync): Likewise.
68204         (munmap): Likewise.
68205         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68206         * sysdeps/unix/mman/syscalls.list: Remove.
68207         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68209         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68210         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68211         * configure: Regenerated.
68212         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68213         $(libgcc_s_suffix).
68214         * config.make.in (libgcc_s_suffix): Remove variable.
68216 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68218         * sysdeps/unix/sysv/gethostname.c: Move to ...
68219         * sysdeps/posix/gethostname.c: ... here.
68221         * sysdeps/unix/execve.S: Remove file.
68223         * sysdeps/unix/_exit.S: Remove file.
68225 2012-04-23  Andreas Jaeger  <aj@suse.de>
68227         [BZ #13739]
68228         * manual/Makefile: Remove make dist support, there's no
68229         need for a stand-alone documentation tar ball.
68230         (TEXI2DVI): Define always, it's not in Makeconfig.
68231         (dist): Removed.
68232         (tar-it): Removed.
68233         (edition): Removed.
68234         (glibc-doc-$(edition).tar): Removed
68235         (%.Z): Removed.
68236         (%.gz): Removed.
68237         (%.uu): Removed.
68238         (ETAGS): Remove, it's in Makeconfig.
68239         (move-if-change): Remove, it's in Makeconfig.
68241 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68243         [BZ #13970]
68244         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68245         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68246         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68247         (strtod_l, strtof_l, strtold_l): Remove __wur.
68248         It is not necessarily an error to ignore strtol's return value.
68249         One can reliably look at the stored endptr to decide whether
68250         the number had valid syntax.
68252 2012-04-21  Andreas Jaeger  <aj@suse.de>
68254         [BZ #13739]
68255         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68257 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68259         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68260         * sysdeps/unix/sysv/Versions: Remove file.
68262 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68264         [BZ #13927]
68265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68267 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68269         [BZ #7064]
68270         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68271         version from __vm86.
68273 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68275         * sysdeps/unix/common/lxstat.c: Remove file.
68276         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68278         * sysdeps/unix/sysv/Makefile: Remove file.
68280         * sysdeps/unix/sysv/direct.h: Remove file.
68282         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68283         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68284         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68285         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68286         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68287         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68288         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68290         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68292         * sysdeps/unix/xmknod.c: Remove file.
68293         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68295         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68297         * sysdeps/unix/sysv/i386/time.S: Remove file.
68299         * sysdeps/unix/fxstat.c: Remove file.
68300         * sysdeps/unix/xstat.c: Likewise.
68301         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68303         * sysdeps/unix/sysv/sigaction.c: Remove file.
68305         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68306         (sysdep_headers): Remove variable.
68307         [termio.h not in sysdep_headers] (generated): Likewise.
68308         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68309         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68310         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68311         * sysdeps/unix/sysv/tcflow.c: Likewise.
68312         * sysdeps/unix/sysv/tcflush.c: Likewise.
68313         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68314         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68315         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68316         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68317         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68319         * sysdeps/unix/siglist.c: Remove file.
68321         * sysdeps/unix/getppid.S: Remove file.
68323         * sysdeps/unix/mkdir.c: Remove file.
68324         * sysdeps/unix/rmdir.c: Likewise.
68326 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68328         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68329         ERR_MAX value.
68330         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68331         errlist-compat value.
68333 2012-04-18  David S. Miller  <davem@davemloft.net>
68335         * sysdeps/generic/memcopy.h (reg_char): Delete.
68336         * debug/strcat_chk.c: Use char, not reg_char.
68337         * debug/strcpy_chk.c: Likewise.
68338         * debug/strncat_chk.c: Likewise.
68339         * debug/strncpy_chk.c: Likewise.
68340         * string/memchr.c: Likewise.
68341         * string/memrchr.c: Likewise.
68342         * string/rawmemchr.c: Likewise.
68343         * string/strcat.c: Likewise.
68344         * string/strchr.c: Likewise.
68345         * string/strchrnul.c: Likewise.
68346         * string/strcmp.c: Likewise.
68347         * string/strcpy.c: Likewise.
68348         * string/strncat.c: Likewise.
68349         * string/strncmp.c: Likewise.
68350         * string/strncpy.c: Likewise.
68352 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68354         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68355         __builtin_memcopy is called when src and dest ranges are known to not
68356         overlap.
68358 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68360         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68361         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68362         fwd_align_merge macro call.
68363         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68364         bwd_align_merge macro call.
68365         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68367 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68369         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68370         bwd_align_merge macros.
68371         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68372         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68373         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68375 2012-04-18  David S. Miller  <davem@davemloft.net>
68377         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68379 2012-04-18  Andreas Jaeger  <aj@suse.de>
68381         [BZ# 6794]
68382         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68383         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68384         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68386         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68387         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68388         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68390         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68391         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68392         Adjust for changed ldbl-128 files.
68394         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68395         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68396         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68398 2012-04-17  David S. Miller  <davem@davemloft.net>
68400         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68402 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68404         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68405         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68406         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68407         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68408         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68409         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68411 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68413         [BZ #6794]
68414         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68415         * math/libm-test.inc: Add ilogb errno and exception tests.
68416         * math/w_ilogb.c: New file: ilogb wrapper.
68417         * math/w_ilogbf.c: New file: ilogbf wrapper.
68418         * math/w_ilogbl.c: New file: ilogbl wrapper.
68419         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68420         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68421         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68422         exception being thrown with 0.0 as argument.
68423         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68424         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68425         exception being thrown with 0.0 as argument.
68426         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68427         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68428         exception being thrown with 0.0 as argument.
68429         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68430         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68431         exception being thrown with 0.0 as argument.
68432         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68433         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68434         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68435         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68436         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68437         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68438         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68439         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68440         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68442 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68444         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68445         with altivec.
68447 2012-04-16  Marek Polacek  <polacek@redhat.com>
68449         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68451 2012-04-16  Marek Polacek  <polacek@redhat.com>
68453         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68454         operands of fdivp instruction.
68456 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68458         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68459         * elf/tst-auditmod3b.c: Likewise.
68460         * elf/tst-auditmod4b.c: Likewise.
68461         * elf/tst-auditmod5b.c: Likewise.
68462         * elf/tst-auditmod6b.c: Likewise.
68463         * elf/tst-auditmod6c.c: Likewise.
68464         * elf/tst-auditmod7b.c: Likewise.
68465         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68466         * sysdeps/x86_64/preconfigure.in: Likewise.
68467         * sysdeps/x86_64/preconfigure: Regenerated.
68469 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68471         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68472         __ILP32__.
68474 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68477         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68479 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68481         [BZ #13973]
68482         * locale/iso-639.def: Fix gl language name. Spotted by
68483         Yaron Shahrabani.
68485 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68487         [BZ #2074]
68488         * libio/libio.h (__io_write_fn): Update comment.
68490 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68492         [BZ #2074]
68493         * stdio.texi (Hook Functions): The user provided writer function
68494         is not allowed to return -1.
68496 2012-04-11  David S. Miller  <davem@davemloft.net>
68498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68500 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68502         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68503         Add a leading slash to rtkaio.
68505 2012-04-11  Jim Meyering  <meyering@redhat.com>
68507         [BZ #11959]
68508         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68509         It is not necessarily an error to ignore fwrite's return
68510         value.  One can reliably use ferror to test for errors after
68511         the fact.
68513 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68515         * bits/types.h (__snseconds_t): New type.
68516         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68518         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68519         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68520         (__SNSECONDS_T_TYPE): Likewise.
68521         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68522         (__SNSECONDS_T_TYPE): Likewise.
68523         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68524         (__SNSECONDS_T_TYPE): Likewise.
68526 2012-04-10  Andreas Jaeger  <aj@suse.de>
68528         [BZ #2636]
68529         * manual/time.texi (Processor Time): Return type of times is
68530         elapsed real time since an arbitrary point in the past.
68531         (CPU Time): Move CLK_TCK from here...
68532         (Processor Time): ...to here.  Correct description.
68533         * manual/conf.texi (Constants for Sysconf): Correct description of
68534         _SC_CLK_TCK.
68536 2012-04-10  David S. Miller  <davem@davemloft.net>
68538         [BZ #13967]
68539         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68540         where the is a gap between DT_REL(A) and DT_JMPREL.
68542 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68544         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68545         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68546         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68548 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68550         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68551         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68552         (dl_main): Handle --inhibit-cache.
68553         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68554         _dl_inhibit_cache.
68555         * elf/dl-load.c (_dl_map_object): Use it.
68556         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68558 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68560         [BZ #13872]
68561         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68562         (__ieee754_powl): Saturate large exponents rather than testing for
68563         overflow of y*log2(x).
68564         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68565         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68566         exceptions.
68568         [BZ #11521]
68569         * math/s_ctan.c: Include <float.h>.
68570         (__ctan): Avoid internal overflow or cancellation in calculating
68571         denominator.
68572         * math/s_ctanf.c: Likewise.
68573         * math/s_ctanl.c: Likewise.
68574         * math/s_ctanh.c: Likewise.
68575         * math/s_ctanhf.c: Likewise.
68576         * math/s_ctanhl.c: Likewise.
68577         * math/libm-test.inc (ctan_test): Add more tests.
68578         (ctanh_test): Likewise.
68579         * sysdeps/i386/fpu/libm-test-ulps: Update.
68580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68582 2012-04-09  Andreas Jaeger  <aj@suse.de>
68584         [BZ #6894]
68585         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68586         is an optional BSD extension.
68588         [BZ #10254]
68589         * manual/stdio.texi (Opening Streams): Document additional fopen
68590         parameters.
68592 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68594         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68595         %eax without telling the compiler.
68597 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68599         [BZ # 13963]
68600         * manual/install.texi: Use sourceware.org.
68602 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68604         [BZ #13873]
68605         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68606         (__ieee754_pow): Generate overflow and underflow using huge*huge
68607         and tiny*tiny rather than just returning constant infinity or zero
68608         for large exponents.
68609         * math/libm-test.inc (pow_test): Require overflow exceptions for
68610         applicable cases of large exponents.
68612         [BZ #706]
68613         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68614         (__ieee754_pow): Use iterative multiplication algorithm only for
68615         integer exponents with absolute value below 1024.  Check for odd
68616         integer exponents when using algorithm for real exponents.
68617         * math/libm-test.inc (pow_test): Add more tests.
68618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68620 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68622         [BZ #13705]
68623         * math/libm-test.inc (exp_test): Do not allow overflow exception
68624         on underflow test.
68626 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68628         [BZ #13705]
68629         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68630         instead of __kernel_standard_f.
68632 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68634         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68635         * sysdeps/x86_64/memset_chk.S: Likewise.
68637 2012-04-08  Andreas Jaeger  <aj@suse.de>
68639         [BZ #10153]
68640         * manual/startup.texi (Environment Access): Describe return value
68641         for putenv and setenv.
68643         [BZ #6895]
68644         * manual/filesys.texi (Directory Entries): Add description for
68645         DT_LNK.
68647         [BZ #6890]
68648         * manual/filesys.texi (Directory Entries): Clarify that it's file
68649         system not operating system in the description of DT_UNKNOWN.
68651         [BZ #6578]
68652         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68654 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68656         [BZ #6649]
68657         * manual/llio.texi (Opening and Closing Files): Add cross
68658         reference to explain mode argument.
68660 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68662         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68663         * sysdeps/x86_64/memset_chk.S: Likewise.
68665 2012-04-07  David S. Miller  <davem@davemloft.net>
68667         * elf/elf.h (R_SPARC_WDISP10): Define.
68668         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68669         R_SPARC_SIZE32.
68670         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68671         R_SPARC_SIZE64 and R_SPARC_H34.
68673 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68675         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68676         conditions and remove no longer applicable assertion.
68678 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68680         * bits/byteswap.h: Include <features.h>.
68681         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68682         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68684 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68686         * bits/byteswap.h (__bswap_16): Removed.
68687         Include <bits/byteswap-16.h> to get __bswap_16.
68688         * sysdeps/i386/bits/byteswap.h: Likewise.
68689         * sysdeps/s390/bits/byteswap.h: Likewise.
68690         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68691         * bits/byteswap-16.h: New file.
68692         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68693         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68694         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68695         * string/Makefile (headers): Add bits/byteswap-16.h.
68697 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68699         [BZ #13895]
68700         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68701         extra indirection.
68702         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68703         * nss/tst-nss-static.c: New.
68705 2012-04-06  Robert Millan  <rmh@gnu.org>
68707         [BZ #6486]
68708         * manual/llio.texi (File Position Primitive): lseek
68709         refers to WHENCE when it really means OFFSET.
68711 2012-04-06  Andreas Jaeger  <aj@suse.de>
68713         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68714         strncmp declarations.
68716         * abilist/libc.abilist: Add __poll and __ppoll.
68718 2012-04-05  David S. Miller  <davem@davemloft.net>
68720         * scripts/check-local-headers.sh: Accept a host triplet in the
68721         path matched by the exclude regexp.
68723         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68724         definition.
68725         * sysdeps/powerpc/powerpc32/dl-machine.h
68726         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68727         * sysdeps/s390/s390-32/dl-machine.h
68728         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68729         * sysdeps/sparc/sparc32/dl-machine.h
68730         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68731         * sysdeps/sparc/sparc64/dl-machine.h
68732         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68734         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68735         lazy binding.
68736         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68737         undefined symbol errors.
68739         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68740         DT_NEEDED entries.
68742 2012-04-05  Michael Matz  <matz@suse.de>
68744         [BZ #13592]
68745         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68747 2012-04-05  Andreas Jaeger  <aj@suse.de>
68749         [BZ #13908]
68750         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68751         comment.
68753 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68755         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68756         which ROUND is no valid rounding mode.
68758 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68760         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68761         read again.
68762         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68764 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68766         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68767         an exception using FPU order intentionally.
68769 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68771         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68772         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68773         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68774         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68776 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68778         [BZ #12340]
68779         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68780         EINVAL when BUFLEN is too smal.
68782 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68784         [BZ #13553]
68785         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68786         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68788 2012-04-03  Andreas Jaeger  <aj@suse.de>
68790         [BZ #13938]
68791         * manual/setjmp.texi (System V contexts): Fix sentence.
68793         [BZ #13926]
68794         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68795         New macro for this case.
68796         [!__GNUC__] (__bswap_64): New inline function for this case.
68797         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68798         * bits/byteswap.h: Likewise.
68799         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68800         ull, guard with __GLIBC_HAVE_LONG_LONG.
68802         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68803         __GLIBC_HAVE_LONG_LONG.
68805         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68806         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68808 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68810         [BZ #13691]
68811         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68812         inptr and inend, rather than using last_ch.
68814 2012-04-02  David S. Miller  <davem@davemloft.net>
68816         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68817         * stdio-common/printf-parse.h (read_int): Change return type to
68818         'int', return -1 on INT_MAX overflow.
68819         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68820         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68821         overflows INT_MAX.  Check for overflow of in-format-string precision
68822         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68823         SIZE_MAX not INT_MAX for integer overflow test.
68824         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68825         skip the construct in the format string but do not record anything.
68826         * stdio-common/bug22.c: Adjust to test both width/prevision
68827         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68828         explicitly for proper errno values.
68830 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68832         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68833         CHAR_MAX.
68834         * string/test-strcmp.c [! WIDE]: Likewise.
68835         * time/tst-mktime2.c: Likewise for INT_MAX.
68836         * string/test-string.h: #include <sys/param.h> for MIN.
68838         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68839         * sysdeps/i386/init-first.c (init): Likewise.
68840         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68841         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68842         * sysdeps/sh/init-first.c (init): Likewise.
68844 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68846         * po/ru.po: Update from translation team.
68847         * po/vi.po: Likewise.
68849 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68851         * resolv/nss_dns/dns-host.c: Merge copyright years.
68853 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68855         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68856         Optimize memcpy with prefetch if
68857         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68858         src, dst pointers have unequal 16 byte alignments.
68860 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68862         [BZ #13928]
68863         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68864         from a CNAME entry and return the minimum ttl for the query.
68865         (gaih_getanswer_slice): Likewise.
68867 2012-03-30  Jeff Law  <law@redhat.com>
68869         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68870         due to long keys.
68871         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68872         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68874         * resolv/nss_dns/dns-host.c: Update copyright year.
68876 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68878         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68879         requests to save a system call.  Fix check that all bytes are sent.
68881         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68882         comments for sendmmsg.
68884 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68886         [BZ #13691]
68887         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68888         with only 1 character between 0x0041 and 0x01b0.
68889         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68890         * wcsmbs/tst-mbsnrtowcs.c: New file.
68892 2012-03-29  David S. Miller  <davem@davemloft.net>
68894         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68895         small copies by hand.
68897 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68899         [BZ #13761]
68900         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68901         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68902         group memberships.
68904 2012-03-28  David S. Miller  <davem@davemloft.net>
68906         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68907         that branches into memcpy.
68908         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68909         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68910         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68911         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68912         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68913         bits.
68914         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68915         implementation too.
68916         * sysdeps/sparc/mempcpy.S: New file.
68918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68919         the IFUNC routine in the libc case.
68920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68922         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68923         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68924         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68925         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68926         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68927         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68928         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68929         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68931         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68932         loop to 256 bytes instead of 64 bytes and fix test signedness.
68934         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68935         * sysdeps/sparc/sparc32/Makefile: rather than here...
68936         * sysdeps/sparc/sparc64/Makefile: and here.
68938 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68940         * malloc/mallocbug.c: Avoid warnings about unused variables.
68942 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68944         [BZ #13760]
68945         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68946         in the right place. Discard and retry query if response is
68947         larger than input buffer size.
68949 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68951         [BZ #369]
68952         [BZ #2678]
68953         [BZ #3866]
68954         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68955         x for large integer exponent.
68956         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68957         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68958         sign of result as needed afterwards.
68959         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68960         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68961         result for underflowing pow the same as for overflow.
68962         (__kernel_standard_l): Handle powl overflow and underflow here
68963         rather than calling __kernel_standard.
68964         * math/libm-test.inc (pow_test): Add more tests.
68966         [BZ #3868]
68967         [BZ #13879]
68968         [BZ #13910]
68969         [BZ #13911]
68970         [BZ #13912]
68971         [BZ #13913]
68972         [BZ #13915]
68973         [BZ #13916]
68974         [BZ #13917]
68975         [BZ #13918]
68976         [BZ #13919]
68977         [BZ #13920]
68978         [BZ #13921]
68979         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68980         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68981         (__kernel_standard_l): New function.
68982         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68983         __kernel_standard.
68984         * math/w_acosl.c (__acosl): Likewise.
68985         * math/w_asinl.c (__asinl): Likewise.
68986         * math/w_atan2l.c (__atan2l): Likewise.
68987         * math/w_atanhl.c (__atanhl): Likewise.
68988         * math/w_coshl.c (__coshl): Likewise.
68989         * math/w_exp10l.c (__exp10l): Likewise.
68990         * math/w_exp2l.c (__exp2l): Likewise.
68991         * math/w_fmodl.c (__fmodl): Likewise.
68992         * math/w_hypotl.c (__hypotl): Likewise.
68993         * math/w_j0l.c (__j0l, __y0l): Likewise.
68994         * math/w_j1l.c (__j1l, __y1l): Likewise.
68995         * math/w_jnl.c (__jnl, __ynl): Likewise.
68996         * math/w_lgammal.c (__lgammal): Likewise.
68997         * math/w_log10l.c (__log10l): Likewise.
68998         * math/w_log2l.c (__log2l): Likewise.
68999         * math/w_logl.c (__logl): Likewise.
69000         * math/w_powl.c (__powl): Likewise.
69001         * math/w_remainderl.c (__remainderl): Likewise.
69002         * math/w_scalbl.c (sysv_scalbl): Likewise.
69003         * math/w_sinhl.c (__sinhl): Likewise.
69004         * math/w_sqrtl.c (__sqrtl): Likewise.
69005         * math/w_tgammal.c (__tgammal): Likewise.
69006         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69007         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69008         * math/libm-test.inc (acos_test): Add more tests.
69009         (acosh_test): Likewise.
69010         (asin_test): Likewise.
69011         (atanh_test): Likewise.
69012         (exp_test): Likewise.
69013         (exp10_test): Likewise.
69014         (exp2_test): Likewise.
69015         (expm1_test): Likewise.
69016         (lgamma_test): Likewise.
69017         (log_test): Likewise.
69018         (log10_test): Likewise.
69019         (log1p_test): Likewise.
69020         (log2_test): Likewise.
69021         (pow_test): Do not allow some spurious overflow exceptions.
69022         (sqrt_test): Add more tests.
69023         (tgamma_test): Likewise.
69024         (y0_test): Likewise.
69025         (y1_test): Likewise.
69026         (yn_test): Likewise.
69028 2012-03-27  Anton Blanchard  <anton@samba.org>
69030         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69031         MAP_HUGETLB.
69032         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69033         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69034         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69036 2012-03-27  David S. Miller  <davem@davemloft.net>
69038         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69040         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69041         have-as-vis3 check.
69043 2012-03-27  Andreas Jaeger  <aj@suse.de>
69045         * sysdeps/x86_64/elf/configure.in: Moved to ...
69046         * sysdeps/x86_64/configure.in: ... here.
69047         * sysdeps/x86_64/elf/start.S: Moved to ...
69048         * sysdeps/x86_64/start.S: ... here.
69049         * sysdeps/x86_64/elf/configure: Delete.
69051         * sysdeps/x86_64/configure.in: Merge contents from
69052         sysdeps/i386/configure.in (without i686 check).
69054         * sysdeps/i386/elf/Versions: Merge into ...
69055         * sysdeps/i386/Versions: ... this.
69056         * sysdeps/i386/elf/Versions: Delete file.
69057         * sysdeps/i386/elf/start.S: Moved to ...
69058         * sysdeps/i386/start.S: ...here.
69059         * sysdeps/i386/elf/configure.in: Merge into...
69060         * sysdeps/i386/configure.in: ...here.
69061         * sysdeps/i386/elf/configure.in: Delete file.
69062         * sysdeps/i386/elf/configure: Delete file.
69064         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69065         * debug/backtracesyms.c: ... here.
69066         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69067         * debug/backtracesymsfd.c: ... here.
69068         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69069         * sysdeps/generic/ifunc-sel.h: ... here.
69071         * sysdeps/unix/i386/start.c: Delete file.
69072         * sysdeps/unix/sparc/start.c: Delete file.
69073         * sysdeps/unix/start.c: Delete file.
69075         * sysdeps/sh/elf/configure.in: Moved to ...
69076         * sysdeps/sh/configure.in: ... here.
69077         * sysdeps/sh/elf/start.S: Moved to ...
69078         * sysdeps/sh/start.S: ... here.
69079         * sysdeps/sh/elf/configure: Delete file.
69081         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69082         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69083         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69084         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69085         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69086         * sysdeps/powerpc/powerpc64/start.S: here.
69087         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69088         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69089         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69090         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69091         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69093         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69094         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69095         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69096         * sysdeps/powerpc/powerpc32/start.S: ... here.
69097         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69098         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69099         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69101         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69102         * sysdeps/powerpc/ifunc-sel.h: ... here.
69103         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69104         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69106         * sysdeps/sparc/elf/configure.in: Moved to ...
69107         * sysdeps/sparc/configure.in: ... here.
69108         * sysdeps/sparc/elf/configure: Delete file.
69109         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69110         * sysdeps/sparc/sparc32/start.S: ... here.
69111         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69112         * sysdeps/sparc/sparc64/start.S: ... here.
69113         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69114         * sysdeps/sparc/sparc32/Makefile: ... this.
69115         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69116         * sysdeps/sparc/sparc64/Makefile: ... this.
69118         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69119         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69120         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69121         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69122         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69123         * sysdeps/s390/s390-32/setjmp.S: ... here.
69124         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69125         * sysdeps/s390/s390-32/configure.in: ... here.
69126         * sysdeps/s390/s390-32/elf/configure: Delete file.
69127         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69128         * sysdeps/s390/s390-32/start.S: ... here.
69130         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69131         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69132         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69133         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69134         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69135         * sysdeps/s390/s390-64/setjmp.S: ... here.
69136         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69137         * sysdeps/s390/s390-64/configure.in: ... here
69138         * sysdeps/s390/s390-64/elf/configure: Delete file.
69139         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69140         * sysdeps/s390/s390-64/start.S: ... here.
69141         * sysdeps/s390/s390-64/elf/configure: Delete.
69143         * configure.in: Remove support for elf directories in sysdeps.
69145         * configure: Regenerated.
69146         * sysdeps/i386/configure: Regenerated.
69147         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69148         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69149         * sysdeps/s390/s390-32/configure: Regenerated.
69150         * sysdeps/s390/s390-64/configure: Regenerated.
69151         * sysdeps/sh/configure: Regenerated.
69152         * sysdeps/sparc/configure: Regenerated.
69153         * sysdeps/x86_64/configure: Regenerated.
69155 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69160         denormal result into account.
69162 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69164         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69165         Reported by Allan McRae <allan@archlinux.org>.
69167 2012-03-23  Jeff Law  <law@redhat.com>
69169         * nss/getnssent.c (__nss_getent): Fix typo.
69171 2012-03-23  David S. Miller  <davem@davemloft.net>
69173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69175 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69177         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69178         to pad to uint64_t for each field.
69179         (dl_tls_index): Replace unsigned long with uint64_t.
69181 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69182         Paul Pluzhnikov  <ppluzhnikov@google.com>
69184         [BZ #6528]
69185         * grp/Makefile (otherlibs): Don't set it.
69186         * inet/Makefile (otherlibs): Likewise.
69187         * login/Makefile (otherlibs): Likewise.
69188         * nscd/Makefile (otherlibs): Likewise.
69189         * posix/Makefile (otherlibs): Likewise.
69190         * pwd/Makefile (otherlibs): Likewise.
69191         * rt/Makefile (otherlibs): Likewise.
69192         * sunrpc/Makefile (otherlibs): Likewise.
69193         * nss/Makefile (otherlibs): Likewise.
69194         Add libnss_files to routines and static-only-routines.
69195         ($(objpfx)getent): Remove rule.
69196         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69197         static-only-routines.
69199 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69201         [BZ #13892]
69202         * math/s_cexp.c: Include <float.h>.
69203         (__cexp): Handle exp result overflowing not necessarily
69204         overflowing both real and imaginary parts of result.
69205         * math/s_cexpf.c: Likewise.
69206         * math/s_cexpl.c: Likewise.
69207         * math/libm-test.inc (cexp_test): Add more tests.
69208         * sysdeps/i386/fpu/libm-test-ulps: Update.
69209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69211 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69213         * include/link.h (ELFW): New macro.
69214         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69215         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69217 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69219         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69220         with uint64_t.
69222 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69224         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69225         declaration.
69226         (struct La_x32_retval): Likewise.
69228 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69230         * sysdeps/x86_64/preconfigure.in: New file.
69231         * sysdeps/x86_64/preconfigure: New generated file.
69233 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69235         [BZ #13824]
69236         * math/e_exp2l.c: Include <float.h>.
69237         (__ieee754_exp2l): Handle overflow and underflow cases
69238         separately.  Only pass fractional part of argument to
69239         __ieee754_expl.
69240         * math/libm-test.inc (exp2_test): Add more tests.
69242         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69243         negating x to take absolute value.
69244         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69245         Likewise.
69246         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69247         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69248         Likewise.
69249         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69250         computing low part if x was negated.
69251         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69253 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69255         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69256         la_x32_gnu_pltexit.
69257         (pltexit): Cast int_retval to ptrdiff_t.
69258         * elf/tst-auditmod3b.c: Likewise.
69259         * elf/tst-auditmod4b.c: Likewise.
69260         * elf/tst-auditmod5b.c: Likewise.
69261         * elf/tst-auditmod6b.c: Likewise.
69262         * elf/tst-auditmod6c.c: Likewise.
69263         * elf/tst-auditmod7b.c: Likewise.
69265         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69266         and x32_gnu_pltexit.
69268         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69269         __ELF_NATIVE_CLASS.
69270         (La_x32_regs): New macro.
69271         (La_x32_retval): Likewise.
69272         (la_x32_gnu_pltenter): New function prototype.
69273         (la_x32_gnu_pltexit): Likewise.
69275 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69278         exponent.
69280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69282         * configure.in (libc_cv_cc_nofma): Check for option to disable
69283         generation of FMA instructions.
69284         * configure: Regenerate.
69285         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69286         * sysdeps/ieee754/dbl-64/Makefile: New file.
69287         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69288         Remove brandred-fma4.
69289         (CFLAGS-brandred-fma4.c): Remove.
69290         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69291         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69292         define.
69293         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69294         define.
69296 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69298         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69299         LLONG_MAX != LONG_MAX.
69300         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69301         (_fitoa_word): Likewise.
69302         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69303         LLONG_MAX != LONG_MAX.
69304         * stdio-common/_itowa.h: Include <_itoa.h>.
69305         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69306         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69307         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69308         only if not defined.
69309         (_ITOA_WORD_TYPE): Likewise.
69310         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69311         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69313 2012-03-21  David S. Miller  <davem@davemloft.net>
69315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69317 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69319         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69320         of x86_64 when setting libc_cv_slibdir, libdir and
69321         libc_cv_localedir.
69322         * sysdeps/unix/sysv/linux/configure: Regenerated.
69324 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69326         * manual/lang.texi (Old Varargs): Remove section.
69327         (How Variadic): Update menu.
69328         (va_start): Do not mention varargs.h.
69330 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69331             Joseph Myers  <joseph@codesourcery.com>
69333         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69334         link test.
69335         * configure: Regenerated.
69337 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69339         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69340         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69341         conformtest.pl
69343 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69345         * NOTES: Remove.
69346         * Makefile (files-for-dist): Remove NOTES.
69347         (NOTES): Remove rule.
69348         * README: Don't refer to NOTES.
69349         * manual/creature.texi: Don't include macros.texi.
69350         * manual/intro.texi (creature.texi): Remove comment referring to
69351         NOTES.
69353         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69354         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69355         * configure: Regenerated.
69356         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69357         LIBC_TRY_CC_OPTION.
69358         (libc_cv_as_i686): Likewise.
69359         (libc_cv_cc_avx): Likewise.
69360         (libc_cv_cc_sse2avx): Likewise.
69361         (libc_cv_cc_fma4): Likewise.
69362         (libc_cv_cc_novzeroupper): Likewise.
69363         * sysdeps/i386/configure: Regenerated.
69365         [BZ #13883]
69366         * sysdeps/i386/fpu/s_cexp.S: Remove.
69367         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69368         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69369         * math/libm-test.inc (cexp_test): Add more tests.
69370         * sysdeps/i386/fpu/libm-test-ulps: Update.
69371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69373 2012-03-21  Allan McRae  <allan@archlinux.org>
69375         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69377 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69379         [BZ #13871]
69380         * math/w_exp2.c: Do not include <float.h>.
69381         (o_threshold, u_threshold): Remove.
69382         (__exp2): Calculate result before checking finiteness and calling
69383         __kernel_standard.
69384         * math/w_exp2f.c: Likewise.
69385         * math/w_exp2l.c: Likewise.
69386         * math/libm-test.inc (exp2_test): Require overflow exception for
69387         1e6 input.
69389         [BZ #3866]
69390         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69391         range of signed 64-bit integers before using fistpll.  Remove
69392         checks for whether integers fit in mantissa bits.
69393         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69394         the range of signed 32-bit integers before using fistpl.  Remove
69395         checks for whether integers fit in mantissa bits.
69396         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69397         (__ieee754_powl): Test for y outside the range of signed 64-bit
69398         integers before using fistpll.  Reduce 64-bit values to 63-bit
69399         ones as needed.
69400         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69401         divide-by-zero is raised for zero to large negative powers.
69402         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69403         (__ieee754_powl): Test for y outside the range of signed 64-bit
69404         integers before using fistpll.  Reduce 64-bit values to 63-bit
69405         ones as needed.
69406         * math/libm-test.inc (pow_test): Add more tests.
69408 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69410         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69411         <stdio-common/_itoa.h>.
69412         * debug/segfault.c: Likewise.
69413         * elf/dl-cache.c: Likewise.
69414         * elf/dl-minimal.c: Likewise.
69415         * elf/dl-misc.c: Likewise.
69416         * elf/dl-sysdep.c: Likewise.
69417         * elf/dl-version.c: Likewise.
69418         * elf/rtld.c: Likewise.
69419         * hurd/hurdsock.c: Likewise.
69420         * hurd/lookup-retry.c: Likewise.
69421         * malloc/malloc.c: Likewise.
69422         * malloc/mtrace.c: Likewise.
69423         * nscd/nscd_getgr_r.c: Likewise.
69424         * nscd/nscd_getpw_r.c: Likewise.
69425         * nscd/nscd_getserv_r.c: Likewise.
69426         * posix/getopt_init.c: Likewise.
69427         * posix/wordexp.c: Likewise.
69428         * stdio-common/_itoa.c: Likewise.
69429         * stdio-common/printf_fphex.c: Likewise.
69430         * stdio-common/vfprintf.c: Likewise.
69431         * string/_strerror.c: Likewise.
69432         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69433         * sysdeps/i386/i686/hp-timing.h: Likewise.
69434         * sysdeps/mach/_strerror.c: Likewise.
69435         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69436         * sysdeps/mach/hurd/sethostid.c: Likewise.
69437         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69438         * sysdeps/mach/xpg-strerror.c: Likewise.
69439         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69440         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69441         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69442         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69443         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69444         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69445         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69446         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69447         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69448         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69449         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69450         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69451         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69452         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69453         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69454         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69455         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69456         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69457         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69458         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69459         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69461         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69463         * stdio-common/_itoa.h: Moved to ...
69464         * sysdeps/generic/_itoa.h: Here.
69466         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69468         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69469         instead of "_itoa.h" and "_itowa.h".
69470         * stdio-common/vfprintf.: Likewise.
69472 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69474         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69475         <bits/wordsize.h>.
69476         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69477         (__signbit): Likwise.
69478         (llrintf): Likwise.
69479         (llrint): Likwise.
69481 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69483         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69484         __WORDSIZE != 64.
69486 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69488         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69489         OVERFLOW_EXCEPTION_OK.
69490         * math/libm-test.inc ("Philosophy"): Update comment about
69491         exception testing.
69492         (OVERFLOW_EXCEPTION): Define.
69493         (OVERFLOW_EXCEPTION_OK): Likewise.
69494         (INVALID_EXCEPTION_OK): Renumber.
69495         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69496         (IGNORE_ZERO_INF_SIGN): Likewise.
69497         (test_exceptions): Handle FE_OVERFLOW.
69498         (exp10_test): Expect overflow exceptions.
69499         (exp2_test): Likewise.
69500         (expm1_test): Likewise.
69501         (nextafter_test): Likewise.
69502         (pow_test): Likewise.
69503         (scalbn_test): Likewise.
69504         (scalbln_test): Likewise.
69506 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69508         * sysdeps/x86_64/bits/atomic.h
69509         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69510         64bit integer.
69511         (atomic_exchange_acq): Likewise.
69512         (__arch_exchange_and_add_body): Likewise.
69513         (__arch_add_body): Likewise.
69514         (atomic_add_negative): Likewise.
69515         (atomic_add_zero): Likewise.
69517 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69519         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69520         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69522 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69524         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69525         Check __x86_64__ instead of __WORDSIZE.
69527 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69529         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69531 2012-03-19  David S. Miller  <davem@davemloft.net>
69533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69535         * sysdeps/sparc/fpu/fenv_private.h: New file.
69536         * sysdeps/sparc/fpu/math_private.h: Use it.
69537         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69538         Remove.
69539         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69540         (libc_feholdexcept_setroundl): Remove.
69541         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69542         Remove.
69543         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69544         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69546 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69548         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69549         int64_t instead of long int.
69550         (INSERT_WORDS64): Likwise.
69552 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69554         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69555         _Unwind_GetCFA return to _Unwind_Ptr first.
69557 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69559         [BZ #13629]
69560         * math/s_clog.c: Include <float.h>.
69561         (__clog): Scale large or subnormal inputs.
69562         * math/s_clogf.c: Likewise.
69563         * math/s_clogl.c: Likewise.
69564         * math/s_clog10.c: Include <float.h>.
69565         (M_LOG10_2): Define.
69566         (__clog10): Scale large or subnormal inputs.
69567         * math/s_clog10f.c: Likewise.
69568         * math/s_clog10l.c: Likewise.
69569         * math/libm-test.inc (clog_test): Add more tests.
69570         (clog10_test): Likewise.
69571         * sysdeps/i386/fpu/libm-test-ulps: Update.
69572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69574         [BZ #11451]
69575         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69576         x and y.
69577         * math/libm-test.inc (atan2_test): Add another test.
69579         * Makerules (common-objdir-compile): Remove.
69580         * sysdeps/unix/Makefile (config-generated): Do not add
69581         $(unix-generated) to variable.
69582         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69583         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69584         Remove rule.
69585         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69586         Likewise.
69587         [generic bits/local_lim.h] (before-compile): Do not append to
69588         variable.
69589         [generic bits/local_lim.h] (common-generated): Likewise.
69590         [generic sys/param.h] (before-compile): Do not append to variable.
69591         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69592         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69593         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69594         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69595         include.
69596         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69597         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69598         [generic sys/param.h] ($(addprefix
69599         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69600         [generic sys/param.h] (common-generated): Do not append to
69601         variable.
69602         [generic sys/param.h] (sysdep_headers): Likewise.
69603         [generic bits/errno.h] (before-compile): Do not append to
69604         variable.
69605         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69606         rule.
69607         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69608         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69609         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69610         [generic bits/errno.h] (common-generated): Do not append to
69611         variable.
69612         [generic bits/ioctls.h] (before-compile): Do not append to
69613         variable.
69614         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69615         rule.
69616         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69617         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69618         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69619         rule.
69620         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69621         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69622         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69623         [generic bits/ioctls.h] (common-generated): Do not append to
69624         variable.
69625         [generic sys/syscall.h] (syscall.h): Remove variable.
69626         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69627         rule.
69628         [generic sys/syscall.h] (before-compile): Do not append to
69629         variable.
69630         [generic sys/syscall.h] (common-generated): Likewise.
69631         * sysdeps/unix/errnos-tmpl.c: Remove file.
69632         * sysdeps/unix/errnos.awk: Likewise.
69633         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69634         * sysdeps/unix/ioctls.awk: Likewise.
69635         * sysdeps/unix/mk-local_lim.c: Likewise.
69636         * sysdeps/unix/snarf-ioctls: Likewise.
69638 2012-03-19  Richard Henderson  <rth@twiddle.net>
69640         * sysdeps/i386/fpu/fenv_private.h: New file.
69641         * sysdeps/i386/fpu/math_private.h: Use it.
69642         (math_opt_barrier, math_force_eval): Remove.
69643         (libc_feholdexcept_setround_53bit): Remove.
69644         (libc_feupdateenv_53bit): Remove.
69645         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69646         (math_opt_barrier, math_force_eval): Remove.
69647         (libc_feholdexcept): Remove.
69648         (libc_feholdexcept_setround): Remove.
69649         (libc_fetestexcept, libc_fesetenv): Remove.
69650         (libc_feupdateenv_test): Remove.
69651         (libc_feupdateenv, libc_feholdsetround): Remove.
69652         (libc_feresetround): Remove.
69654         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69655         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69657         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69658         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69659         (libc_feupdateenv_testl): New.
69660         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69661         (libc_feupdateenv_testf): New.
69662         (libc_feupdateenv): Use libc_feupdateenv_test.
69663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69664         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69666         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69667         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69668         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69669         (libc_feresetround_noex): New.
69670         (libc_feresetround_noexf): New.
69671         (libc_feresetround_noexl): New.
69672         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69673         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69674         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69675         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69676         SET_RESTORE_ROUND.
69677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69678         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69679         (__cos): Likewise.
69680         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69681         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69682         SET_RESTORE_ROUND_NOEX.
69683         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69684         SET_RESTORE_ROUND_NOEXF.
69685         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69686         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69687         (libc_feholdsetroundf): New.
69688         (libc_feresetround, libc_feresetroundf): New.
69690         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69691         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69692         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69694         * sysdeps/generic/math_private.h: Include <fenv.h>.
69695         (default_libc_feholdexcept): New.
69696         (default_libc_feholdexcept_setround): New.
69697         (default_libc_fesetenv, default_libc_feupdateenv): New.
69698         (libc_feholdexcept): Only define if undefined.
69699         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69700         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69701         (libc_feholdexcept_setroundl): Likewise.
69702         (libc_feholdexcept_setround_53bit): Likewise.
69703         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69704         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69705         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69706         (libc_feupdateenv_53bit): Likewise.
69707         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69708         (libc_feholdexcept): Convert from macro to inline function.
69709         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69710         (libc_fesetenv, libc_feupdateenv): Likewise.
69712         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69713         not previously defined.
69714         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69715         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69716         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69717         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69718         * sysdeps/ieee754/flt-32/math_private.h: New file.
69719         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69720         math_private.h below SET_FLOAT_WORD.
69721         (__isnan, __isinf_ns, __finite): Remove.
69722         (__isnanf, __isinf_nsf, __finitef): Remove.
69724 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69728 2012-03-17  David S. Miller  <davem@davemloft.net>
69730         [BZ #6471]
69731         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69732         for 2.16.
69734 2012-03-16  David S. Miller  <davem@davemloft.net>
69736         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69737         warnings.
69739         [BZ #6471]
69740         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69741         properly.
69742         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69743         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69744         sysdep_routines when subdir is sysvipc.
69745         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69746         __getshmlba helper.
69748         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69750 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69752         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69753         [__LP64__].
69755 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69757         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69758         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69759         (__lround): Renamed to ...
69760         (__llround): This.  Replace long int with long long int.
69761         Define lround functions as aliases of llround functions.
69762         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69764 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69766         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69767         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69768         adresses to uintptr_t.  Replace "long int" and "unsigned long
69769         int" with "greg_t" on va_arg.
69771 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69773         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69774         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69776         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69777         Move e_machine check before EI_CLASS check.  Handle x32
69778         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69779         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69780         SKIP_EM_IA_64 and include
69781         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69783         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69784         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69785         (add_system_dir): New macro.
69787         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69788         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69790 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69792         [BZ #2551]
69793         [BZ #2552]
69794         [BZ #2553]
69795         [BZ #2554]
69796         [BZ #2562]
69797         [BZ #2563]
69798         [BZ #2565]
69799         [BZ #2566]
69800         [BZ #2576]
69801         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69802         (y0): Likewise.
69803         * math/w_j0f.c (j0f): Likewise.
69804         (y0f): Likewise.
69805         * math/w_j0l.c (__j0l): Likewise.
69806         (__y0l): Likewise.
69807         * math/w_j1.c (j1): Likewise.
69808         (y1): Likewise.
69809         * math/w_j1f.c (j1f): Likewise.
69810         (y1f): Likewise.
69811         * math/w_j1l.c (__j1l): Likewise.
69812         (__y1l): Likewise.
69813         * math/w_jn.c (jn): Likewise.
69814         (yn): Likewise.
69815         * math/w_jnf.c (jnf): Likewise.
69816         (ynf): Likewise.
69817         * math/w_jnl.c (__jnl): Likewise.
69818         (__ynl): Likewise.
69819         * math/libm-test.inc (j0_test): Add more tests.
69820         (j1_test): Likewise.
69821         (jn_test): Likewise.  Add trailing semicolon to existing test.
69822         (y0_test): Likewise.
69823         (y1_test): Likewise.
69824         * sysdeps/i386/fpu/libm-test-ulps: Update.
69825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69827         [BZ #13851]
69828         [BZ #13854]
69829         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69830         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69831         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69832         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69833         (__tanl): Set errno for infinite argument.
69834         * sysdeps/i386/fpu/mptan.c: Remove.
69835         * sysdeps/i386/fpu/s_tan.S: Likewise.
69836         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69837         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69838         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69839         * math/libm-test.inc (tan_test): Add more tests and enable more
69840         tests for double and long double.
69841         * sysdeps/i386/fpu/libm-test-ulps: Update.
69842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69844 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69846         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69847         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69849 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69851         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69852         * configure.in: Use it for both main tree and add-ons.
69853         * configure: Regenerated.
69855 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69857         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69859 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69861         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69862         in comment.
69864         [BZ #13851]
69865         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69866         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69867         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69869         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69870         infinite argument.
69871         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69873         != 0 for prec == 2.
69874         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69875         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69876         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69877         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69878         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69879         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69880         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69881         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69882         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69883         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69884         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69885         * math/libm-test.inc (cos_test): Add more tests and enable more
69886         tests for long double.
69887         (sin_test): Likewise.
69888         (sincos_test): Likewise.
69889         * sysdeps/i386/fpu/libm-test-ulps: Update.
69890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69892 2012-03-16  David S. Miller  <davem@davemloft.net>
69894         * sysdeps/sparc/fpu/math_private.h: New file.
69896 2012-03-15  David S. Miller  <davem@davemloft.net>
69898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69899         file.
69900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69902         file.
69903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69908         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69909         sysdep routines.
69910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69912         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69913         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69915         * sysdeps/sparc/sparc-ifunc.h: New file.
69916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69917         sparc-ifunc.h
69918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69920         Likewise.
69921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69922         Likewise.
69923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69927         Likewise.
69928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69933         Likewise.
69934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69935         Likewise.
69936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69942         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69943         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69955         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69956         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69957         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69958         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69959         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69961 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69963         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69964         scaling.
69965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69967 2012-03-15  Andreas Jaeger  <aj@suse.de>
69969         [BZ #13852]
69970         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69971         ieee754/flt-32 implementation for sin, cos and sincos.
69972         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69973         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69974         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69975         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69976         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69977         ieee754/flt-32 implementation for tan.
69979         * math/libm-test.inc (cos_test): Enable some large input tests for
69980         float as well
69981         (sin_test): Likewise.
69982         (sincos_test): Likewise.
69983         (tan_test): Add tests for large input.
69985         * sysdeps/i386/fpu/libm-test-ulps: Update.
69987 2012-03-15  Andreas Jaeger  <aj@suse.de>
69989         [BZ #13658]
69990         * math/libm-test.inc (cos_test): Add more test cases.
69991         (sin_test): Likewise.
69992         (sincos_test): Likewise.
69994 2012-03-15  Andreas Jaeger  <aj@suse.de>
69996         [BZ #13837]
69997         * math/libm-test.inc (cos_test): Add a test case for large input
69998         value.
69999         (sin_test): Likewise.
70000         (sincos_test): Likewise.
70002 2012-03-15  Andreas Jaeger  <aj@suse.de>
70003             Joseph Myers  <joseph@codesourcery.com>
70005         [BZ #13658]
70006         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70007         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70008         * sysdeps/i386/fpu/branred.c: Likewise.
70009         * sysdeps/i386/fpu/dosincos.c: Likewise.
70010         * sysdeps/i386/fpu/mpa.c: Likewise.
70011         * sysdeps/i386/fpu/s_cos.S: Likewise.
70012         * sysdeps/i386/fpu/s_sin.S: Likewise.
70013         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70014         * sysdeps/i386/fpu/sincos32.c: Likewise.
70016         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70017         Define.
70018         (libc_feupdateenv_53bit): Define.
70019         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70020         Define.
70021         (libc_feupdateenv_53bit): Define.
70023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70024         53 bit (without extend i386 double precision).
70026         * math/libm-test.inc (sincos_test): Add tests for large input.
70027         (sin): Likewise.
70028         (cos): Likewise.
70030         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70032 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70036 2012-03-15  David S. Miller  <davem@davemloft.net>
70038         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70039         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70040         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70041         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70054         file.
70055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70057         file.
70058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70060         file.
70061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70063         file.
70064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70065         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70066         fmin/fmax sysdep routines.
70067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70069 2012-03-14  David S. Miller  <davem@davemloft.net>
70071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70073         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70074         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70075         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70076         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70077         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70078         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70081         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70082         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70087         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70088         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70089         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70090         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70091         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70092         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70093         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70094         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70095         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70096         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70097         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70098         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70099         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70100         routines.
70101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70102         file.
70103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70105         file.
70106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70108         file.
70109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70111         file.
70112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70114         file.
70115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70117         file.
70118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70119         file.
70120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70121         file.
70122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70123         file.
70124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70125         New file.
70126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70127         file.
70128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70129         file.
70130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70132         file.
70133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70135         file.
70136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70138         file.
70139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70141         VIS3 routines.
70143         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70144         New file.
70146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70148         * sysdeps/sparc/configure.in: New file.
70149         * sysdeps/sparc/configure: Generate.
70150         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70151         * configure: Regenerate.
70152         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70153         * config.make.in (have-as-vis3): New.
70154         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70155         available use -Av9d instead of -Av9a.
70156         * sysdeps/sparc/sparc64/Makefile: Likewise.
70157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70159         New file.
70160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70161         file.
70162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70163         New file.
70164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70165         file.
70166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70168         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70169         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70170         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70172         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70173         fzeros/fnegs to load 0x80000000 into a float register instead of
70174         using the stack.
70175         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70177 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70180         bits/syscall.h.
70181         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70182         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70183         ($(inst_includedir)/bits/syscall.h): Remove rule.
70184         ($(objpfx)bits/syscall.d): Include instead of
70185         $(objpfx)syscall-list.d.
70186         (generated): Change syscall-list.h and syscall-list.d to
70187         bits/syscall.h and bits/syscall.d.
70189 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70191         [BZ #13846]
70192         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70194 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70196         [BZ #13841]
70197         * math/s_csqrt.c: Include <float.h>.
70198         (__csqrt): Scale large or subnormal inputs.
70199         * math/s_csqrtf.c: Likewise.
70200         * math/s_csqrtl.c: Likewise.
70201         * math/libm-test.inc (csqrt_test): Add more tests.
70202         * sysdeps/i386/fpu/libm-test-ulps: Update.
70203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70205         [BZ #13840]
70206         * math/libm-test.inc (hypot_test): Add more tests.
70208 2012-03-13  David S. Miller  <davem@davemloft.net>
70210         [BZ #13840]
70211         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70212         double-precision for the calculation instead of scaling.
70214 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70216         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70217         manipulate bits before adding and subtracting TWO52[sx].
70218         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70219         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70220         Likewise.
70221         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70223 2012-03-13  David S. Miller  <davem@davemloft.net>
70225         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70226         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70227         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70228         rtld-global-offsets.h
70229         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70231         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70232         large parameters.
70234         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70236         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70237         'err' in the ifdef scope in which it is actually used.
70239         * nss/nss_db/db-init.c: Include string.h
70241 2012-03-12  David S. Miller  <davem@davemloft.net>
70243         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70244         masking out of the most significant byte of random value used.
70245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70246         Fix coding style in previous change.
70248         * sysdeps/unix/sysv/linux/kernel-features.h
70249         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70250         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70251         expression.
70252         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70253         later.
70255 2012-03-11  David S. Miller  <davem@davemloft.net>
70257         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70258         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70259         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70260         for 'resultvar' otherwise things get truncated on 64-bit.
70262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70263         Fix masking out of the most significant byte of random value used.
70265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70267 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70271 2012-03-09  David S. Miller  <davem@davemloft.net>
70273         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70274         variables with appropriate CPP guards.
70275         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70276         from the frame pointer, not the stack pointer.  Correct layout
70277         comments.  Fix test on resulting framesize and the management of
70278         the outregs buffer for pltexit.  Preserve floating point return
70279         values across _dl_call_pltexit call.
70280         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70281         framesize and the management of the outregs buffer for pltexit.
70282         Preserve floating point return values across _dl_call_pltexit
70283         call.
70284         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70285         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70286         (la_sparc64_gnu_pltexit): New functions.
70287         (print_exit): Fix format string for return register value.
70289 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70291         * sunrpc/Makefile (others): Add rpcgen.
70292         ($(objpfx)rpcgen): Remove special build rule and dependency on
70293         libc.
70294         * sunrpc/rpcgen.c: New file.
70296 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70298         [BZ #13673]
70299         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70300         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70301         * sysdeps/i386/crti.S: Likewise.
70302         * sysdeps/i386/crtn.S: Likewise.
70303         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70304         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70305         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70306         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70307         * sysdeps/sh/crti.S: Likewise.
70308         * sysdeps/sh/crtn.S: Likewise.
70309         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70311         [BZ #13673]
70312         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70313         with URL.
70314         * locale/programs/locfile-kw.gperf: Likewise.
70315         * locale/programs/charmap-kw.h: Regenerated.
70316         * locale/programs/locfile-kw.h: Likewise.
70318         [BZ #13673]
70319         * intl/plural.y: Replace FSF snail mail address with URL.
70320         * intl/plural.c: Regenerated.
70322 2012-03-09  Richard Henderson  <rth@twiddle.net>
70324         * include/math_private.h: Remove file.
70325         * math/math_private.h: Move file ...
70326         * sysdeps/generic/math_private.h: ... here.
70328         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70329         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70330         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70332         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70333         and <math_private.h>.
70334         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70335         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70336         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70337         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70338         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70339         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70340         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70342         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70343         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70345         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70346         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70347         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70348         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70349         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70350         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70351         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70352         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70353         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70355         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70356         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70358         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70359         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70360         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70361         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70362         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70363         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70364         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70366         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70367         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70368         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70369         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70370         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70371         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70372         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70373         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70374         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70375         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70376         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70377         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70378         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70379         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70380         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70381         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70382         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70383         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70384         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70385         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70386         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70387         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70388         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70389         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70390         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70391         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70392         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70393         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70394         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70395         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70396         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70397         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70398         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70399         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70400         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70401         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70402         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70403         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70404         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70405         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70407         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70408         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70410         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70411         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70412         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70413         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70414         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70415         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70416         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70417         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70418         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70420         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70421         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70422         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70423         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70424         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70425         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70426         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70427         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70428         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70429         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70430         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70431         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70432         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70434         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70435         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70436         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70437         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70438         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70439         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70440         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70441         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70442         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70444         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70445         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70446         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70447         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70448         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70449         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70450         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70451         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70452         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70453         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70454         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70455         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70456         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70457         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70458         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70459         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70460         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70461         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70462         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70463         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70464         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70465         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70466         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70467         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70468         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70469         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70470         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70471         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70472         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70473         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70474         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70475         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70476         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70477         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70478         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70479         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70480         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70481         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70482         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70483         * sysdeps/ieee754/k_standard.c: Likewise.
70484         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70485         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70486         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70487         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70488         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70489         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70490         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70491         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70492         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70493         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70494         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70495         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70496         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70497         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70498         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70499         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70500         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70501         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70502         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70503         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70504         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70505         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70507         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70508         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70509         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70510         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70511         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70512         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70513         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70514         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70515         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70516         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70517         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70518         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70519         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70520         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70521         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70522         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70523         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70524         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70525         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70526         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70527         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70528         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70529         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70530         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70532         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70533         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70534         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70535         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70536         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70537         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70538         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70539         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70540         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70541         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70542         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70543         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70544         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70545         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70546         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70547         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70548         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70550         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70553         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70558         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70571         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70585         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70586         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70587         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70588         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70589         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70590         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70595         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70599         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70600         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70602         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70603         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70604         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70605         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70606         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70608         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70609         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70610         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70611         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70612         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70613         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70614         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70615         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70616         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70617         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70618         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70619         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70620         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70621         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70622         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70623         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70624         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70625         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70626         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70627         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70628         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70632         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70633         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70634         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70637         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70638         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70639         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70640         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70641         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70642         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70643         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70644         * sysdeps/ieee754/s_lib_version.c: Likewise.
70645         * sysdeps/ieee754/s_matherr.c: Likewise.
70646         * sysdeps/ieee754/s_signgam.c: Likewise.
70647         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70648         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70649         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70650         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70651         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70652         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70653         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70654         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70655         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70656         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70657         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70658         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70659         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70660         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70661         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70662         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70663         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70664         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70665         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70667         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70669 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70671         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70672         * sunrpc/rpc_main.c: Likewise.
70673         * sunrpc/rpc_svcout.c: Likewise.
70675 2012-03-09  David S. Miller  <davem@davemloft.net>
70677         * include/math_private.h: New file.
70679 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70681         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70682         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70683         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70684         from <bits/socket_type.h>.
70685         (enum __socket_type): Don't define here.
70686         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70688         bits/socket_type.h.
70690         [BZ #13566]
70691         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70692         checking __USE_GNU.
70694         * Makerules ($(inst_includedir)/%.h): New rule.
70695         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70696         (install-others): Remove variable setting.
70697         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70699 2012-03-08  Richard Henderson  <rth@twiddle.net>
70701         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70702         from macro to inline function; merge with the
70703         !__LIBC_INTERNAL_MATH_INLINES version.
70704         (__ieee754_sqrtf): Likewise.
70706         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70707         to inline function.
70708         (__rintf, __floor, __floorf): Likewise.
70710         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70711         macro to inline function.
70712         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70714         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70715         not <math/math_private.h>.
70717 2012-03-08  David S. Miller  <davem@davemloft.net>
70719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70720         copyright year.
70721         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70723 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70725         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70726         normalization.
70727         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70728         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70730 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70732         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70733         be defined individually, they must be defined as a block.  Define
70734         S for printing a string instead of hidint the different by using a
70735         macro for adding the 'l'.
70736         * stdio-common/tst-fphex-wide.c: Adjust.
70738 2012-03-07  Marek Polacek  <polacek@redhat.com>
70740         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70742 2012-03-08  Marek Polacek  <polacek@redhat.com>
70744         [BZ #13806]
70745         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70746         * stdio-common/tst-fphex.c: Define a few macros to make the
70747         test reusable.  Use them.
70748         * stdio-common/tst-fphex-wide.c: New file.
70750 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70752         [BZ #6911]
70753         * manual/macros.texi (gnusystems): New macro.
70754         (nongnusystems): Likewise.
70755         (gnulinuxhurdsystems): Likewise.
70756         (gnuhurdsystems): Likewise..
70757         (gnulinuxsystems): Likewise.
70758         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70759         variants of the GNU system, not "GNU system".
70760         * manual/conf.texi: Likewise.
70761         * manual/errno.texi: Likewise.  Update example of errno macro
70762         expansion.
70763         * manual/filesys.texi: Likewise.
70764         (getumask): Document as specific to GNU/Hurd.
70765         * manual/install.texi: Likewise.  Reword some references to
70766         GNU/Linux.
70767         * manual/intro.texi: Likewise.
70768         * manual/io.texi: Likewise.
70769         (File Name Portability): Detail which constraints are inapplicable
70770         to all GNU systems and which are only inapplicable to GNU/Hurd.
70771         * manual/job.texi: Likewise.
70772         * manual/llio.texi: Likewise.
70773         (O_NOCTTY): Document as present on GNU/Linux.
70774         * manual/maint.texi: Likewise.
70775         * manual/memory.texi: Likewise.
70776         * manual/pattern.texi: Likewise.
70777         * manual/pipe.texi: Likewise.
70778         * manual/process.texi: Likewise.
70779         * manual/resource.texi: Likewise.
70780         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70781         child on GNU/Hurd.
70782         * manual/setjmp.texi: Likewise.
70783         * manual/signal.texi: Likewise.
70784         * manual/startup.texi: Likewise.
70785         * manual/stdio.texi: Likewise.
70786         * manual/terminal.texi: Likewise.
70787         (ONLCR): Document as POSIX.
70788         (OXTABS): Document availability on GNU/Linux as XTABS.
70789         (ONOEOT): Document availability separately from other bits.
70790         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70791         * manual/time.texi: Likewise.
70792         * manual/users.texi: Likewise.
70793         * INSTALL: Regenerated.
70794         * sysdeps/gnu/errlist.c: Regenerated.
70796         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70797         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70798         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70799         puts.
70800         * configure: Regenerated.
70802 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70804         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70805         default includes instead of AC_HEADER_CHECK.
70806         * sysdeps/i386/configure: Regenerated.
70808         [BZ #10716]
70809         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70810         * math/s_cacoshf.c (__cacoshf): Likewise.
70811         * math/s_cacoshl.c (__cacoshl): Likewise.
70812         * math/s_casinh.c (__casinh): Set signs of result from argument.
70813         * math/s_casinhf.c (__casinhf): Likewise.
70814         * math/s_casinhl.c (__casinhl): Likewise.
70815         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70816         (casinh_test): Add more tests.
70817         * sysdeps/i386/fpu/libm-test-ulps: Update.
70818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70820 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70822         * po/zh_TW.po: Update from translation team.
70824         * login/Makefile (distribute): Remove variable.
70825         * catgets/Makefile: Likewise.
70826         * mach/Makefile: Likewise.
70827         * malloc/Makefile: Likewise.
70828         * misc/Makefile: Likewise.
70829         * iconv/Makefile: Likewise.
70830         * nscd/Makefile: Likewise.
70831         * hurd/Makefile: Likewise.
70832         * manual/Makefile: Likewise.
70833         * locale/Makefile: Likewise.
70834         * intl/Makefile: Likewise.
70835         * conform/Makefile: Likewise.
70836         * nss/Makefile: Likewise.
70837         * time/Makefile: Likewise.
70838         * soft-fp/Makefile: Likewise.
70839         * dirent/Makefile: Likewise.
70840         * gmon/Makefile: Likewise.
70841         * po/Makefile: Likewise.
70842         * rt/Makefile: Likewise.
70843         * socket/Makefile: Likewise.
70844         * math/Makefile: Likewise.
70845         * signal/Makefile: Likewise.
70846         * debug/Makefile: Likewise.
70847         * elf/Makefile: Likewise.
70848         * timezone/Makefile: Likewise.
70849         * stdlib/Makefile: Likewise.
70850         * iconvdata/Makefile: Likewise.
70851         * sunrpc/Makefile: Likewise.
70852         * io/Makefile: Likewise.
70853         * argp/Makefile: Likewise.
70854         * inet/Makefile: Likewise.
70855         * hesiod/Makefile: Likewise.
70856         * grp/Makefile: Likewise.
70857         * csu/Makefile: Likewise.
70858         * wctype/Makefile: Likewise.
70859         * crypt/Makefile: Likewise.
70860         * libio/Makefile: Likewise.
70861         * string/Makefile: Likewise.
70862         * nis/Makefile: Likewise.
70863         * resolv/Makefile: Likewise.
70864         * stdio-common/Makefile: Likewise.
70865         * wcsmbs/Makefile: Likewise.
70866         * dlfcn/Makefile: Likewise.
70867         * posix/Makefile: Likewise.
70869         [BZ #6959]
70870         * timezone/Makefile: Don't install timezone files, just the programs
70871         and scripts.
70873 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70875         * nss/databases.def: Add missing gshadow entry.
70877         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70879 2012-03-06  Marek Polacek  <polacek@redhat.com>
70881         [BZ #13726]
70882         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70883         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70884         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70885         * stdio-common/tst-long-dbl-fphex.c: New file.
70887 2012-03-06  David S. Miller  <davem@davemloft.net>
70889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70890         (set_obp_int): New function.
70891         (get_obp_int): New function.
70892         (__get_clockfreq_via_dev_openprom): Likewise.
70893         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70894         Avoid unused variable warnings on 'val' and use builtin_expect.
70895         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70896         __builtin_expect.
70897         (INLINE_CLONE_SYSCALL): Likewise.
70899 2012-03-05  David S. Miller  <davem@davemloft.net>
70901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70903 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70908         only for |x| >= 40.
70909         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70911 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70914         Replace gettimeofday with __vdso_gettimeofday.
70916         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70917         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70918         __vdso_clock_gettime and __vdso_getcpu.
70920         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70921         time with __vdso_time.
70923 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70925         * manual/lang.texi (size_t): Note types to which size_t may be
70926         equivalent with the GNU C Library, but do not describe when
70927         differences between them are significant.
70929 2012-03-05  Andreas Jaeger  <aj@suse.de>
70931         * sysdeps/i386/fpu/libm-test-ulps: Update.
70933 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70935         [BZ #3976]
70936         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70937         (__ieee754_pow): Save and restore rounding mode and use
70938         round-to-nearest for main computations.
70939         * math/libm-test.inc (pow_test_tonearest): New function.
70940         (pow_test_towardzero): Likewise.
70941         (pow_test_downward): Likewise.
70942         (pow_test_upward): Likewise.
70943         (main): Call the new functions.
70944         * sysdeps/i386/fpu/libm-test-ulps: Update.
70945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70947         [BZ #3976]
70948         * math/libm-test.inc (cosh_test_tonearest): New function.
70949         (cosh_test_towardzero): Likewise.
70950         (cosh_test_downward): Likewise.
70951         (cosh_test_upward): Likewise.
70952         (sinh_test_tonearest): Likewise.
70953         (sinh_test_towardzero): Likewise.
70954         (sinh_test_downward): Likewise.
70955         (sinh_test_upward): Likewise.
70956         (main): Call the new functions.
70957         * sysdeps/i386/fpu/libm-test-ulps: Update.
70958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70960 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70962         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70963         default stack guard is set in last bytes.
70964         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70966 2012-03-05  Kees Cook  <keescook@chromium.org>
70968         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70970         [BZ #13656]
70971         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70972         possibly allocate from heap instead of stack.
70973         * stdio-common/bug-vfprintf-nargs.c: New file.
70974         * stdio-common/Makefile (tests): Add nargs overflow test.
70976 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70980 2012-03-03  Marek Polacek  <polacek@redhat.com>
70982         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70983         * math/math_private.h: Likewise.
70984         * stdlib/tst-strtod.c: Likewise.
70985         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70986         * sysdeps/x86_64/bits/atomic.h: Likewise.
70988 2012-03-02  David S. Miller  <davem@davemloft.net>
70990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70994         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70995         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70996         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70997         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70999 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71001         [BZ #13792]
71002         * manual/examples/README: New file, says the example source files
71003         can be used under GPL>=2.
71004         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71005         line containing just "*/".
71006         * manual/examples/add.c: Add copyright header (GPL>=2).
71007         * manual/examples/argp-ex1.c: Likewise.
71008         * manual/examples/argp-ex2.c: Likewise.
71009         * manual/examples/argp-ex3.c: Likewise.
71010         * manual/examples/argp-ex4.c: Likewise.
71011         * manual/examples/atexit.c: Likewise.
71012         * manual/examples/db.c: Likewise.
71013         * manual/examples/dir.c: Likewise.
71014         * manual/examples/dir2.c: Likewise.
71015         * manual/examples/execinfo.c: Likewise.
71016         * manual/examples/filecli.c: Likewise.
71017         * manual/examples/filesrv.c: Likewise.
71018         * manual/examples/fmtmsgexpl.c: Likewise.
71019         * manual/examples/genpass.c: Likewise.
71020         * manual/examples/inetcli.c: Likewise.
71021         * manual/examples/inetsrv.c: Likewise.
71022         * manual/examples/isockad.c: Likewise.
71023         * manual/examples/longopt.c: Likewise.
71024         * manual/examples/memopen.c: Likewise.
71025         * manual/examples/memstrm.c: Likewise.
71026         * manual/examples/mkfsock.c: Likewise.
71027         * manual/examples/mkisock.c: Likewise.
71028         * manual/examples/mygetpass.c: Likewise.
71029         * manual/examples/pipe.c: Likewise.
71030         * manual/examples/popen.c: Likewise.
71031         * manual/examples/rprintf.c: Likewise.
71032         * manual/examples/search.c: Likewise.
71033         * manual/examples/select.c: Likewise.
71034         * manual/examples/setjmp.c: Likewise.
71035         * manual/examples/sigh1.c: Likewise.
71036         * manual/examples/sigusr.c: Likewise.
71037         * manual/examples/stpcpy.c: Likewise.
71038         * manual/examples/strdupa.c: Likewise.
71039         * manual/examples/strftim.c: Likewise.
71040         * manual/examples/strncat.c: Likewise.
71041         * manual/examples/subopt.c: Likewise.
71042         * manual/examples/swapcontext.c: Likewise.
71043         * manual/examples/termios.c: Likewise.
71044         * manual/examples/testopt.c: Likewise.
71045         * manual/examples/testpass.c: Likewise.
71046         * manual/examples/timeval_subtract.c: Likewise.
71048         [BZ #13792]
71049         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71050         function to ...
71051         * manual/timeval_subtract.c.texi: ... here, new file.
71053 2012-03-02  David S. Miller  <davem@davemloft.net>
71055         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71057 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71059         [BZ #3976]
71060         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71061         (__sin): Save and restore rounding mode and use round-to-nearest
71062         for all computations.
71063         (__cos): Save and restore rounding mode and use round-to-nearest
71064         for all computations.
71065         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71066         <fenv.h>.
71067         (tan): Save and restore rounding mode and use round-to-nearest for
71068         all computations.
71069         * math/libm-test.inc (cos_test_tonearest): New function.
71070         (cos_test_towardzero): Likewise.
71071         (cos_test_downward): Likewise.
71072         (cos_test_upward): Likewise.
71073         (sin_test_tonearest): Likewise.
71074         (sin_test_towardzero): Likewise.
71075         (sin_test_downward): Likewise.
71076         (sin_test_upward): Likewise.
71077         (tan_test_tonearest): Likewise.
71078         (tan_test_towardzero): Likewise.
71079         (tan_test_downward): Likewise.
71080         (tan_test_upward): Likewise.
71081         (main): Call the new functions.
71082         * sysdeps/i386/fpu/libm-test-ulps: Update.
71083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71085         [BZ #10135]
71086         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71087         small n, then large n, before computing and testing k+n.
71088         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71090         Likewise.
71091         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71092         Likewise.
71093         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71094         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71095         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71096         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71097         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71098         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71100         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71101         * math/libm-test.inc (scalbn_test): Add more tests.
71102         (scalbln_test): Likewise.
71104         * manual/filesys.texi (mode_t): Describe constraints on size and
71105         signedness, not exact equivalence to a particular type.
71106         (ino_t): Likewise.
71107         (ino64_t): Likewise.
71108         (dev_t): Likewise.
71109         (nlink_t): Likewise.
71110         (blkcnt_t): Likewise.
71111         (blkcnt64_t): Likewise.
71112         * manual/llio.texi (off_t): Likewise.
71114         [BZ #3976]
71115         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71116         (__ieee754_exp): Save and restore rounding mode and use
71117         round-to-nearest for all computations.
71118         * math/libm-test.inc (exp_test_tonearest): New function.
71119         (exp_test_towardzero): Likewise.
71120         (exp_test_downward): Likewise.
71121         (exp_test_upward): Likewise.
71122         (main): Call the new functions.
71123         * sysdeps/i386/fpu/libm-test-ulps: Update.
71124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71126 2012-03-01  Chris Demetriou  <cgd@google.com>
71128         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71129         have predictable order.
71131 2012-03-01  David S. Miller  <davem@davemloft.net>
71133         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71135         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71136         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71137         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71138         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71140         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71141         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71142         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71144         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71145         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71146         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71147         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71148         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71152         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71153         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71154         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71156         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71157         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71158         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71159         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71160         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71161         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71162         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71163         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71164         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71165         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71166         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71167         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71168         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71169         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71170         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71172         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71173         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71174         * sysdeps/sparc/elf/configure: Regenerated.
71176 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71178         * configure.in (AS, LD): Require binutils 2.20 or later.
71179         * configure: Regenerated.
71180         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71181         as required minimum version.
71182         * INSTALL: Regenerated.
71184         [BZ #2541]
71185         [BZ #4108]
71186         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71187         before squaring exponent.
71188         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71189         bottom long double and 27 bits of top long double before squaring
71190         exponent.
71191         * math/libm-test.inc (erfc_test): Add more tests.
71192         * sysdeps/i386/fpu/libm-test-ulps: Update.
71193         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71196 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71198         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71199         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71200         containing bit-fields.
71201         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71202         * soft-fp/single.h (_FP_UNION_S): Likewise.
71203         * soft-fp/double.h (_FP_UNION_D): Likewise.
71205 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71207         [BZ #13786]
71208         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71209         not include ../strcmp.S.
71210         [USE_AS_STRNCASECMP_L]: Likewise.
71211         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71212         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71213         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71214         (__strncasecmp_l_ia32): Define as alias to
71215         __strncasecmp_l_nonascii.
71217         [BZ #5794]
71218         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71219         * sysdeps/i386/fpu/libm-test-ulps: Update.
71220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71222         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71225 2012-02-29  Jeff Law  <law@redhat.com>
71227         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71228         out of bounds read.
71230 2012-02-29  Marek Polacek  <polacek@redhat.com>
71232         [BZ #13706]
71233         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71234         * elf/Makefile: Add rules to run tst-unused-dep.out.
71236 2012-02-28  David S. Miller  <davem@davemloft.net>
71238         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71239         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71240         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71241         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71242         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71243         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71245 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71247         * math/libm-test.inc (llround_test): Move one test from
71248         lround_test.  Use TEST_f_L in moved test.
71249         (lround_test): Move misplaced test to llround_test.  Add testcase
71250         from bug 2561.
71252 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71254         * sysdeps/x86_64/fpu/e_expf.S: New file.
71255         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71257 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71259         [BZ #13637]
71260         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71261         of remain_len that may cause incomplete multi-byte character and
71262         false match.
71263         * posix/bug-regex33.c: New file.
71264         * posix/Makefile (tests): Add bug-regex33.
71266 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71268         * manual/macros.texi: New file.
71269         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71270         * manual/libc.texinfo: Include macros.texi.
71271         * manual/creatute.texi: Likewise.
71272         * manual/install.texi: Likewise.
71273         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71274         @glibcadj{} in references to the GNU C Library.
71275         * manual/charset.texi: Likewise.
71276         * manual/conf.texi: Likewise.
71277         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71278         when not using those macros.
71279         * manual/creature.texi: Likewise.
71280         * manual/crypt.texi: Likewise.
71281         * manual/errno.texi: Likewise.
71282         * manual/filesys.texi: Likewise.
71283         * manual/header.texi: Likewise.
71284         * manual/install.texi: Likewise.
71285         * manual/intro.texi: Likewise.
71286         * manual/io.texi: Likewise.
71287         * manual/job.texi: Likewise.
71288         * manual/lang.texi: Likewise.
71289         * manual/libc.texiinfo: Likewise.
71290         * manual/llio.texi: Likewise.
71291         * manual/locale.texi: Likewise.
71292         * manual/maint.texi: Likewise.
71293         * manual/math.texi: Likewise.
71294         * manual/memory.texi: Likewise.
71295         * manual/message.texi: Likewise.
71296         * manual/nss.texi: Likewise.
71297         * manual/pattern.texi: Likewise.
71298         * manual/process.texi: Likewise.
71299         * manual/resource.texi: Likewise.
71300         * manual/search.texi: Likewise.
71301         * manual/setjmp.texi: Likewise.
71302         * manual/signal.texi: Likewise.
71303         * manual/socket.texi: Likewise.
71304         * manual/startup.texi: Likewise.
71305         * manual/stdio.texi: Likewise.
71306         * manual/string.texi: Likewise.
71307         * manual/sysinfo.texi: Likewise.
71308         * manual/syslog.texi: Likewise.
71309         * manual/terminal.texi: Likewise.
71310         * manual/time.texi: Likewise.
71311         * manual/users.texi: Likewise.
71312         * INSTALL: Regenerated.
71313         * NOTES: Regenerated.
71314         * sysdeps/gnu/errlist.c: Regenerated.
71316 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71318         * include/dirent.h: Include <dirstream.h> before
71319         <dirent/dirent.h>.
71321 2012-02-28  David S. Miller  <davem@davemloft.net>
71323         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71324         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71325         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71326         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71328 2012-02-27  David S. Miller  <davem@davemloft.net>
71330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71332         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71333         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71336         frame pointer instead of stack pointer relative arg slot.
71337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71338         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71339         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71341 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71343         [BZ #3992]
71344         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71346 2012-02-27  David S. Miller  <davem@davemloft.net>
71348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71352         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71353         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71354         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71355         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71357 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71359         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71360         later.  Allow versions 5-9.
71361         * configure: Regenerated.
71362         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71363         required minimum version and 4.6 as recommended version.  Do not
71364         mention bugs in GCC 2.7 and 2.8.
71365         * INSTALL: Regenerated.
71367 2012-02-27  David S. Miller  <davem@davemloft.net>
71369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71373         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71374         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71375         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71376         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71378         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71379         manipulate bits before adding and subtracting TWO112[sx].
71380         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71382 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71384         [BZ #13775]
71385         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71386         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71387         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71388         being in POSIX, because they are in 1003.1-2008.
71390         * rt/tst-aio.c: Include <fcntl.h>.
71391         * rt/tst-aio7.c: Likewise.
71392         * rt/tst-aio64.c: Likewise.
71394         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71396 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71398         * manual/install.texi (--with-headers): Describe headers as
71399         interface headers, not private headers.
71400         (Specific advice for GNU/Linux systems): Describe use of headers
71401         from "make headers_install", not private headers from older
71402         kernels.
71403         * INSTALL: Regenerated.
71404         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71405         Change to 2.6.19.
71406         * sysdeps/unix/sysv/linux/configure: Regenerated.
71408         * manual/llio.texi (fclean): Remove documentation.
71410         * manual/Makefile (libc-texi-generated): New variable.  Include
71411         version.texi.
71412         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71413         $(libc-texi-generated), not duplicated list of files.
71414         (version.texi, stamp-version): New rules.
71415         (realclean): Remove $(libc-texi-generated), not individual files
71416         from that list.  Do not remove dir-add.texinfo.
71417         * manual/libc.texinfo: Comment out uses of edition numbers and
71418         references to printed manual.  Remove last-updated dates.
71419         (EDITION): Comment out.
71420         (ISBN): Likewise.
71421         (VERSION, UPDATED): Remove.
71422         (version.texi): Include.
71424 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71426         * sysdeps/posix/spawni.c: Include <signal.h>.
71427         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71428         * sysdeps/pthread/aio_fsync.c: Likewise.
71430 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71432         * conform/Makefile (tests): Run only when not cross-compiling and
71433         when fast-check is not defined.
71435         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71436         * conform/data/limits.h-data: Fixes for POSIX2008.
71437         * conform/run-conformtest.sh: Run all tests.
71438         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71439         headers.
71440         * include/bits/dlfcn.h: Likewise.
71441         * include/langinfo.h: Likewise.
71442         * include/monetary.h: Likewise.
71443         * include/sys/poll.h: Likewise.
71445         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71446         for __USE_GNU.
71447         * posix/spawn.h: Define __need_sigset_t.
71448         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71449         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71450         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71451         to get sigevent_t only.
71452         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71453         only for __USE_GNU.
71454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71455         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71456         process_vm_writev only for __USE_GNU.
71457         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71459         * conform/Makefile: For now ignore errors from run-conformtest.
71460         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71461         POSIX to avoid namespace pollution.  Don't prepend headers.
71462         * conform/data/aio.h-data: Fixes for POSIX testing.
71463         * conform/data/fcntl.h-data: Likewise.
71464         * conform/data/glob.h-data: Likewise.
71465         * conform/data/grp.h-data: Likewise.
71466         * conform/data/pthread.h-data: Likewise.
71467         * conform/data/pwd.h-data: Likewise.
71468         * conform/data/signal.h-data: Likewise.
71469         * conform/data/spawn.h-data: Likewise.
71470         * conform/data/stdio.h-data: Likewise.
71471         * conform/data/stdlib.h-data: Likewise.
71472         * conform/data/stropts.h-data: Likewise.
71473         * conform/data/sys/mman.h-data: Likewise.
71474         * conform/data/sys/stat.h-data: Likewise.
71475         * conform/data/sys/types.h-data: Likewise.
71476         * conform/data/sys/wait.h-data: Likewise.
71477         * conform/data/time.h-data: Likewise.
71478         * conform/data/unistd.h-data: Likewise.
71479         * conform/data/utime.h-data: Likewise.
71481         * io/sys/stat.h: fchmod was always in POSIX.
71482         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71483         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71484         * rt/aio.h: Define __need_timespec before including <time.h>.
71485         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71486         struct.  Add forward declaration of pthread_attr_t and use it in
71487         sigevent.
71488         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71489         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71490         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71491         always remove CLK_TCK definition.
71493 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71495         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71497 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71499         * conform/run-conformtest.sh: New file.
71500         * conform/Makefile: Run run-conformtest for tests.
71501         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71502         support.
71504         * conform/data/uchar.h-data: New file.
71505         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71506         * conform/data/arpa/inet.h-data: Likewise.
71507         * conform/data/assert.h-data: Likewise.
71508         * conform/data/complex.h-data: Likewise.
71509         * conform/data/cpio.h-data: Likewise.
71510         * conform/data/ctype.h-data: Likewise.
71511         * conform/data/dirent.h-data: Likewise.
71512         * conform/data/dlfcn.h-data: Likewise.
71513         * conform/data/errno.h-data: Likewise.
71514         * conform/data/fcntl.h-data: Likewise.
71515         * conform/data/float.h-data: Likewise.
71516         * conform/data/fmtmsg.h-data: Likewise.
71517         * conform/data/fnmatch.h-data: Likewise.
71518         * conform/data/ftw.h-data: Likewise.
71519         * conform/data/glob.h-data: Likewise.
71520         * conform/data/grp.h-data: Likewise.
71521         * conform/data/iconv.h-data: Likewise.
71522         * conform/data/inttypes.h-data: Likewise.
71523         * conform/data/langinfo.h-data: Likewise.
71524         * conform/data/libgen.h-data: Likewise.
71525         * conform/data/limits.h-data: Likewise.
71526         * conform/data/locale.h-data: Likewise.
71527         * conform/data/math.h-data: Likewise.
71528         * conform/data/monetary.h-data: Likewise.
71529         * conform/data/mqueue.h-data: Likewise.
71530         * conform/data/ndbm.h-data: Likewise.
71531         * conform/data/net/if.h-data: Likewise.
71532         * conform/data/netdb.h-data: Likewise.
71533         * conform/data/netinet/in.h-data: Likewise.
71534         * conform/data/nl_types.h-data: Likewise.
71535         * conform/data/poll.h-data: Likewise.
71536         * conform/data/pthread.h-data: Likewise.
71537         * conform/data/pwd.h-data: Likewise.
71538         * conform/data/regex.h-data: Likewise.
71539         * conform/data/sched.h-data: Likewise.
71540         * conform/data/search.h-data: Likewise.
71541         * conform/data/semaphore.h-data: Likewise.
71542         * conform/data/setjmp.h-data: Likewise.
71543         * conform/data/signal.h-data: Likewise.
71544         * conform/data/spawn.h-data: Likewise.
71545         * conform/data/stdarg.h-data: Likewise.
71546         * conform/data/stdio.h-data: Likewise.
71547         * conform/data/stdlib.h-data: Likewise.
71548         * conform/data/string.h-data: Likewise.
71549         * conform/data/strings.h-data: Likewise.
71550         * conform/data/stropts.h-data: Likewise.
71551         * conform/data/sys/ipc.h-data: Likewise.
71552         * conform/data/sys/mman.h-data: Likewise.
71553         * conform/data/sys/msg.h-data: Likewise.
71554         * conform/data/sys/resource.h-data: Likewise.
71555         * conform/data/sys/select.h-data: Likewise.
71556         * conform/data/sys/sem.h-data: Likewise.
71557         * conform/data/sys/shm.h-data: Likewise.
71558         * conform/data/sys/socket.h-data: Likewise.
71559         * conform/data/sys/stat.h-data: Likewise.
71560         * conform/data/sys/statvfs.h-data: Likewise.
71561         * conform/data/sys/time.h-data: Likewise.
71562         * conform/data/sys/timeb.h-data: Likewise.
71563         * conform/data/sys/times.h-data: Likewise.
71564         * conform/data/sys/types.h-data: Likewise.
71565         * conform/data/sys/uio.h-data: Likewise.
71566         * conform/data/sys/un.h-data: Likewise.
71567         * conform/data/sys/utsname.h-data: Likewise.
71568         * conform/data/sys/wait.h-data: Likewise.
71569         * conform/data/syslog.h-data: Likewise.
71570         * conform/data/tar.h-data: Likewise.
71571         * conform/data/termios.h-data: Likewise.
71572         * conform/data/utime.h-data: Likewise.
71573         * conform/data/utmpx.h-data: Likewise.
71574         * conform/data/varargs.h-data: Likewise.
71575         * conform/data/wchar.h-data: Likewise.
71576         * conform/data/wctype.h-data: Likewise.
71577         * conform/data/wordexp.h-data: Likewise.
71579         * include/stropts.h: New file.
71580         * include/uchar.h: New file.
71581         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71582         * include/assert.h: Likewise.
71583         * include/ctype.h: Likewise.
71584         * include/dirent.h: Likewise.
71585         * include/dlfcn.h: Likewise.
71586         * include/fcntl.h: Likewise.
71587         * include/fnmatch.h: Likewise.
71588         * include/glob.h: Likewise.
71589         * include/grp.h: Likewise.
71590         * include/libio.h: Likewise.
71591         * include/locale.h: Likewise.
71592         * include/math.h: Likewise.
71593         * include/net/if.h: Likewise.
71594         * include/netdb.h: Likewise.
71595         * include/netinet/in.h: Likewise.
71596         * include/pthread.h: Likewise.
71597         * include/pwd.h: Likewise.
71598         * include/regex.h: Likewise.
71599         * include/sched.h: Likewise.
71600         * include/search.h: Likewise.
71601         * include/setjmp.h: Likewise.
71602         * include/signal.h: Likewise.
71603         * include/stdio.h: Likewise.
71604         * include/stdlib.h: Likewise.
71605         * include/string.h: Likewise.
71606         * include/sys/cdefs.h: Likewise.
71607         * include/sys/mman.h: Likewise.
71608         * include/sys/msg.h: Likewise.
71609         * include/sys/resource.h: Likewise.
71610         * include/sys/select.h: Likewise.
71611         * include/sys/socket.h: Likewise.
71612         * include/sys/stat.h: Likewise.
71613         * include/sys/statvfs.h: Likewise.
71614         * include/sys/time.h: Likewise.
71615         * include/sys/times.h: Likewise.
71616         * include/sys/uio.h: Likewise.
71617         * include/sys/utsname.h: Likewise.
71618         * include/sys/wait.h: Likewise.
71619         * include/termios.h: Likewise.
71620         * include/time.h: Likewise.
71621         * include/ulimit.h: Likewise.
71622         * include/unistd.h: Likewise.
71623         * include/utime.h: Likewise.
71624         * include/wchar.h: Likewise.
71625         * include/wctype.h: Likewise.
71626         * include/wordexp.h: Likewise.
71628         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71630         * time/time.h: TIME_UTC must be a macro.
71631         Make timespec_get available for ISO C11 only as well.
71633 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71635         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71636         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71638 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71640         * configure.in: Use -o not -a in test for unsupported multi-arch.
71642 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71644         * manual/texinfo.tex: Update to version 2012-01-19.16.
71646 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71648         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71650 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71652         [BZ #13738]
71653         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71654         * manual/fdl-1.3.texi: New file.
71655         * manual/fdl-1.1.texi: File removed.
71657         [BZ #13738]
71658         * manual/libc.texinfo (FDL_VERSION): New @set.
71659         Use it for mention of FDL in cover text.
71660         (Documentation License): Use it in @include file name.
71662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71663             Roland McGrath  <roland@hack.frob.com>
71665         [BZ #5461]
71666         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71667         (not LONG_LONG_MAX and LONG_LONG_MIN.
71668         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71669         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71670         name.
71671         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71673 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71675         [BZ #2547]
71676         [BZ #11365]
71677         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71678         manipulate bits before adding and subtracting TWO23[sx].
71679         * math/libm-test.inc (nearbyint_test): Add more tests.
71681 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71683         [BZ #2548]
71684         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71685         bits before adding and subtracting TWO23[sx].
71686         * math/libm-test.inc (rint_test): Add more tests.
71687         (rint_test_tonearest): Likewise.
71688         (rint_test_towardzero): Likewise.
71689         (rint_test_downward): Likewise.
71690         (rint_test_upward: Likewise.
71692 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71694         [BZ #10110]
71695         * include/stdc-predef.h: New file.  Extracted from features.h.
71696         * include/features.h: Include stdc-predef.h.
71697         * Makefile (headers): Add stdc-predef.h.
71698         * CONFORMANCE (Compiler limitations): Update.
71700 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71702         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71704 2012-02-21  David S. Miller  <davem@davemloft.net>
71706         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71707         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71709 2012-02-20  David S. Miller  <davem@davemloft.net>
71711         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71712         using a normal save/restore sequence, rather than allocating a
71713         dummy stack frame just to store a frame pointer and restore.
71714         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71716 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71718         * manual/install.texi: Fix stray word in line-wrapped comment.
71720 2012-02-20  David S. Miller  <davem@davemloft.net>
71722         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71723         both binutils and gcc support GOTDATA.
71725         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71726         "rd %pc" in the PIC register setup sequences.
71728         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71729         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71730         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71731         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71732         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71733         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71735         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71737         (SYSCALL_ERROR_HANDLER): Likewise.
71738         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71739         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71740         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71741         (SYSCALL_ERROR_HANDLER): Likewise.
71743         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71744         (HAVE_GCC_GOTDATA): New.
71745         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71746         relocation support in both binutils and gcc.
71747         * sysdeps/sparc/elf/configure: Regenerate.
71749         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71750         * sysdeps/sparc/sparc32/elf/configure: Delete.
71751         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71752         * sysdeps/sparc/sparc64/elf/configure: Delete.
71753         * sysdeps/sparc/elf/configure.in: New file.
71754         * sysdeps/sparc/elf/configure: Generate.
71756         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71757         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71758         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71759         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71760         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71762 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71764         * manual/install.texi: Do not mention specific glibc version
71765         numbers.
71766         * manual/libc.texinfo (VERSION, UPDATED): Update.
71767         (@copying): Use @copyright{} and range of years.
71769 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71771         [BZ #13695]
71772         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71773         [crti.S not in sysdirs] (generated): Do not append.
71774         [crti.S not in sysdirs] (omit-deps): Likewise.
71775         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71776         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71777         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71778         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71779         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71780         Likewise.
71781         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71782         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71783         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71784         * csu/defs.awk: Remove file.
71785         * sysdeps/generic/initfini.c: Likewise.
71786         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71787         variable.
71788         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71789         Likewise.
71791 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71793         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71794         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71795         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71796         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71797         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71798         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71799         <bits/epoll.h>.
71800         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71801         (__EPOLL_PACKED): Define to empty if not defined by
71802         <bits/epoll.h>.
71803         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71804         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71805         bits/epoll.h.
71807 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71809         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71810         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71811         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71812         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71813         <bits/timerfd.h>.
71814         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71816         bits/timerfd.h.
71818 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71820         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71821         in C locale.
71822         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71823         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71824         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71827 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71829         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71830         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71832 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71834         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71835         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71836         defined.
71837         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71838         Likewise.
71839         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71840         entry for 2.16.
71842 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71844         * math/w_acos.c: Use non-signaling floating-point comparisons.
71845         * math/w_acosf.c: Likewise.
71846         * math/w_acosh.c: Likewise.
71847         * math/w_acoshf.c: Likewise.
71848         * math/w_acoshl.c: Likewise.
71849         * math/w_acosl.c: Likewise.
71850         * math/w_asin.c: Likewise.
71851         * math/w_asinf.c: Likewise.
71852         * math/w_asinl.c: Likewise.
71853         * math/w_atanh.c: Likewise.
71854         * math/w_atanhf.c: Likewise.
71855         * math/w_atanhl.c: Likewise.
71856         * math/w_exp2.c: Likewise.
71857         * math/w_exp2f.c: Likewise.
71858         * math/w_exp2l.c: Likewise.
71859         * math/w_j0.c: Likewise.
71860         * math/w_j0f.c: Likewise.
71861         * math/w_j0l.c: Likewise.
71862         * math/w_j1.c: Likewise.
71863         * math/w_j1f.c: Likewise.
71864         * math/w_j1l.c: Likewise.
71865         * math/w_jn.c: Likewise.
71866         * math/w_jnf.c: Likewise.
71867         * math/w_log.c: Likewise.
71868         * math/w_log10.c: Likewise.
71869         * math/w_log10f.c: Likewise.
71870         * math/w_log10l.c: Likewise.
71871         * math/w_log2.c: Likewise.
71872         * math/w_log2f.c: Likewise.
71873         * math/w_log2l.c: Likewise.
71874         * math/w_logf.c: Likewise.
71875         * math/w_logl.c: Likewise.
71876         * math/w_sqrt.c: Likewise.
71877         * math/w_sqrtf.c: Likewise.
71878         * math/w_sqrtl.c: Likewise.
71879         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71880         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71881         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71882         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71883         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71885 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71887         [BZ #9739]
71888         * manual/string.texi (strnlen): Use correct parameter name in
71889         equivalent expression.
71891 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71893         [BZ #11174]
71894         * manual/users.texi (seteuid): Consistently use neweuid for
71895         argument name.
71897 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71899         [BZ #13704]
71900         * manual/nss.texi (Services in the NSS configuration): Correct
71901         list of services in example configuration file.
71903 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71905         [BZ #11322]
71906         * manual/arith.texi: Remove statements about negative zero
71907         behaving identically to zero.
71909 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71911         [BZ #5993]
71912         * manual/install.texi: Do not document upgrading from libc5.
71914 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71916         [BZ #4596]
71917         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71919 2012-02-18  David S. Miller  <davem@davemloft.net>
71921         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71922         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71923         %o7 across the call.
71924         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71925         instead.
71926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71927         SETUP_PIC_REG_LEAF.
71928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71929         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71930         * sysdeps/sparc/crtn.S: Likewise.
71932 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71934         * aout/Makefile: Remove.
71936 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71938         [BZ #13058]
71939         * manual/examples/argp-ex1.c (main): Format definition in GNU
71940         style.
71941         * manual/examples/argp-ex2.c (main): Likewise.
71942         * manual/examples/argp-ex3.c (main): Likewise.
71943         * manual/examples/argp-ex4.c (main): Likewise.
71944         * manual/examples/longopt.c (main): Use new-style prototype
71945         definition.
71946         * manual/examples/strncat.c (main): Specify return type and use
71947         (void) for arguments.
71948         * manual/examples/subopt.c (main): Use char **argv argument.
71950 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71952         [BZ #5077]
71953         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71954         rounding modes.
71956 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71958         [BZ #6907]
71959         * manual/string.texi (strchr): Change when strchrnul is
71960         recommended.
71962 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71964         [BZ #174]
71965         * manual/locale.texi (setlocale): Document LOCPATH.
71967 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71969         [BZ #10210]
71970         * manual/process.texi (execle): Move @dots{} before last argument.
71972 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71974         [BZ #12047]
71975         * manual/charset.texi (Generic Charset Conversion): Fix typo
71976         (LC_TYPE -> LC_CTYPE).
71978 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71980         [BZ #5805]
71981         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71982         (scalbnf): Likewise.
71983         (scalbnl): Likewise.
71984         (scalbln): Likewise.
71985         (scalblnf): Likewise.
71986         (scalblnl): Likewise.
71987         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71988         (vwarnx): Likewise.
71989         (verr): Likewise.
71990         (verrx): Likewise.
71991         * manual/filesys.texi (telldir): Use braces around return type.
71992         * manual/llio.texi (mmap): Add space after comma.
71993         (mmap64): Likewise.
71994         * manual/math.texi (jn): Use @var{} on parameter names.
71995         (jnf): Likewise.
71996         (jnl): Likewise.
71997         (yn): Likewise.
71998         (ynf): Likewise.
71999         (ynl): Likewise.
72000         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72001         line.
72002         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72003         "...".
72004         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72005         (sched_get_priority_max): Likewise.
72006         * manual/signal.texi (sigvec): Add space after comma.
72007         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72008         names.
72009         (if_indextoname): Likewise.
72010         (if_freenameindex): Likewise.
72011         (sendto): Use ',' instead of '.' in prototype.
72012         * manual/startup.texi (syscall): Use @dots{} instead of literal
72013         "...".
72014         * manual/stdio.texi (__fpending): Separate initial words of
72015         paragraph from @deftypefun line.
72016         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72017         "...".
72018         (vsyslog): Use @var{} on parameter names.
72019         * manual/terminal.texi (stty): Use @var{} on parameter names.
72020         * manual/users.texi (getutmp): Use @var{} on parameter names.
72021         (getutmpx): Likewise.
72023 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72025         [BZ #6884]
72026         * manual/stdio.texi (fopen): Fix typos in description of
72027         ",ccs=STRING".
72029 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72031         [BZ #4026]
72032         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72033         get clock_id definition.
72035 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72037         [BZ #4822]
72038         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72039         (madvise): Cast every argument to void on its own.
72041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72043         [BZ #9902]
72044         * manual/startup.texi (Exit Status): Fix typo.
72046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72048         [BZ #10140]
72049         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72050         * manual/examples/argp-ex2.c: Likewise.
72051         * manual/examples/argp-ex3.c: Likewise.
72053 2012-02-16  Richard Henderson  <rth@redhat.com>
72055         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72056         * sysdeps/s390/s390-32/initfini.c: Remove.
72057         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72058         * sysdeps/s390/s390-64/initfini.c: Remove.
72060 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72062         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72063         compiler output for sysdeps/generic/initfini.c.
72064         * sysdeps/sh/elf/initfini.c: Remove file.
72066 2012-02-16  David S. Miller  <davem@davemloft.net>
72068         [BZ #11494]
72069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72071         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72072         * sysdeps/sparc/crti.S: New file.
72073         * sysdeps/sparc/crtn.S: New file.
72074         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72075         * sysdeps/sparc/sparc64/Makefile: Likewise.
72077 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72079         [BZ #3335]
72080         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72082 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72084         [BZ #4822]
72085         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72087         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72088         (write, read, close): Likewise.
72089         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72091 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72093         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72094         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72095         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72096         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72097         <bits/signalfd.h>.
72098         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72100         bits/signalfd.h.
72102 2012-02-14  Marek Polacek  <polacek@redhat.com>
72104         * sysdeps/x86_64/crti.S: New file.
72105         * sysdeps/x86_64/crtn.S: New file.
72106         * sysdeps/x86_64/elf/initfini.c: Remove file.
72108 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72110         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72111         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72112         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72113         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72114         <bits/inotify.h>.
72115         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72117         bits/inotify.h.
72119 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72121         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72122         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72123         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72124         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72125         <bits/eventfd.h>.
72126         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72128         bits/eventfd.h.
72130 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72132         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72133         __feraiseexcept instead of feraiseexcept.
72135         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72136         nanosleep invocations.
72137         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72138         strings, and add error checking for a nanosleep invocations.
72140 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72142         Replace FSF snail mail address with URLs, as per GNU coding standards.
72143         Most of the snail mail addresses were wrong anyway, and omitting
72144         them makes the source code easier to maintain.  Almost all of the
72145         changes are to license notices and to locale LC_IDENTIFICATION
72146         addresses, except for this one:
72147         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72148         not its snail mail address.
72150 2012-02-09  Richard Henderson  <rth@twiddle.net>
72152         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72153         of kernel-features.h.
72155         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72157 2012-02-08  Marek Polacek  <polacek@redhat.com>
72159         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72160         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72161         * sysdeps/gnu/_G_config.h: Likewise.
72162         * sysdeps/generic/_G_config.h: Likewise.
72164 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72166         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72167         tests.
72168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72170         * sysdeps/powerpc/powerpc32/crti.S: New file.
72171         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72172         * sysdeps/powerpc/powerpc64/crti.S: New file.
72173         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72175         * Makeconfig (have-initfini): Don't set.
72176         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72177         * configure.in (nopic_initfini): Don't substitute.
72178         * config.h.in (HAVE_INITFINI): Don't #undef.
72179         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72180         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72182 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72184         Support crti.S and crtn.S provided directly by architectures.
72185         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72186         [crti.S in sysdirs] (omit-deps): Likewise.
72187         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72188         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72189         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72190         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72191         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72192         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72193         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72194         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72195         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72196         compiler output for sysdeps/generic/initfini.c.
72197         * sysdeps/i386/elf/Makefile: Remove file.
72198         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72200 2012-02-07  Marek Polacek  <polacek@redhat.com>
72202         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72203         * sysdeps/gnu/_G_config.h: Likewise.
72204         * sysdeps/mach/hurd/_G_config.h: Likewise.
72206 2012-02-07  Marek Polacek  <polacek@redhat.com>
72208         * math/Makefile (tests): Add tst-CMPLX2.
72209         * math/tst-CMPLX2.c: New file.
72211 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72213         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72215         * math/libm-test.inc (jn_test): Add missing L suffix.
72217 2012-02-06  Marek Polacek  <polacek@redhat.com>
72219         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72220         * sysdeps/i386/fpu/e_powf.S: Likewise.
72221         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72222         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72223         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72224         * sysdeps/i386/fpu/e_pow.S: Likewise.
72225         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72226         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72227         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72228         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72229         * sysdeps/i386/fpu/e_log2.S: Likewise.
72230         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72231         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72232         * sysdeps/i386/fpu/e_powl.S: Likewise.
72233         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72234         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72235         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72236         * sysdeps/i386/fpu/e_logl.S: Likewise.
72237         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72238         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72239         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72240         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72241         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72242         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72243         * sysdeps/i386/fpu/e_log.S: Likewise.
72244         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72245         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72246         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72247         * sysdeps/i386/fpu/e_logf.S: Likewise.
72248         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72249         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72250         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72251         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72252         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72253         * sysdeps/i386/fpu/e_log10.S: Likewise.
72254         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72255         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72256         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72257         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72258         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72259         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72260         * sysdeps/i386/asm-syntax.h: Likewise.
72261         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72262         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72263         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72264         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72265         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72266         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72267         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72268         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72269         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72270         * sysdeps/powerpc/sysdep.h: Likewise.
72271         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72272         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72274 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72276         [BZ #411]
72277         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72279 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72281         * sysdeps/i386/sysdep.h: Include <features.h>.
72282         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72283         version.
72285 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72287         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72288         Define.
72289         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72290         LOAD_PIC_REG_STR.
72292 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72294         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72295         (SETUP_PIC_REG): Use GET_PC_THUNK.
72296         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72297         macro.
72299 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72301         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72302         for non-PIC compilation.
72303         (SETUP_PIC_REG): Add .p2align directive.
72304         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72305         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72306         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72307         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72308         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72309         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72310         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72311         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72312         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72313         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72314         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72315         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72316         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72317         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72318         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72319         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72320         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72321         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72322         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72323         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72324         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72325         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72326         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72327         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72328         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72330         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72331         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72332         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72333         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72334         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72335         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72336         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72337         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72338         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72339         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72340         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72341         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72342         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72343         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72344         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72346 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72348         * math/tst-CMPLX.c: Include <stdio.h>.
72350 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72352         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72353         float.
72354         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72355         * sysdeps/sparc/bits/mathdef.h: Likewise.
72357 2012-01-31  Marek Polacek  <polacek@redhat.com>
72359         * libio/libio.h: Don't define _PARAMS.
72360         * locale/programs/config.h: Don't define PARAMS.
72361         * stdlib/strtol_l.c: Likewise.
72362         (__strtol_l): Remove PARAMS from the prototype.
72364 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72366         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72367         names.  Just use the correct names.  Remove unnecessary wrapper
72368         functions.
72369         * malloc/arena.c: Likewise.
72370         * malloc/hooks.c: Likewise.
72372         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72373         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72374         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72376 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72378         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72379         into tail calls.
72380         (update_get_addr): New function.
72381         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72382         GET_ADDR_MODULE parameter.
72384 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72386         * crypt/cert.c: Remove __STDC__ conditionals.
72387         * crypt/crypt-entry.c: Likewise.
72388         * crypt/crypt_util.c: Likewise.
72389         * libio/filedoalloc.c: Likewise.
72390         * libio/fileops.c: Likewise.
72391         * libio/genops.c: Likewise.
72392         * libio/iofclose.c: Likewise.
72393         * libio/iofdopen.c: Likewise.
72394         * libio/iofopen.c: Likewise.
72395         * libio/iofopen64.c: Likewise.
72396         * libio/iogetdelim.c: Likewise.
72397         * libio/iopopen.c: Likewise.
72398         * libio/obprintf.c: Likewise.
72399         * libio/oldfileops.c: Likewise.
72400         * libio/oldiofclose.c: Likewise.
72401         * libio/oldiofdopen.c: Likewise.
72402         * libio/oldiofopen.c: Likewise.
72403         * libio/oldiopopen.c: Likewise.
72404         * libio/wfiledoalloc.c: Likewise.
72405         * libio/wgenops.c: Likewise.
72406         * locale/programs/xmalloc.c: Likewise.
72407         * misc/syslog.c: Likewise.
72408         * stdio-common/xbug.c: Likewise.
72409         * string/memchr.c: Likewise.
72410         * string/memcmp.c: Likewise.
72411         * string/memrchr.c: Likewise.
72412         * string/rawmemchr.c: Likewise.
72413         * sysdeps/posix/getcwd.c: Likewise.
72414         * time/strftime_l.c: Likewise.
72416 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72418         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72419         * config.make.in (config-cflags-sse2avx): Define.
72420         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72421         Fix typo.
72423 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72425         * scripts/config.guess: Update from upstream config git repository.
72426         * scripts/config.sub: Likewise.
72428 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72430         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72431         (EM_NUM): Update.
72432         (R_TILEPRO_*, R_TILEGX_*): New macros.
72434         * scripts/firstversions.awk: Fix bug in version range handling.
72436         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72438         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72440         * include/sys/epoll.h: New file.
72441         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72442         libc_hidden_def.
72444 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72446         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72447         Avoid unnecessary __WORDSIZE == 64 test.
72448         (fmaxf): Use VEX format if possible.
72449         (fmax): Likewise.
72450         (fminf): Likewise.
72451         (fmin): Likewise.
72453         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72454         * math/math_private.h: Remove libc_fegetround* and
72455         libc_fesetround*.
72456         * sysdeps/i386/configure.in: Check for -msse2avx.
72457         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72458         also if SSE2AVX is defined.
72459         Remove libc_fegetround* and libc_fesetround*.
72460         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72461         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72462         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72463         of HAS_YMM_USABLE.
72464         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72465         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72466         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72467         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72468         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72470         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72472 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72474         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72475         size is not set.
72476         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72478 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72480         [BZ #13618]
72481         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72482         relocation.
72483         * Makeconfig (libm): Define.
72484         * elf/Makefile: Add rules to build and run tst-relsort1.
72485         * elf/tst-relsort1.c: New file.
72486         * elf/tst-relsort1mod1.c: New file.
72487         * elf/tst-relsort1mod2.c: New file.
72489 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72491         * math/s_ldexp.c: Remove __STDC__ conditionals.
72492         * math/s_ldexpf.c: Likewise.
72493         * math/s_ldexpl.c: Likewise.
72494         * math/s_nextafter.c: Likewise.
72495         * math/s_nexttowardf.c: Likewise.
72496         * math/s_significand.c: Likewise.
72497         * math/s_significandf.c: Likewise.
72498         * math/s_significandl.c: Likewise.
72499         * math/w_jnl.c: Likewise.
72500         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72501         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72502         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72503         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72504         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72505         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72506         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72507         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72508         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72509         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72510         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72511         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72512         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72513         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72514         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72515         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72516         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72517         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72519         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72520         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72521         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72522         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72523         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72524         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72525         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72526         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72527         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72528         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72529         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72530         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72531         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72532         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72533         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72534         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72535         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72536         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72537         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72538         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72539         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72540         * sysdeps/ieee754/k_standard.c: Likewise.
72541         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72542         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72543         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72544         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72545         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72546         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72547         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72548         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72549         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72550         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72551         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72552         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72553         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72554         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72555         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72556         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72557         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72558         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72559         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72560         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72561         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72562         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72563         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72564         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72565         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72566         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72567         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72568         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72569         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72570         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72571         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72572         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72573         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72574         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72576         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72577         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72578         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72579         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72580         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72581         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72582         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72583         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72584         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72585         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72586         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72587         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72588         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72589         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72590         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72591         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72592         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72593         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72594         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72595         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72596         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72597         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72598         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72599         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72600         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72601         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72602         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72603         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72604         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72605         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72606         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72607         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72608         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72609         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72610         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72611         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72612         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72613         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72614         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72615         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72616         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72617         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72618         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72619         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72620         * sysdeps/ieee754/s_matherr.c: Likewise.
72621         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72623         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72624         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72626 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72628         * crypt/md5.h: Remove __STDC__ conditionals.
72629         * libio/libioP.h: Likewise.
72630         * locale/programs/config.h: Likewise.
72631         * sysdeps/generic/sysdep.h: Likewise.
72632         * sysdeps/i386/asm-syntax.h: Likewise.
72633         * sysdeps/s390/asm-syntax.h: Likewise.
72634         * sysdeps/unix/sysdep.h: Likewise.
72635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72638 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72640         * libio/libio.h: Remove __STDC__ conditionals.
72641         * malloc/obstack.h: Likewise.
72642         * math/complex.h: Likewise.
72643         * math/math.h: Likewise.
72644         * sysdeps/generic/_G_config.h: Likewise.
72645         * sysdeps/gnu/_G_config.h: Likewise.
72646         * sysdeps/mach/hurd/_G_config.h: Likewise.
72647         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72648         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72649         * sysdeps/sparc/bits/mathdef.h: Likewise.
72651 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72653         [BZ #13583]
72654         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72655         Clean up HAS_* macros.
72656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72657         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72658         possible.
72659         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72660         HAS_AVX.
72661         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72662         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72663         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72664         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72665         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72667 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72669         * elf/tst-unique3.cc (gets): Remove declaration.
72670         * elf/tst-unique3lib.cc (gets): Likewise.
72671         * elf/tst-unique3lib2.cc (gets): Likewise.
72672         * elf/tst-unique4.cc (gets): Likewise.
72674 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72676         * include/stdio.h: Add C++ protection.  Add gets declarations and
72677         definitions.
72678         * debug/tst-chk1.c: Don't declare gets here.
72679         * stdio-common/tst-gets.c: Likewise.
72681 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72683         * posix/glob: Remove directory.
72685 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72687         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72689 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72691         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72692         of the non-standard EPFNOSUPPORT.
72694 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72696         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72697         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72698         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72700 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72702         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72704 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72706         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72707         transient errors.
72708         * nscd/grpcache.c (cache_addgr): Likewise.
72709         * nscd/hstcache.c (cache_addhst): Likewise.
72710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72711         * nscd/pwdcache.c (cache_addpw): Likewise.
72712         * nscd/servicescache.c (cache_addserv): Likewise.
72714 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72716         * malloc/malloc.c: Various cleanups.
72717         * malloc/hooks.c: Likewise.
72719         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72720         * stdlib/bug-fmtmsg1.c: New file.
72722         * stdlib/fmtmsg.c (init): Add missing unlock.
72723         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72725 2012-01-12  Marek Polacek  <polacek@redhat.com>
72727         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72728         and _GNU_SOURCE.
72730 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72732         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72733         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72734         macro to ensure uniqueness of label name.
72735         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72736         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72738 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72740         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72742         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72743         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72744         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72745         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72747 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72749         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72751         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72752         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72753         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72755         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72757         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72758         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72759         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72762         * math/bits/math-finite.h: Add ldexp support.
72764 2012-01-10  Marek Polacek  <polacek@redhat.com>
72766         * locale/programs/localedef.h (show_archive_content): Add noreturn
72767         attribute.
72769 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72771         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72773 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72775         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72777         * io/Makefile (headers): Add bits/poll2.h.
72779 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72782         typo #include statement.
72784 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72786         * include/sys/cdefs.h: Define __attribute_alloc_size.
72787         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72788         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72789         * elf/pldd.c: Likewise.
72790         * iconv/iconv_charmap.c: Likewise.
72791         * iconv/iconvconfig.c: Likewise.
72792         * iconv/strtab.c: Likewise.
72793         * locale/programs/locale.c: Likewise.
72794         * locale/programs/localedef.h: Likewise.
72795         * locale/programs/simple-hash.c: Likewise.
72796         * nscd/nscd.h: Likewise.
72797         * nss/makedb.c: Likewise.
72798         * sysdeps/generic/ldconfig.h: Likewise.
72799         * locale/programs/localedef.c: Remove xmalloc prototype.
72800         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72802 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72804         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72805         appropriate.
72807 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72809         * math/Makefile (tests): Add tst-CMPLX.
72810         * math/tst-CMPLX.c: New file.
72812         * math/complex.h (CMPLXL): Fix typo.
72814         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72815         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72816         GLIBC_2.16.
72817         * debug/tst-chk1.c: Add poll and ppoll tests.
72818         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72819         * include/sys/poll.h: Add hidden proto for ppoll.
72820         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72821         * sysdeps/mach/hurd/ppoll.c: Likewise.
72822         * io/ppoll.c: Likewise.
72823         * debug/poll_chk.c: New file.
72824         * debug/ppoll_chk.c: New file.
72825         * include/bits/poll2.h: New file.
72826         * io/bits/poll2.h: New file.
72828         [BZ #1350]
72829         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72831         * configure.in: static is always set to yes.  Remove.
72832         * config.make.in: Don't set build-static.
72833         * Makeconfig: Remove use of build-static.
72834         * dlfcn/Makefile: Likewise.
72835         * elf/Makefile: Likewise.
72836         * math/Makefile: Likewise.
72837         * misc/Makefile: Likewise.
72838         * nptl/Makefile: Likewise.
72839         * sysdeps/mach/hurd/Makefile: Likewise.
72841         * configure.in: PWD_P is not used anymore.
72842         * config.make.in: Remove PWD_P entry.
72844         * configure.in: Remove last remnants of RANLIB.
72845         No need to check for signed size_t anymore.
72846         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72847         and IA-64.
72848         Remove __builtin_expect test because we require at least gcc 3.4.
72849         * aclocal.m4: Likewise.
72851         * wcsmbs/mbrtoc16.c: Implement using towc function.
72852         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72853         * wcsmbs/wcsmbsload.c: Likewise.
72854         * iconv/gconv_simple.c: Likewise.
72855         * iconv/gconv_int.h: Likewise.
72856         * iconv/gconv_builtin.h: Likewise.
72857         * iconv/iconv_prog.c: Remove CHAR16 handling.
72859         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72861         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72863         * configure.in: Remove --with-elf and --enable-bounded options.
72864         Dont set base_machine for ia64.  More non-ELF conditions removed.
72865         Remove testing and setting of leading underscore information.
72866         * config.make.in (build-bounded): Set to no.
72867         * config.h.in: Remove NO_UNDERSCORES entry.
72868         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72869         them.
72870         * csu/start.c: Remove !NO_UNDERSCORE code.
72871         * locale/localeinfo.h: Likewise.
72872         * sysdeps/generic/machine-gmon.h: Likewise.
72873         * sysdeps/generic/sysdep.h: Likewise.
72874         * sysdeps/i386/sysdep.h: Likewise.
72875         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72876         * sysdeps/mach/sysdep.h: Likewise.
72877         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72878         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72879         * sysdeps/sh/sysdep.h: Likewise.
72880         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72881         * sysdeps/unix/i386/sysdep.S: Likewise.
72882         * sysdeps/unix/sparc/start.c: Likewise.
72883         * sysdeps/unix/sparc/sysdep.S: Likewise.
72884         * sysdeps/unix/sparc/sysdep.h: Likewise.
72885         * sysdeps/unix/start.c: Likewise.
72886         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72887         * sysdeps/x86_64/sysdep.h: Likewise.
72889 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72891         [BZ #13553]
72892         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72893         for non-gcc.
72894         * argp/argp-fmtstream.h: Use const instead __const.
72895         * argp/argp.h: Likewise.
72896         * assert/assert.h: Likewise.
72897         * bits/fenv.h: Likewise.
72898         * bits/sched.h: Likewise.
72899         * bits/sigset.h: Likewise.
72900         * bits/sigthread.h: Likewise.
72901         * catgets/nl_types.h: Likewise.
72902         * conform/data/pthread.h-data: Likewise.
72903         * crypt/crypt-private.h: Likewise.
72904         * crypt/crypt.h: Likewise.
72905         * crypt/crypt_util.c: Likewise.
72906         * ctype/ctype.h: Likewise.
72907         * debug/execinfo.h: Likewise.
72908         * debug/mbsnrtowcs_chk.c: Likewise.
72909         * debug/mbsrtowcs_chk.c: Likewise.
72910         * debug/wcsnrtombs_chk.c: Likewise.
72911         * debug/wcsrtombs_chk.c: Likewise.
72912         * debug/wcstombs_chk.c: Likewise.
72913         * dirent/dirent.h: Likewise.
72914         * dlfcn/dlfcn.h: Likewise.
72915         * elf/neededtest4.c: Likewise.
72916         * grp/grp.h: Likewise.
72917         * gshadow/gshadow.h: Likewise.
72918         * iconv/gconv.h: Likewise.
72919         * iconv/gconv_int.h: Likewise.
72920         * iconv/gconv_simple.c: Likewise.
72921         * iconv/iconv.h: Likewise.
72922         * iconv/loop.c: Likewise.
72923         * iconv/skeleton.c: Likewise.
72924         * include/aio.h: Likewise.
72925         * include/aliases.h: Likewise.
72926         * include/argz.h: Likewise.
72927         * include/arpa/inet.h: Likewise.
72928         * include/assert.h: Likewise.
72929         * include/dirent.h: Likewise.
72930         * include/dlfcn.h: Likewise.
72931         * include/execinfo.h: Likewise.
72932         * include/fcntl.h: Likewise.
72933         * include/fenv.h: Likewise.
72934         * include/glob.h: Likewise.
72935         * include/grp.h: Likewise.
72936         * include/libintl.h: Likewise.
72937         * include/mntent.h: Likewise.
72938         * include/netdb.h: Likewise.
72939         * include/pwd.h: Likewise.
72940         * include/rpc/netdb.h: Likewise.
72941         * include/sched.h: Likewise.
72942         * include/search.h: Likewise.
72943         * include/shadow.h: Likewise.
72944         * include/signal.h: Likewise.
72945         * include/stdio.h: Likewise.
72946         * include/stdlib.h: Likewise.
72947         * include/string.h: Likewise.
72948         * include/sys/socket.h: Likewise.
72949         * include/sys/stat.h: Likewise.
72950         * include/sys/statfs.h: Likewise.
72951         * include/sys/statvfs.h: Likewise.
72952         * include/sys/syslog.h: Likewise.
72953         * include/sys/time.h: Likewise.
72954         * include/sys/uio.h: Likewise.
72955         * include/time.h: Likewise.
72956         * include/unistd.h: Likewise.
72957         * include/utmp.h: Likewise.
72958         * include/wchar.h: Likewise.
72959         * include/wctype.h: Likewise.
72960         * inet/aliases.h: Likewise.
72961         * inet/arpa/inet.h: Likewise.
72962         * inet/netinet/ether.h: Likewise.
72963         * inet/netinet/in.h: Likewise.
72964         * intl/libintl.h: Likewise.
72965         * io/bits/fcntl2.h: Likewise.
72966         * io/fcntl.h: Likewise.
72967         * io/ftw.h: Likewise.
72968         * io/sys/poll.h: Likewise.
72969         * io/sys/stat.h: Likewise.
72970         * io/sys/statfs.h: Likewise.
72971         * io/sys/statvfs.h: Likewise.
72972         * io/utime.h: Likewise.
72973         * libio/bits/stdio.h: Likewise.
72974         * libio/bits/stdio2.h: Likewise.
72975         * libio/libio.h: Likewise.
72976         * libio/libioP.h: Likewise.
72977         * libio/stdio.h: Likewise.
72978         * locale/lc-ctype.c: Likewise.
72979         * locale/locale.h: Likewise.
72980         * login/utmp.h: Likewise.
72981         * malloc/arena.c: Likewise.
72982         * malloc/malloc.c: Likewise.
72983         * malloc/malloc.h: Likewise.
72984         * malloc/mcheck.c: Likewise.
72985         * malloc/mtrace.c: Likewise.
72986         * math/bits/mathcalls.h: Likewise.
72987         * math/fenv.h: Likewise.
72988         * math/math_private.h: Likewise.
72989         * misc/bits/error.h: Likewise.
72990         * misc/bits/syslog.h: Likewise.
72991         * misc/err.h: Likewise.
72992         * misc/error.h: Likewise.
72993         * misc/fstab.h: Likewise.
72994         * misc/mntent.h: Likewise.
72995         * misc/regexp.h: Likewise.
72996         * misc/search.h: Likewise.
72997         * misc/sgtty.h: Likewise.
72998         * misc/sys/mman.h: Likewise.
72999         * misc/sys/syslog.h: Likewise.
73000         * misc/sys/uio.h: Likewise.
73001         * misc/sys/xattr.h: Likewise.
73002         * misc/ttyent.h: Likewise.
73003         * nis/rpcsvc/ypclnt.h: Likewise.
73004         * nss/nss.h: Likewise.
73005         * posix/bits/unistd.h: Likewise.
73006         * posix/fnmatch.h: Likewise.
73007         * posix/glob.h: Likewise.
73008         * posix/sched.h: Likewise.
73009         * posix/spawn.h: Likewise.
73010         * posix/sys/wait.h: Likewise.
73011         * posix/unistd.h: Likewise.
73012         * posix/wordexp.h: Likewise.
73013         * pwd/pwd.h: Likewise.
73014         * resolv/netdb.h: Likewise.
73015         * resource/sys/resource.h: Likewise.
73016         * rt/aio.h: Likewise.
73017         * rt/bits/mqueue2.h: Likewise.
73018         * rt/mqueue.h: Likewise.
73019         * shadow/shadow.h: Likewise.
73020         * signal/signal.h: Likewise.
73021         * socket/send.c: Likewise.
73022         * socket/sendto.c: Likewise.
73023         * socket/sys/socket.h: Likewise.
73024         * stdio-common/printf.h: Likewise.
73025         * stdlib/bits/stdlib.h: Likewise.
73026         * stdlib/fmtmsg.h: Likewise.
73027         * stdlib/monetary.h: Likewise.
73028         * stdlib/stdlib.h: Likewise.
73029         * stdlib/ucontext.h: Likewise.
73030         * streams/stropts.h: Likewise.
73031         * string/argz.h: Likewise.
73032         * string/bits/string2.h: Likewise.
73033         * string/string.h: Likewise.
73034         * string/strings.h: Likewise.
73035         * sunrpc/rpc/auth.h: Likewise.
73036         * sunrpc/rpc/auth_des.h: Likewise.
73037         * sunrpc/rpc/clnt.h: Likewise.
73038         * sunrpc/rpc/netdb.h: Likewise.
73039         * sunrpc/rpc/pmap_clnt.h: Likewise.
73040         * sunrpc/rpc/xdr.h: Likewise.
73041         * sysdeps/generic/inttypes.h: Likewise.
73042         * sysdeps/generic/net/if.h: Likewise.
73043         * sysdeps/generic/sys/swap.h: Likewise.
73044         * sysdeps/gnu/net/if.h: Likewise.
73045         * sysdeps/gnu/utmpx.h: Likewise.
73046         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73047         * sysdeps/i386/i486/bits/string.h: Likewise.
73048         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73049         * sysdeps/s390/bits/string.h: Likewise.
73050         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73051         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73052         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73053         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73054         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73055         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73056         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73057         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73058         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73059         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73060         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73061         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73062         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73063         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73064         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73065         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73066         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73068         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73069         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73070         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73071         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73072         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73073         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73074         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73075         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73076         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73077         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73078         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73079         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73080         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73081         * sysvipc/sys/ipc.h: Likewise.
73082         * sysvipc/sys/msg.h: Likewise.
73083         * sysvipc/sys/sem.h: Likewise.
73084         * sysvipc/sys/shm.h: Likewise.
73085         * termios/termios.h: Likewise.
73086         * time/sys/time.h: Likewise.
73087         * time/time.h: Likewise.
73088         * wcsmbs/bits/wchar2.h: Likewise.
73089         * wcsmbs/uchar.h: Likewise.
73090         * wcsmbs/wchar.h: Likewise.
73091         * wctype/wctype.h: Likewise.
73093         [BZ #13551]
73094         * Makeconfig: Remove all but ELF support including AIX support.
73095         * Makerules: Likewise.
73096         * config.h.in: Likewise.
73097         * config.make.in: Likewise.
73098         * configure: Likewise.
73099         * configure.in: Likewise.
73100         * csu/Makefile: Likewise.
73101         * csu/version.c: Likewise.
73102         * debug/Makefile: Likewise.
73103         * dlfcn/Makefile: Likewise.
73104         * elf/Makefile: Likewise.
73105         * extra-lib.mk: Likewise.
73106         * iconv/Makefile: Likewise.
73107         * include/libc-symbols.h: Likewise.
73108         * include/shlib-compat.h: Likewise.
73109         * resolv/Makefile: Likewise.
73110         * resolv/res_libc.c: Likewise.
73111         * rt/Makefile: Likewise.
73112         * sysdeps/i386/asm-syntax.h: Likewise.
73113         * sysdeps/i386/sysdep.h: Likewise.
73114         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73115         * sysdeps/mach/sysdep.h: Likewise.
73116         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73117         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73118         * sysdeps/s390/asm-syntax.h: Likewise.
73119         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73120         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73121         * sysdeps/sh/sysdep.h: Likewise.
73122         * sysdeps/unix/sparc/sysdep.h: Likewise.
73123         * sysdeps/wordsize-32/divdi3.c: Likewise.
73124         * sysdeps/x86_64/sysdep.h: Likewise.
73126         * argp/Versions: Remove _argp_unlock_xxx.
73128         [BZ #13559]
73129         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73130         * abilist/libBrokenLocale.abilist: Likewise.
73131         * abilist/libanl.abilist: Likewise.
73132         * abilist/libc.abilist: Likewise.
73133         * abilist/libcrypt.abilist: Likewise.
73134         * abilist/libdl.abilist: Likewise.
73135         * abilist/libm.abilist: Likewise.
73136         * abilist/libnsl.abilist: Likewise.
73137         * abilist/libpthread.abilist: Likewise.
73138         * abilist/libresolv.abilist: Likewise.
73139         * abilist/librt.abilist: Likewise.
73140         * abilist/libthread_db.abilist: Likewise.
73141         * abilist/libutil.abilist: Likewise.
73142         * abilist/libnss_db.abilist: New file.
73144         * scripts/abilist.awk: Add support for indirect functions.
73146         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73148         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73150         * shlib-versions: Remove entries for ports architectures.
73152         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73153         files in ports.
73154         * elf/stackguard-macros.h: Remove support for IA-64.
73155         * elf/tst-auditmod1.c: Likewise.
73156         * sysdeps/generic/ldsodefs.h: Likewise.
73158         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73159         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73160         configure files.
73162         [BZ #13552]
73163         * configure.in: Remove --enable-omitfp support.
73164         * FAQ.in: Adjust.
73165         * config.make.in: Likewise.
73166         * Makeconfig: Likewise.
73167         * manual/install.texi: Likewise.
73169         In case anyone cares, the IA-64 architecture could move to ports.
73170         * sysdeps/ia64/*: Removed.
73171         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73172         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73174         [BZ #13555]
73175         * configure.in: Remove entries for unsupported architectures.
73177         [BZ #13533]
73178         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73179         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73180         routines.
73181         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73182         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73183         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73184         fall back to using wcrtomb.
73185         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73186         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73187         renaming.
73188         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73189         * wcsmbs/tst-c16c32-1.c: New file.
73191         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73192         local variable.
73194         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73196         * elf/tst-unique3.cc: Add explicit declaration of gets.
73197         * elf/tst-unique3lib.cc: Likewise.
73198         * elf/tst-unique3lib2.cc: Likewise.
73199         * elf/tst-unique4.cc: Likewise.
73201         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73203 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73205         [BZ #13566]
73206         * assert/assert.h (static_assert): Don't define for C++.
73207         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73208         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73210 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73212         * iconv/loop.c (single loop): Fix assertion in storing of
73213         remaining bytes.
73215         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73217 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73219         * posix/getconf.c: Update copyright year.
73220         * nss/getent.c: Likewise.
73221         * nss/makedb.c: Likewise.
73222         * iconv/iconvconfig.c: Likewise.
73223         * iconv/iconv_prog.c: Likewise.
73224         * elf/ldconfig.c: Likewise.
73225         * elf/pldd.c: Likewise.
73226         * elf/sotruss.ksh: Likewise.
73227         * catgets/gencat.c: Likewise.
73228         * csu/version.c: Likewise.
73229         * elf/ldd.bash.in: Likewise.
73230         * elf/sprof.c (print_version): Likewise.
73231         * locale/programs/locale.c: Likewise.
73232         * locale/programs/localedef.c: Likewise.
73233         * login/programs/pt_chown.c: Likewise.
73234         * nscd/nscd.c (print_version): Likewise.
73235         * debug/xtrace.sh: Likewise.
73236         * malloc/memusage.sh: Likewise.
73237         * malloc/mtrace.pl: Likewise.
73238         * debug/catchsegv.sh: Likewise.
73240 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73242         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73243         pure attribute.
73245 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73247         [BZ #13533]
73248         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73249         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73250         transformations.
73251         * iconv/gconv_int.h: Likewise.
73252         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73253         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73254         from libc for GLIBC_2.16.
73255         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73256         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73257         * wcsmbs/uchar.h: Really define mbstate_t.
73258         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73259         * wcsmbs/c16rtomb.c: New file.
73260         * wcsmbs/mbrtoc16.c: New file.
73261         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73262         for C/POSIX locale.
73263         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73264         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73266         * wcsmbs/wchar.h: Add missing __restrict.
73268 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73270         [BZ #13532]
73271         * time/Makefile (routines): Add timespec_get.
73272         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73273         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73274         timespec for ISO C11.
73275         * time/timespec_get.c: New file.
73276         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73277         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73279         [BZ #13531]
73280         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73281         * stdlib/stdlib.h: Declare aligned_alloc.
73282         * Versions.def: Add GLIBC_2.16 for libc.
73283         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73285         [BZ 13527]
73286         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73287         ISO C11.
73289         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73290         code.
73292         [BZ #13528]
73293         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73295         [BZ #13529]
73296         * assert/assert.h (static_assert): Define.
73298         * version.h: Update for 2.16 development version.
73300         [BZ #13526]
73301         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73302         _ISOC11_SOURCE.
73304         * version.h (RELEASE): Bump for 2.15 release.
73305         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73307         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73308         Patch by Marek Polacek <mpolacek@redhat.com>.
73310         * bits/byteswap.h: Protect long long constants with __extension__.
73311         * sysdeps/i386/bits/byteswap.h: Likewise.
73312         * sysdeps/ia64/bits/byteswap.h: Likewise.
73313         * sysdeps/s390/bits/byteswap.h: Likewise.
73314         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73316 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73318         [BZ #13540]
73319         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73320         destination buffer.
73321         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73323 2011-12-23  Marek Polacek  <polacek@redhat.com>
73325         * elf/dl-addr.c (determine_info): Add inline keyword.
73326         * elf/tst-auditmod4b.c (check_avx): Likewise.
73327         * elf/tst-auditmod6b.c (check_avx): Likewise.
73328         * elf/tst-auditmod6c.c (check_avx): Likewise.
73329         * elf/tst-auditmod7b.c (check_avx): Likewise.
73331 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73333         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73334         !__SSE_MATH__.
73336 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73338         [BZ #13540]
73339         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73340         processing for last bytes.
73342 2011-08-06  Bruno Haible  <bruno@clisp.org>
73344         [BZ #13061]
73345         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73346         U+0385, not to U+1FEE.
73348         [BZ #13062]
73349         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73350         entry for U+00A5 U+0301.
73352 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73354         [BZ #13166]
73355         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73356         buffer for the output is too small.
73358         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73359         optimization.
73361         [BZ #13185]
73362         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73363         SSE flags if possible.
73365 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73367         [BZ #13540]
73368         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73369         processing for last bytes.
73371 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73373         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73374         (syscall-list-default-options, syscall-list-default-condition)
73375         (syscall-list-includes): Define.
73376         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73377         list of ABIs and options and #if conditions for each ABI.  Do not
73378         handle common syscalls between ABIs specially.
73379         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73380         Remove.
73381         (syscall-list-variants, syscall-list-32bit-options)
73382         (syscall-list-32bit-condition, syscall-list-64bit-options)
73383         (syscall-list-64bit-condition): Define.
73384         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73385         (syscall-list-variants, syscall-list-32bit-options)
73386         (syscall-list-32bit-condition, syscall-list-64bit-options)
73387         (syscall-list-64bit-condition): Define.
73388         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73389         Remove.
73390         (syscall-list-variants, syscall-list-32bit-options)
73391         (syscall-list-32bit-condition, syscall-list-64bit-options)
73392         (syscall-list-64bit-condition): Define.
73393         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73394         Remove.
73395         (syscall-list-variants, syscall-list-32bit-options)
73396         (syscall-list-32bit-condition, syscall-list-64bit-options)
73397         (syscall-list-64bit-condition): Define.
73399 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73401         * locale/iso-639.def: Add brx entry.
73403         [BZ #13328]
73404         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73405         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73407         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73408         __feraiseexcept_renamed.
73410 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73412         [BZ #13538]
73413         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73414         EPOLLET with unsigned values.
73415         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73416         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73418         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73419         to large cancellation.
73420         * math/s_cacoshf.c: Likewise.
73421         * math/s_cacoshl.c: Likewise.
73423 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73425         [BZ #13305]
73426         [BZ #12786]
73427         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73428         * math/s_cacoshf.c: Likewise.
73429         * math/s_cacoshl.c: Likewise.
73431 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73433         [BZ #13439]
73434         * iconv/gconv.h: Define __GCONV_SWAP.
73435         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73436         * iconvdata/utf-16.c: Likewise.
73437         * iconvdata/utf-32.c: Likewise.
73439 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73441         [BZ #13524]
73442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73443         numerator after shifting it by one limb.
73445 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73447         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73448         under [__USE_EXTERN_INLINES].
73450 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73452         [BZ #13446]
73453         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73455 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73457         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73458         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73459         optimized code.
73460         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73461         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73462         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73463         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73464         for strncasecmp/strncasecmp_l compilation.
73465         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73466         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73468 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73470         [BZ #13484]
73471         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73472         of __asm__.
73474 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73476         [BZ #13506]
73477         * time/tzfile.c (__tzfile_read): Check values from file header.
73479 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73481         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73482         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73483         * powerpc/powerpc32/dl-start.S: Likewise.
73484         * powerpc/powerpc32/elf/start.S: Likewise.
73485         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73486         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73487         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73488         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73489         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73490         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73491         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73492         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73493         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73494         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73495         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73496         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73497         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73498         * powerpc/powerpc32/memset.S: Likewise.
73499         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73500         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73501         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73502         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73503         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73504         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73505         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73506         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73507         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73508         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73509         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73510         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73511         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73513 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73515         * math/libm-test.inc: Added more nearbyint tests.
73516         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73517         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73518         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73519         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73521 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73523         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73524         FD_CLOEXEC.
73526 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73528         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73529         Add wcscpy-ssse3 wcscpy-c.
73530         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73531         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73532         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73533         * sysdeps/x86_64/wcschr.S: New file.
73534         * sysdeps/x86_64/wcsrchr.S: New file.
73535         * string/test-strcmp.c: Remove checking of wcscmp function for
73536         wrong alignments.
73537         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73538         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73539         wcsrchr-sse2 wcsrchr-c.
73540         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73541         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73542         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73543         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73544         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73545         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73546         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73547         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73548         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73549         * wcsmbc/wcschr.c (WCSCHR): New macro.
73551 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73553         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73554         * wcsmbs/test-wcsrchr.c: New file.
73555         * string/test-strrchr.c: Add wcsrchr support.
73556         (WIDE): New macro.
73557         * wcsmbs/test-wcscpy.c: New file.
73558         * string/test-strcpy.c: Add wcscpy support.
73559         (WIDE): New macro.
73561 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73563         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73564         the inner loop.
73566 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73568         [BZ #13472]
73569         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73571 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73573         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73574         Minor optimizations.
73576         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73577         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73578         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73580 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73582         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73583         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73584         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73585         for gcc to avoid warnings.
73586         * inet/Makefile (tests): Add tst-checks.
73587         * inet/tst-checks.c: New file.
73589         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73590         warning.
73592         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73593         __wmemcmp_sse2.
73595         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73596         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73598         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73600 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73602         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73603         problem.
73605         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73607 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73609         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73610         conditional on GCC version.
73611         (__arch_compare_and_exchange_val_8_acq)
73612         (__arch_compare_and_exchange_val_16_acq)
73613         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73614         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73615         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73617 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73619         * sysdeps/sh/backtrace.c: New file.
73621 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73623         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73624         parenthesis.
73626 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73628         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73629         falling back to utime.
73631 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73633         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73634         expectations for float.
73636 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73638         * locale/weight.h (findidx): Add parameter len.
73639         * locale/weightwc.h (findidx): Likewise.
73640         * posix/fnmatch_loop.c (FCT): Adjust caller.
73641         * posix/regcomp.c (build_equiv_class): Likewise.
73642         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73643         * posix/regexec.c (check_node_accept_bytes): Likewise.
73644         * string/strcoll_l.c (STRCOLL): Likewise.
73645         * string/strxfrm_l.c (STRXFRM): Likewise.
73647 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73649         * Makefile.in: Remove CVSOPT handling.
73650         * configure.in: Remove use of AC_REVISION.
73651         * iconvdata/Makefile (distribute): No need to filter out CVS.
73652         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73653         handling.
73655 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73657         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73658         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73659         [USE_AS_STRNCASECMP_L]: Likewise.
73660         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73661         NO_TLS_DIRECT_SEG_REFS.
73662         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73663         Fix argument offsets for non-PIC.
73664         [USE_AS_STRNCASECMP_L]: Likewise.
73665         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73666         NO_TLS_DIRECT_SEG_REFS.
73668 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73670         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73671         O_CLOEXEC.
73672         * locale/loadlocale.c (_nl_load_locale): Likewise.
73674 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73676         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73677         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73678         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73679         (SYSCALL_GETTIME): Set errno on error.
73681         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73682         count references to noai6ai_cached.
73684 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73686         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73688         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73689         FD_CLOEXEC for /proc/self/maps.
73691         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73692         FD_CLOEXEC for /proc/meminfo.
73694         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73695         gai.conf.
73697         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73698         FD_CLOEXEC for given file.
73700         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73702         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73703         FD_CLOEXEC for /etc/hosts.
73704         (_gethtent): Likewise.
73706         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73708         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73709         cancellation and set FD_CLOEXEC for /etc/netgroup.
73711         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73712         reading /etc/publickey.
73714         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73715         allow cancellation when reading /etc/group.
73717         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73718         cancellation.
73719         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73721         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73722         when using data file.
73724         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73726         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73727         (write_nis_obj): Use "c" and "e" in fopen.
73729         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73731         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73733         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73735         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73737         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73738         locale.alias.
73740         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73742         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73744         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73746         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73747         file parsing and set FD_CLOEXEC.
73749 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73751         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73753 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73755         * malloc/arena.c (arena_get2): Don't call reused_arena when
73756         _int_new_arena failed.
73758 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73760         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73761         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73762         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73763         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73765         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73766         to compile strcasecmp and strncasecmp.
73767         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73768         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73772 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73774         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73775         locale-defines.sym to gen-as-const-headers.
73776         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73777         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73779         to compile strcasecmp and strncasecmp.
73780         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73781         strcasecmp_l and strncasecmp_l.
73782         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73783         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73784         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73785         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73786         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73787         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73788         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73789         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73790         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73791         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73792         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73794 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73796         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73797         result of SYSDEP_GETTIME_CPU to retval.
73798         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73799         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73801         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73802         variable.
73804         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73805         mantissa words.
73806         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73808         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73809         from unused variable.
73811         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73812         DWARF definitions.
73813         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73814         for assembling.
73816         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73817         over namespaces.
73819         * sunrpc/rpc_prot.c (rejected): Fix case value.
73821         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73822         unsigned long long int to avoid warnings in shift.
73824         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73825         of use of trans.
73826         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73827         variable tmp.
73829         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73830         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73831         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73833         * nis/nis_table.c (nis_list): Use variable of correct type for
73834         result of __follow_path call.
73836 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73838         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73839         of math functions ceil, trunc, floor, round, and sqrt, when
73840         avaliable on the platform.
73841         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73842         name clash.
73843         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73844         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73845         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73847 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73849         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73850         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73852 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73854         * include/unistd.h: Fix __readlink return type.
73855         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73857 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73859         * stdlib/ucontext.h: Undo last change for makecontext.
73861 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73863         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73865         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73866         * setjmp/setjmp.h: Mark functions as non-leaf.
73867         * setjmp/bits/setjmp2.h: Likewise.
73868         * stdlib/ucontext.h: Likewise.
73870 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73872         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73873         (reused_arena): Don't check arena limit.
73874         (arena_get2): Atomically check arena limit.
73876 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73878         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73879         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73882         instructions.
73884 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73886         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73887         handler when locking.
73889         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73890         Fix size of allocated buffer.
73892 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73894         [BZ #10103]
73895         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73896         declarations for long double functions.
73897         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73899         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73901 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73903         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73904         installed.
73906         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73907         is disabled.
73909 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73911         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73913 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73915         * include/alloca.h (stackinfo_alloca_round): Define.
73916         (extend_alloca): Use it.
73917         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73918         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73919         here.
73921         * scripts/check-local-headers.sh: Ignore libaudit.h.
73923         * nscd/Makefile (extra-objs): Make recursively expanded.
73925 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73927         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73928         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73930         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73931         * posix/tst-rfc3484-2.c: Likewise.
73932         * posix/tst-rfc3484-3.c: Likewise.
73934         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73935         process_vm_writev.
73936         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73937         process_vm_writev.
73938         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73939         process_vm_writev from libc using GLIBC_2.15 version.
73941         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73943 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73945         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73946         stack usage.
73948 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73950         [BZ #13367]
73951         * nss/getent.c (initgroups_keys): Show error message in case no group
73952         names are given.
73954         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73955         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73956         __bump_nl_timestamp.
73957         * nscd/connections (nscd_init): When host database is served open
73958         netlink socket and request notification about configuration changes.
73959         (main_loop_poll): Track netlink file descriptor and bump timestamp
73960         in case data becomes available.
73961         (main_loop_epoll): Likewise.
73962         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73963         (database_pers_head): Add extra_data fileds.
73964         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73965         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73966         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73967         Adjust caller.
73968         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73969         in6ai data, call __free_in6ai.
73970         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73971         Add -DHAVE_NETLINK.
73972         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73973         interface information.  Reuse previous data if netlink timestamp
73974         is not changed.
73975         (__bump_nl_timestamp): New function.
73976         (__free_in6ai): New function.
73978 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73980         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73981         close_not_cancel_no_status here.
73982         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73984 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73986         [BZ #13276]
73987         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73988         return value.
73990         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73991         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73992         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73994 2011-07-03  Andreas Jaeger  <aj@suse.de>
73996         [BZ #10709]
73997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73998         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73999         * math/libm-test.inc (sin_test): Add test case.
74001 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74003         [BZ #13337]
74004         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74005         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74007         * elf/chroot_canon.c (chroot_canon): Cleanups.
74009         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74011         [BZ #13335]
74012         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74013         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74015         * string/test-strchr.c: Make usable for strchrnul testing.
74016         * string/test-strchrnul.c: New file.
74017         * string/Makefile (strop-tests): Add strchrnul.
74019         * po/it.po: Update from translation team.
74020         * po/es.po: Likewise.
74022 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74024         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74025         the three constants needed as parameters.  Drop the others.
74026         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74027         __m128i_strloadu_tolower.
74028         Create and initialize variable zero and use it in all the places
74029         where _mm_setzero_si128 was used.
74031         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74032         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74033         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74034         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74035         anymore.
74036         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74037         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74038         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74039         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74040         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74041         __mpranred, __mptan.
74042         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74043         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74044         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74045         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74046         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74047         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74048         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74049         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74050         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74052 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74054         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74055         redefine if SHARED.
74056         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74058         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74059         wide char related routines to wcsmbs subdir.
74061 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74063         [BZ #13344]
74064         * misc/sys/cdefs.h (__THROWNL): Define.
74065         * posix/unistd.h: Use __THREADNL instead of __THREAD
74066         for memory synchronization functions.
74068 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74070         [BZ #13349]
74071         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74072         doesn't exist.
74073         * manual/stdio.texi (Obstack Streams): Node removed.
74075 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74077         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74078         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74079         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74081         * math/math_private.h (math_force_eval): Allow non-addressable
74082         arguments.
74083         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74085 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74087         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74088         file is not needed.
74090         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74092         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74093         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74094         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74095         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74096         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74097         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74098         Add AVX variants.
74099         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74100         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74101         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74102         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74103         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74104         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74105         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74106         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74107         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74108         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74109         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74110         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74111         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74112         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74113         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74114         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74115         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74116         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74117         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74119         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74120         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74122         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74123         place.  Use VEX encoding when compiling for AVX.
74125 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74127         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74128         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74130         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74132 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74134         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74135         useless if() expression.
74136         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74137         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74138         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74139         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74140         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74141         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74142         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74143         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74144         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74145         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74146         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74147         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74148         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74149         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74150         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74151         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74152         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74153         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74154         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74156         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74158 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74160         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74161         condition.
74162         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74164 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74166         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74167         .text section.  Avoid duplicate constants.
74168         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74175         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74176         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74177         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74178         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74179         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74180         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74181         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74182         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74183         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74184         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74185         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74191         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74192         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74193         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74194         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74195         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74196         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74197         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74198         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74199         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74200         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74201         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74202         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74203         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74204         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74205         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74206         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74207         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74208         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74209         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74210         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74211         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74212         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74214 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74216         * sysdeps/x86_64/dla.h: Move to ...
74217         * sysdeps/x86_64/fpu/dla.h: ...here.
74218         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74219         situations.  Use __builtin_fma only for gcc 4.6 and up.
74221         * config.make.in: Add have-mfma4 entry.
74222         * configure.in: Substitute libc_cv_cc_fma4.
74223         * math/Makefile (dbl-only-routines): Add sincostab.
74224         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74225         Use __sincostab not sincos.
74226         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74227         name is a macro.
74228         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74230         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74231         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74232         using __copysign.
74233         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74234         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74235         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74236         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74237         and __inv.
74238         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74239         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74240         __copysign.
74241         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74242         define aliases when function name is a macro.
74243         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74244         sysdeps/ieee754/dbl-64/sincos.tbl.
74245         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74246         fma4-enabled routines.
74247         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74248         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74249         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74250         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74251         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74252         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74253         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74254         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74255         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74256         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74257         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74258         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74259         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74260         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74261         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74262         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74263         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74264         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74265         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74266         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74267         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74268         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74269         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74270         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74271         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74272         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74273         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74274         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74275         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74276         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74278         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74279         rename.
74280         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74281         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74283         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74284         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74286         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74287         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74289 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74291         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74293 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74295         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74297         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74298         prediction.
74299         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74301         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74302         Remove unused variable magic_bits.
74303         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74305         * string/strnlen.c: Define and use STRNLEN macro.
74306         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74307         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74308         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74309         * wcsmbs/wcslen.c: Define and use WCSLEN.
74310         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74311         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74312         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74313         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74314         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74315         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74316         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74318 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74321         strnlen-sse2-no-bsf.
74322         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74323         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74324         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74325         Add strnlen support.
74326         (USE_AS_STRNLEN): New macro.
74327         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74328         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74329         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74330         * sysdeps/x86_64/wcslen.S: New file.
74332 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74334         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74335         XMM-moves are used for copying on small sizes.
74337 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74339         * wcsmbs/Makefile (strop-tests): Add wcschr.
74340         * wcsmbs/test-wcschr.c: New file.
74341         * string/test-strchr.c: Update.
74342         Add wcschr support.
74343         (WIDE): New macro.
74345 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74347         * wcsmbs/Makefile (strop-tests): Add wcslen.
74348         * wcsmbs/test-wcslen.c: New file.
74349         * string/test-strlen.c: Update.
74350         Add wcslen support.
74351         (WIDE): New macro.
74353 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74355         * po/it.po: Update from translation team.
74357 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74359         * sysdeps/x86_64/wcscmp.S: Update.
74360         Fix wrong comparison semantics.
74361         wcscmp shall use signed comparison not unsigned.
74362         Don't use substraction to avoid overflow bug.
74363         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74364         * wcsmbc/wcscmp.c: Likewise.
74365         * string/test-strcmp.c: Likewise.
74366         Add new tests to check cases with negative values.
74368 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74370         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74371         * sysdeps/x86_64/dla.h: ...here.  New file.
74372         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74374         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74377         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74379         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74382 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74385         __ynl_finite aliases.
74387 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74391         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74392         define DLA_FMA.
74393         [DLA_FMA] (EMULV): Use DLA_FMA.
74394         [DLA_FMA] (MUL12): Use EMULV.
74395         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74396         that are not needed.
74397         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74398         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74403         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74405 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74407         * math/s_nan.c: Undef __nan.
74408         * math/s_nanf.c: Undef __nanf.
74409         * math/s_nanl.c: Undef __nanl.
74410         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74411         "math_private.h".
74413 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74415         * math/s_catan.c: Add branch predictions.
74416         * math/s_catanf.c: Likewise.
74417         * math/s_catanh.c: Likewise.
74418         * math/s_catanhf.c: Likewise.
74419         * math/s_catanhl.c: Likewise.
74420         * math/s_catanl.c: Likewise.
74421         * math/s_cexp.c: Likewise.
74422         * math/s_cexpf.c: Likewise.
74423         * math/s_cexpl.c: Likewise.
74424         * math/s_clog.c: Likewise.
74425         * math/s_clog10.c: Likewise.
74426         * math/s_clog10f.c: Likewise.
74427         * math/s_clog10l.c: Likewise.
74428         * math/s_clogf.c: Likewise.
74429         * math/s_clogl.c: Likewise.
74430         * math/s_csqrt.c: Likewise.
74431         * math/s_csqrtf.c: Likewise.
74432         * math/s_csqrtl.c: Likewise.
74433         * math/s_ctanf.c: Likewise.
74434         * math/s_ctanh.c: Likewise.
74435         * math/s_ctanhf.c: Likewise.
74436         * math/s_ctanhl.c: Likewise.
74437         * math/s_ctanl.c: Likewise.
74439         * math/math_private.h: Define __nan, __nanf, __nanl.
74440         * math/s_cacosh.c: Include <math_private.h>.
74441         * math/s_cacoshl.c: Likewise.
74442         * math/s_casinh.c: Likewise.
74443         * math/s_casinhf.c: Likewise.
74444         * math/s_casinhl.c: Likewise.
74445         * math/s_ccos.c: Rely entire on ccosh.
74446         * math/s_ccosf.c: Rely entire on ccoshf.
74447         * math/s_ccosl.c: Rely entirely on ccoshl.
74448         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74449         Remove tests for FE_INVALID.
74450         * math/s_ccoshf.c: Likewise.
74451         * math/s_ccoshl.c: Likewise.
74452         * math/s_csin.c: Likewise.
74453         * math/s_csinf.c: Likewise.
74454         * math/s_csinh.c Likewise.
74455         * math/s_csinhf.c: Likewise.
74456         * math/s_csinhl.c: Likewise.
74457         * math/s_csinl.c: Likewise.
74458         * math/s_ctan.c: Likewise.
74459         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74460         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74461         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74463 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74466         compilation problems.
74468         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74469         __builtin_expect.
74471 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74473         * sysdeps/i386/configure.in: Test for -mfma4 option.
74474         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74475         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74476         COMMON_CPUID_INDEX_80000001.
74477         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74478         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74479         use it if FMA3 is not supported.
74480         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74482         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74483         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74485 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74487         [BZ #12892]
74488         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74489         it would create a cycle with a link time dependency.
74491 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74493         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74494         instruction.
74495         * string/Makefile (strop-tests): Add rawmemchr.
74496         * string/test-rawmemchr.c: New file.
74498         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74499         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74500         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74501         when compiling str{,n}casecmp and when AVX is available.  Hook up
74502         new optimized code in initializers.
74504 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74506         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74507         __feraiseexcept instead of feraiseexcept.
74509 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74511         * math/math_private.h: Define defaults for libc_fetestexcept and
74512         libc_feupdateenv.
74513         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74514         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74515         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74516         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74517         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74518         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74519         libc_fetestexcept and libc_feupdateenv.
74521         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74522         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74523         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74524         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74525         libc_feholdexcept_setround.
74527         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74528         Add s_nearbyint-c and s_nearbyintf-c.
74529         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74530         nearbyintf inlines.
74531         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74532         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74533         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74534         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74536         * math/math_private.h: Define defaults for libc_fegetround,
74537         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74538         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74539         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74540         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74541         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74542         standard functions.
74543         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74544         Remove comments and hacks for old compiler versions.
74545         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74546         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74547         libc_feholdexceptl.
74549 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74551         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74552         (__feraiseexcept_renamed): Add __NTH.
74553         (feraiseexcept): Add __NTH.  Rename local variables to fix
74554         namespace violations.
74556 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74558         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74560         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74562         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74563         recently added interfaces.
74564         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74566         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74567         about macro parameter expansion.
74569         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74570         __NO_MATH_INLINES is defined.  Cleanups.
74572         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74573         and __floorf is target has SSE4.1.
74574         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74575         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74576         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74577         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74579         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74580         name.
74581         (floorf): Likewise.
74583         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74585 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74587         * misc/sys/cdefs.h: Fix last change.
74589         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74590         database lookup.
74592 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74594         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74596         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74597         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74598         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74599         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74600         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74601         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74602         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74603         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74604         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74605         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74606         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74607         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74608         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74609         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74610         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74611         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74612         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74613         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74614         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74615         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74616         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74617         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74619         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74620         ceil, ceilf, floor, floorf.
74622         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74623         Perform IRELATIVE relocations last.
74625         * elf/do-rel.h: Add another parameter nrelative, replacing the
74626         local variable with the same name.  Change name of the function
74627         to end in Rel or Rela (uppercase).
74628         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74629         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74630         elf_dynamic_do_##reloc function.
74632 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74634         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74635         is sufficient, at least on modern CPUs.
74637         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74639         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74640         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74642         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74643         __expl_finite.
74644         * math/bits/math-finite.h: Add entries for exp.
74645         * math/e_expl.c: Add __*_finite alias.
74646         * sysdeps/i386/fpu/e_exp.S: Likewise.
74647         * sysdeps/i386/fpu/e_expf.S: Likewise.
74648         * sysdeps/i386/fpu/e_expl.c: Likewise.
74649         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74650         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74651         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74653         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74654         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74655         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74657         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74658         is sufficient, at least on modern CPUs.
74660         * ctype/ctype-info.c (__ctype_init): Define.
74661         * include/ctype.h (__ctype_init): Declare.
74662         (__ctype_b_loc): The variable is always initialized.
74663         (__ctype_toupper_loc): Likewise.
74664         (__ctype_tolower_loc): Likewise.
74665         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74666         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74668 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74670         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74672         * configure.in: Also look in $cxxmachine/include for C++ system
74673         headers.
74675 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74677         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74678         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74679         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74680         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74681         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74682         (USE_AS_WMEMCMP): New macro.
74683         Fixing indents.
74684         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74685         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74686         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74687         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74688         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74689         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74690         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74691         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74692         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74693         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74694         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74695         (USE_AS_WMEMCMP): New macro.
74696         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74697         * sysdeps/string/test-memcmp.c: Update.
74698         Fix simple_wmemcmp.
74699         Add new tests.
74700         * wcsmbs/wmemcmp.c: Update.
74701         (WMEMCMP): New macro.
74702         Fix overflow bug.
74704 2011-10-12  Andreas Jaeger  <aj@suse.de>
74706         [BZ #13268]
74707         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74709 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74711         * libio/iofwide.c (do_length): Avoid warning.
74713         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74715 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74717         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74719         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74720         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74721         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74722         * sysdeps/i386/i686/fpu/e_log.S: New file.
74723         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74724         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74726         * ctype/ctype.h: Add support for inlined isXXX functions when
74727         compiling C++ code.
74729 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74731         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74733         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74735 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74737         [BZ #13291]
74738         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74740 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74742         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74743         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74744         feraiseexcept.
74746         * sysdeps/x86_64/memrchr.S: Check for zero size.
74748         * string/stratcliff.c: Add memrchr tests.
74750 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74753         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74754         rawmemchr-sse2 rawmemchr-sse2-bsf.
74755         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74756         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74757         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74758         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74759         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74760         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74761         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74762         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74763         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74764         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74765         * string/memrchr.c (MEMRCHR): New macro.
74767 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74769         Add integration with gcc's -ffinite-math-only and optimize wrapper
74770         functions in libm.
74771         * Versions.def: Define GLIBC_2.15 version for libm.
74772         * math/Makefile (headers): Add bits/math-finite.h.
74773         * math/bits/math-finite.h: New file.
74774         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74775         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74776         * math/e_acoshl.c: Add __*_finite alias.
74777         * math/e_acosl.c: Likewise.
74778         * math/e_asinl.c: Likewise.
74779         * math/e_atan2l.c: Likewise.
74780         * math/e_atanhl.c: Likewise.
74781         * math/e_coshl.c: Likewise.
74782         * math/e_exp10.c: Likewise.
74783         * math/e_exp10f.c: Likewise.
74784         * math/e_exp10l.c: Likewise.
74785         * math/e_exp2l.c: Likewise.
74786         * math/e_fmodl.c: Likewise.
74787         * math/e_gammal_r.c: Likewise.
74788         * math/e_hypotl.c: Likewise.
74789         * math/e_j0l.c: Likewise.
74790         * math/e_j1l.c: Likewise.
74791         * math/e_jnl.c: Likewise.
74792         * math/e_lgammal_r.c: Likewise.
74793         * math/e_log10l.c: Likewise.
74794         * math/e_log2l.c: Likewise.
74795         * math/e_logl.c: Likewise.
74796         * math/e_powl.c: Likewise.
74797         * math/e_sinhl.c: Likewise.
74798         * math/e_sqrtl.c: Likewise.
74799         * math/e_scalb.c: Completely rewritten and optimized.
74800         * math/e_scalbf.c: Likewise.
74801         * math/e_scalbl.c: Likewise.
74802         * math/w_acos.c: Likewise.
74803         * math/w_acosf.c: Likewise.
74804         * math/w_acosl.c: Likewise.
74805         * math/w_acosh.c: Likewise.
74806         * math/w_acoshf.c: Likewise.
74807         * math/w_acoshl.c: Likewise.
74808         * math/w_asin.c: Likewise.
74809         * math/w_asinf.c: Likewise.
74810         * math/w_asinl.c: Likewise.
74811         * math/w_atan2.c: Likewise.
74812         * math/w_atan2f.c: Likewise.
74813         * math/w_atan2l.c: Likewise.
74814         * math/w_atanh.c: Likewise.
74815         * math/w_atanhf.c: Likewise.
74816         * math/w_atanhl.c: Likewise.
74817         * math/w_exp10.c: Likewise.
74818         * math/w_exp10f.c: Likewise.
74819         * math/w_exp10l.c: Likewise.
74820         * math/w_fmod.c: Likewise.
74821         * math/w_fmodf.c: Likewise.
74822         * math/w_fmodl.c: Likewise.
74823         * math/w_j0.c: Likewise.
74824         * math/w_j0f.c: Likewise.
74825         * math/w_j0l.c: Likewise.
74826         * math/w_j1.c: Likewise.
74827         * math/w_j1f.c: Likewise.
74828         * math/w_j1l.c: Likewise.
74829         * math/w_jn.c: Likewise.
74830         * math/w_jnf.c: Likewise.
74831         * math/w_log.c: Likewise.
74832         * math/w_logf.c: Likewise.
74833         * math/w_logl.c: Likewise.
74834         * math/w_log10.c: Likewise.
74835         * math/w_log10f.c: Likewise.
74836         * math/w_log10l.c: Likewise.
74837         * math/w_log2.c: Likewise.
74838         * math/w_log2f.c: Likewise.
74839         * math/w_log2l.c: Likewise.
74840         * math/w_pow.c: Likewise.
74841         * math/w_powf.c: Likewise.
74842         * math/w_powl.c: Likewise.
74843         * math/w_remainder.c: Likewise.
74844         * math/w_remainderf.c: Likewise.
74845         * math/w_remainderl.c: Likewise.
74846         * math/w_scalb.c: Likewise.
74847         * math/w_scalbf.c: Likewise.
74848         * math/w_scalbl.c: Likewise.
74849         * math/w_sqrt.c: Likewise.
74850         * math/w_sqrtf.c: Likewise.
74851         * math/w_sqrtl.c: Likewise.
74852         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74853         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74854         used.
74855         * math/math_private.h: Declare __kernel_standard_f.
74856         * math/w_cosh.c: Remove cruft and optimize a bit.
74857         * math/w_coshf.c: Likewise.
74858         * math/w_coshl.c: Likewise.
74859         * math/w_exp2.c: Likewise.
74860         * math/w_exp2f.c: Likewise.
74861         * math/w_exp2l.c: Likewise.
74862         * math/w_hypot.c: Likewise.
74863         * math/w_hypotf.c: Likewise.
74864         * math/w_hypotl.c: Likewise.
74865         * math/w_lgamma.c: Likewise.
74866         * math/w_lgamma_r.c: Likewise.
74867         * math/w_lgammaf.c: Likewise.
74868         * math/w_lgammaf_r.c: Likewise.
74869         * math/w_lgammal.c: Likewise.
74870         * math/w_lgammal_r.c: Likewise.
74871         * math/w_sinh.c: Likewise.
74872         * math/w_sinhf.c: Likewise.
74873         * math/w_sinhl.c: Likewise.
74874         * math/w_tgamma.c: Likewise.
74875         * math/w_tgammaf.c: Likewise.
74876         * math/w_tgammal.c: Likewise.
74877         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74878         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74879         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74880         Minor optimizations.  Pretty printing.  Remove cruft.
74881         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74882         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74883         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74884         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74885         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74886         * sysdeps/i386/fpu/e_asin.S: Likewise.
74887         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74888         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74889         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74890         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74891         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74892         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74893         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74894         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74895         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74896         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74897         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74898         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74899         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74900         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74901         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74902         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74903         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74904         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74905         * sysdeps/i386/fpu/e_log.S: Likewise.
74906         * sysdeps/i386/fpu/e_log10.S: Likewise.
74907         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74908         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74909         * sysdeps/i386/fpu/e_log2.S: Likewise.
74910         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74911         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74912         * sysdeps/i386/fpu/e_logf.S: Likewise.
74913         * sysdeps/i386/fpu/e_logl.S: Likewise.
74914         * sysdeps/i386/fpu/e_pow.S: Likewise.
74915         * sysdeps/i386/fpu/e_powf.S: Likewise.
74916         * sysdeps/i386/fpu/e_powl.S: Likewise.
74917         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74918         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74919         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74920         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74921         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74922         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74923         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74924         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74925         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74926         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74927         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74929         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74930         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74931         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74932         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74933         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74934         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74935         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74936         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74937         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74938         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74939         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74940         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74941         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74942         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74943         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74944         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74945         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74946         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74947         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74948         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74949         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74950         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74951         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74952         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74953         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74954         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74955         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74956         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74957         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74958         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74959         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74960         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74961         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74962         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74963         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74964         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74965         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74966         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74967         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74968         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74969         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74970         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74971         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74972         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74973         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74974         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74975         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74976         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74977         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74978         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74979         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74980         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74981         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74982         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74983         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74984         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74985         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74986         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74987         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74989         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74990         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74991         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74992         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74993         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74994         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74995         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74996         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74998         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74999         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75000         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75001         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75002         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75003         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75004         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75005         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75006         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75007         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75008         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75009         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75010         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75011         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75012         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75013         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75014         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75015         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75016         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75017         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75018         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75019         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75020         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75021         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75022         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75023         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75024         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75025         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75026         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75027         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75028         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75029         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75030         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75031         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75032         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75033         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75034         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75035         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75036         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75037         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75038         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75039         (__isnanf): Likewise.
75040         (__isinf_ns): Likewise.
75041         (__isinf_nsf): Likewise.
75042         (__finite): Likewise.
75043         (__finitef): Likewise.
75044         (__ieee754_sqrt): Define as macro.
75045         (__ieee754_sqrtf): Define as macro.
75046         (__ieee754_sqrtl): Define as macro.
75047         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75048         inlined copy.
75049         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75050         __FINITE_MATH_ONLY__ consistent.
75051         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75053 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75055         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75056         of rawmemchr.
75058         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75060 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75062         * po/ja.po: Update from translation team.
75064 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75066         * locale/programs/locarchive.c (prepare_address_space): New function.
75067         (create_archive, enlarge_archive, open_archive): Use it.
75069         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75070         inside [SHARED], where it is used.
75072         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75074         * nss/getent.c (netgroup_keys): Remove unused variable.
75075         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75077 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75079         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75080         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75082         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75083         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75084         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75085         * math/Makefile (libm-calls): Add s_isinf_ns.
75086         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75087         * math/multc3.c: Likewise.
75088         * math/s_casin.c: Likewise.
75089         * math/s_casinf.c: Likewise.
75090         * math/s_casinl.c: Likewise.
75091         * math/s_ccos.c: Likewise.
75092         * math/s_ccosf.c: Likewise.
75093         * math/s_ccosl.c: Likewise.
75094         * math/s_ctan.c: Likewise.
75095         * math/s_ctanf.c: Likewise.
75096         * math/s_ctanh.c: Likewise.
75097         * math/s_ctanhf.c: Likewise.
75098         * math/s_ctanhl.c: Likewise.
75099         * math/s_ctanl.c: Likewise.
75100         * math/w_fmod.c: Likewise.
75101         * math/w_fmodf.c: Likewise.
75102         * math/w_fmodl.c: Likewise.
75103         * math/w_remainder.c: Likewise.
75104         * math/w_remainderf.c: Likewise.
75105         * math/w_remainderl.c: Likewise.
75106         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75107         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75108         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75110         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75111         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75112         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75113         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75115         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75116         of the number.
75117         * stdio-common/printf_fphex.c: Likewise.
75118         * stdio-common/printf_size.c: Likewise.
75120         * math/e_exp10.c: Include math_private.h using <...> not "...".
75121         * math/e_exp10f.c: Likewise.
75122         * math/e_exp10l.c: Likewise.
75123         * math/e_exp2l.c: Likewise.
75124         * math/e_j0l.c: Likewise.
75125         * math/e_j1l.c: Likewise.
75126         * math/e_jnl.c: Likewise.
75127         * math/e_lgammal_r.c: Likewise.
75128         * math/e_rem_pio2l.c: Likewise.
75129         * math/e_scalb.c: Likewise.
75130         * math/e_scalbf.c: Likewise.
75131         * math/e_scalbl.c: Likewise.
75132         * math/k_cosl.c: Likewise.
75133         * math/k_sinl.c: Likewise.
75134         * math/k_tanl.c: Likewise.
75135         * math/s_cacoshf.c: Likewise.
75136         * math/s_catan.c: Likewise.
75137         * math/s_catanf.c: Likewise.
75138         * math/s_catanh.c: Likewise.
75139         * math/s_catanhf.c: Likewise.
75140         * math/s_catanhl.c: Likewise.
75141         * math/s_catanl.c: Likewise.
75142         * math/s_ccosh.c: Likewise.
75143         * math/s_ccoshf.c: Likewise.
75144         * math/s_ccoshl.c: Likewise.
75145         * math/s_cexp.c: Likewise.
75146         * math/s_cexpf.c: Likewise.
75147         * math/s_cexpl.c: Likewise.
75148         * math/s_clog.c: Likewise.
75149         * math/s_clog10.c: Likewise.
75150         * math/s_clog10f.c: Likewise.
75151         * math/s_clog10l.c: Likewise.
75152         * math/s_clogf.c: Likewise.
75153         * math/s_clogl.c: Likewise.
75154         * math/s_csin.c: Likewise.
75155         * math/s_csinf.c: Likewise.
75156         * math/s_csinh.c: Likewise.
75157         * math/s_csinhf.c: Likewise.
75158         * math/s_csinhl.c: Likewise.
75159         * math/s_csinl.c: Likewise.
75160         * math/s_csqrt.c: Likewise.
75161         * math/s_csqrtf.c: Likewise.
75162         * math/s_csqrtl.c: Likewise.
75163         * math/s_ctan.c: Likewise.
75164         * math/s_ctanf.c: Likewise.
75165         * math/s_ctanh.c: Likewise.
75166         * math/s_ctanhf.c: Likewise.
75167         * math/s_ctanhl.c: Likewise.
75168         * math/s_ctanl.c: Likewise.
75169         * math/s_ldexp.c: Likewise.
75170         * math/s_ldexpf.c: Likewise.
75171         * math/s_ldexpl.c: Likewise.
75172         * math/s_significand.c: Likewise.
75173         * math/s_significandf.c: Likewise.
75174         * math/s_significandl.c: Likewise.
75175         * math/w_acos.c: Likewise.
75176         * math/w_acosf.c: Likewise.
75177         * math/w_acosh.c: Likewise.
75178         * math/w_acoshf.c: Likewise.
75179         * math/w_acoshl.c: Likewise.
75180         * math/w_acosl.c: Likewise.
75181         * math/w_asin.c: Likewise.
75182         * math/w_asinf.c: Likewise.
75183         * math/w_asinl.c: Likewise.
75184         * math/w_atan2.c: Likewise.
75185         * math/w_atan2f.c: Likewise.
75186         * math/w_atan2l.c: Likewise.
75187         * math/w_atanh.c: Likewise.
75188         * math/w_atanhf.c: Likewise.
75189         * math/w_atanhl.c: Likewise.
75190         * math/w_cosh.c: Likewise.
75191         * math/w_coshf.c: Likewise.
75192         * math/w_coshl.c: Likewise.
75193         * math/w_dremf.c: Likewise.
75194         * math/w_exp10.c: Likewise.
75195         * math/w_exp10f.c: Likewise.
75196         * math/w_exp10l.c: Likewise.
75197         * math/w_exp2.c: Likewise.
75198         * math/w_exp2f.c: Likewise.
75199         * math/w_fmod.c: Likewise.
75200         * math/w_fmodf.c: Likewise.
75201         * math/w_fmodl.c: Likewise.
75202         * math/w_hypot.c: Likewise.
75203         * math/w_hypotf.c: Likewise.
75204         * math/w_hypotl.c: Likewise.
75205         * math/w_j0.c: Likewise.
75206         * math/w_j0f.c: Likewise.
75207         * math/w_j0l.c: Likewise.
75208         * math/w_j1.c: Likewise.
75209         * math/w_j1f.c: Likewise.
75210         * math/w_j1l.c: Likewise.
75211         * math/w_jn.c: Likewise.
75212         * math/w_jnf.c: Likewise.
75213         * math/w_jnl.c: Likewise.
75214         * math/w_lgamma.c: Likewise.
75215         * math/w_lgamma_r.c: Likewise.
75216         * math/w_lgammaf.c: Likewise.
75217         * math/w_lgammaf_r.c: Likewise.
75218         * math/w_lgammal.c: Likewise.
75219         * math/w_lgammal_r.c: Likewise.
75220         * math/w_log.c: Likewise.
75221         * math/w_log10.c: Likewise.
75222         * math/w_log10f.c: Likewise.
75223         * math/w_log10l.c: Likewise.
75224         * math/w_log2.c: Likewise.
75225         * math/w_log2f.c: Likewise.
75226         * math/w_log2l.c: Likewise.
75227         * math/w_logf.c: Likewise.
75228         * math/w_logl.c: Likewise.
75229         * math/w_pow.c: Likewise.
75230         * math/w_powf.c: Likewise.
75231         * math/w_powl.c: Likewise.
75232         * math/w_remainder.c: Likewise.
75233         * math/w_remainderf.c: Likewise.
75234         * math/w_remainderl.c: Likewise.
75235         * math/w_scalb.c: Likewise.
75236         * math/w_scalbf.c: Likewise.
75237         * math/w_scalbl.c: Likewise.
75238         * math/w_sinh.c: Likewise.
75239         * math/w_sinhf.c: Likewise.
75240         * math/w_sinhl.c: Likewise.
75241         * math/w_sqrt.c: Likewise.
75242         * math/w_sqrtf.c: Likewise.
75243         * math/w_sqrtl.c: Likewise.
75244         * math/w_tgamma.c: Likewise.
75245         * math/w_tgammaf.c: Likewise.
75246         * math/w_tgammal.c: Likewise.
75248         * po/ja.po: Update from translation team.
75250 2011-09-29  Andreas Jaeger  <aj@suse.de>
75252         [BZ #13179]
75253         * sunrpc/netname.c (netname2host): Fix logic.
75255         [BZ #6779]
75256         [BZ #6783]
75257         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75258         correctly.
75259         * math/w_remainder.c (__remainder): Likewise.
75260         * math/w_remainderf.c (__remainderf): Likewise.
75261         * math/libm-test.inc (remainder_test): Add test cases.
75263 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75265         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75266         sdiv_qrnnd.
75268 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75270         * string/test-memcmp.c: Avoid unncessary #defines.
75271         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75273 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75275         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75276         Use new sse2 version for core i3 - i7 as it's faster
75277         than sse42 version.
75278         (bit_Prefer_PMINUB_for_stringop): New.
75279         * sysdeps/x86_64/rawmemchr.S: Update.
75280         Replace with faster SSE2 version.
75281         * sysdeps/x86_64/memrchr.S: New file.
75282         * sysdeps/x86_64/memchr.S: Update.
75283         Replace with faster SSE2 version.
75285 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75287         * elf/dl-load.c (lose): Add cast to avoid warning.
75289 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75291         * po/ca.po: Update from translation team.
75293         * inet/getnetgrent_r.c: Hook up nscd.
75294         * nscd/Makefile (routines): Add nscd_netgroup.
75295         (nscd-modules): Add netgroupcache.
75296         (CFLAGS-netgroupcache.c): Define.
75297         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75298         (cache_search): Add const to second parameter.
75299         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75300         INNETGR.
75301         (dbs): Add netgrdb entry.
75302         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75303         (verify_persistent_db): Handle netgrdb.
75304         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75305         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75306         GETFDNETGR.
75307         (netgroup_response_header): Define.
75308         (innetgroup_response_header): Define.
75309         (datahead): Add netgroup_response_header and innetgroup_response_header
75310         elements.
75311         * nscd/nscd.conf: Add entries for netgroup cache.
75312         * nscd/nscd.h (dbtype): Add netgrdb.
75313         (_PATH_NSCD_NETGROUP_DB): Define.
75314         (netgroup_iov_disabled): Declare.
75315         (xmalloc, xcalloc, xrealloc): Move declarations here.
75316         (cache_search): Adjust prototype.
75317         Add netgroup-related prototypes.
75318         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75319         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75320         (__nscd_innetgr): Declare.
75321         * nscd/selinux.c (perms): Use access_vector_t as element type and
75322         add netgroup-related initializers.
75323         * nscd/netgroupcache.c: New file.
75324         * nscd/nscd_netgroup.c: New file.
75325         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75326         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75327         For four parameters use innetgr.
75328         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75329         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75330         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75331         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75333         * nscd/connections.c (register_traced_file): Don't register file
75334         for disabled databases.
75336 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75338         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75340         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75341         from tree and freeing node.
75343 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75345         * nss/nsswitch.c (__nss_database_lookup): Handle
75346         nss_parse_service_list out of memory case.
75348 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75350         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75351         out of memory case.
75353 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75355         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75356         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75357         pass it down.
75358         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75359         elf_machine_rela, elf_machine_lazy_rel.
75360         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75361         (ELF_DYNAMIC_DO_REL): Likewise.
75362         (ELF_DYNAMIC_DO_RELA): Likewise.
75363         (ELF_DYNAMIC_RELOCATE): Likewise.
75364         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75365         to ELF_DYNAMIC_DO_REL.
75366         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75367         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75368         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75369         elf_machine_rela.
75370         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75371         skip_ifunc, don't call ifunc function if non-zero.
75372         (elf_machine_rela): Likewise.
75373         (elf_machine_lazy_rel): Likewise.
75374         (elf_machine_lazy_rela): Likewise.
75375         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75376         (elf_machine_lazy_rel): Likewise.
75377         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75378         Likewise.
75379         (elf_machine_lazy_rel): Likewise.
75380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75381         Likewise.
75382         (elf_machine_lazy_rel): Likewise.
75383         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75384         (elf_machine_lazy_rel): Likewise.
75385         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75386         (elf_machine_lazy_rel): Likewise.
75387         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75388         (elf_machine_lazy_rel): Likewise.
75389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75390         (elf_machine_lazy_rel): Likewise.
75391         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75392         (elf_machine_lazy_rel): Likewise.
75393         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75394         (elf_machine_lazy_rel): Likewise.
75396 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75398         * nss/nss_files/files-init.c (_nss_files_init): Use static
75399         initialization for all the *_traced_file variables.
75401 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75403         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75405 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75407         [BZ #13226]
75408         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75410 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75412         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75413         Reread the line before reparsing it.
75415 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75417         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75419 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75420             Maxim Kuvyrkov  <maxim@codesourcery.com>
75421             Joseph Myers  <joseph@codesourcery.com>
75423         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75424         if needed for __stack_chk_guard.
75426 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75428         * sysdeps/posix/spawni.c (script_execute): Always define it.
75429         It will be optimized away if unused.
75430         (maybe_script_execute): New function.
75431         (__spawni): Call it.
75433         * Makerules: Don't include tls.make.
75434         (config-tls): Always set to thread.
75435         * tls.make.c: File removed.
75437 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75439         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75440         * config.make.in (CPPFLAGS-config): New substituted variable.
75442 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75444         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75446         [BZ #13192]
75447         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75448         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75450 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75452         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75453         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75454         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75455         (CALL_FAIL): Likewise.
75456         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75457         (CALL_FAIL): Macro removed.
75458         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75460 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75462         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75463         for __FINITE_MATH_ONLY__ == 1.
75465 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75467         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75468         __ieee754_sqrt instead of sqrt.
75469         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75470         __ieee754_sqrtf instead of sqrtf.
75471         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75472         __floorf instead of floorf.
75473         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75474         __floorf, __truncf instead of floorf, truncf.
75476 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75478         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75480         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75481         __extern_always_inline.
75482         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75483         32-bit.
75485 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75487         * elf/rtld.c (dl_main): Also relocate in dependency order when
75488         doing symbol dependency testing.
75490 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75492         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75493         Always define `refsym'.
75495 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75497         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75498         (__FD_ELT): Renamed from __FDELT.
75499         * misc/bits/select2.h (__FD_ELT): Likewise.
75500         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75501         __FD_MASK instead of __FDELT, __FDMASK.
75502         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75503         Likewise.
75504         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75505         Likewise.
75507         * elf/Makefile (gen-ldd): Fix pattern.
75509         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75510         (init_tls): Likewise.
75512 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75514         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75516 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75518         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75519         `struct cmsghdr *' instead of `void *'.
75520         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75521         Likewise.
75523 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75525         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75526         if non-absolute.
75527         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75528         ldd_rewrite_script.
75530 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75532         * configure.in: Remove --with-tls option.
75533         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75534         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75535         out in case it is missing.
75536         * sysdeps/ia64/elf/configure.in: Likewise.
75537         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75538         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75539         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75540         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75541         * sysdeps/sh/elf/configure.in: Likewise.
75542         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75543         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75544         * sysdeps/x86_64/elf/configure.in: Likewise.
75545         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75546         * sysdeps/mach/hurd/tls.h: Likewise.
75548         [BZ #13067]
75549         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75551         [BZ #13090]
75552         * configure.in: Fix use of AC_INIT.
75554         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75556 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75558         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75559         __set_errno.
75560         * malloc/hooks.c: Likewise.
75562         [BZ #11929]
75563         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75564         variables statically.
75565         (narenas): Initialize.
75566         (list_lock): Initialize.
75567         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75568         initializtion of main_arena and list_lock.  Small cleanups.
75569         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75570         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75571         Add initializers to main_arena and mp_.
75572         (malloc_state): Remove pagesize member.  Change all users to use
75573         GLRO(dl_pagesize).
75575         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75576         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75577         is always initialized.
75579         * malloc/malloc.c: Removed unused configurations and dead code.
75580         * malloc/arena.c: Likewise.
75581         * malloc/hooks.c: Likewise.
75582         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75584         * include/tls.h: Removed.  USE___THREAD must always be defined.
75585         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75586         * elf/dl-libc.c: Likewise.
75587         * elf/dl-tsd.c: Likewise.
75588         * include/errno.h: Likewise.
75589         * include/netdb.h: Likewise.
75590         * include/resolv.h: Likewise.
75591         * inet/herrno-loc.c: Likewise.
75592         * inet/herrno.c: Likewise.
75593         * malloc/arena.c: Likewise.
75594         * malloc/hooks.c: Likewise.
75595         * malloc/malloc.c: Likewise.
75596         * resolv/res-state.c: Likewise.
75597         * resolv/res_libc.c: Likewise.
75598         * sysdeps/i386/dl-machine.h: Likewise.
75599         * sysdeps/ia64/dl-machine.h: Likewise.
75600         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75601         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75602         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75603         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75604         * sysdeps/sh/dl-machine.h: Likewise.
75605         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75606         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75607         * sysdeps/unix/i386/sysdep.S: Likewise.
75608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75609         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75611         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75613         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75614         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75616         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75618         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75619         * sysdeps/x86_64/dl-machine.h: Likewise.
75620         * tls.make.c: Likewise.
75622         * configure.in: Remove --with-__thread option.  Make tests for
75623         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75624         tls_model attribute fail if no support is available.  Remove
75625         USE_IN_LIBIO.
75626         * Makeconfig: Adjust for dropped configure option.  All features are
75627         now mandatory.
75628         * Makerules: Likewise.
75629         * Versions.def: Likewise.
75630         * argp/argp-fmtstream.c: Likewise.
75631         * argp/argp-fmtstream.h: Likewise.
75632         * argp/argp-help.c: Likewise.
75633         * assert/assert.c: Likewise.
75634         * config.h.in: Likewise.
75635         * config.make.in: Likewise.
75636         * configure: Likewise.
75637         * configure.in: Likewise.
75638         * csu/Versions: Likewise.
75639         * csu/init.c: Likewise.
75640         * elf/tst-audit2.c: Likewise.
75641         * elf/tst-tls10.c: Likewise.
75642         * elf/tst-tls10.h: Likewise.
75643         * elf/tst-tls11.c: Likewise.
75644         * elf/tst-tls12.c: Likewise.
75645         * elf/tst-tls14.c: Likewise.
75646         * elf/tst-tlsmod11.c: Likewise.
75647         * elf/tst-tlsmod12.c: Likewise.
75648         * elf/tst-tlsmod13.c: Likewise.
75649         * elf/tst-tlsmod13a.c: Likewise.
75650         * elf/tst-tlsmod14a.c: Likewise.
75651         * elf/tst-tlsmod15b.c: Likewise.
75652         * elf/tst-tlsmod16a.c: Likewise.
75653         * elf/tst-tlsmod16b.c: Likewise.
75654         * elf/tst-tlsmod7.c: Likewise.
75655         * elf/tst-tlsmod8.c: Likewise.
75656         * elf/tst-tlsmod9.c: Likewise.
75657         * gmon/gmon.c: Likewise.
75658         * grp/fgetgrent_r.c: Likewise.
75659         * grp/putgrent.c: Likewise.
75660         * hurd/fopenport.c: Likewise.
75661         * include/libc-symbols.h: Likewise.
75662         * include/tls.h: Likewise.
75663         * intl/gettextP.h: Likewise.
75664         * intl/loadinfo.h: Likewise.
75665         * locale/global-locale.c: Likewise.
75666         * locale/localeinfo.h: Likewise.
75667         * mach/devstream.c: Likewise.
75668         * malloc/arena.c: Likewise.
75669         * malloc/set-freeres.c: Likewise.
75670         * misc/err.c: Likewise.
75671         * misc/getttyent.c: Likewise.
75672         * misc/mntent_r.c: Likewise.
75673         * posix/getopt.c: Likewise.
75674         * posix/wordexp.c: Likewise.
75675         * pwd/fgetpwent_r.c: Likewise.
75676         * resolv/Versions: Likewise.
75677         * resolv/res_hconf.c: Likewise.
75678         * shadow/fgetspent_r.c: Likewise.
75679         * shadow/putspent.c: Likewise.
75680         * stdio-common/printf_fphex.c: Likewise.
75681         * stdio-common/tmpfile.c: Likewise.
75682         * stdlib/abort.c: Likewise.
75683         * stdlib/fmtmsg.c: Likewise.
75684         * sunrpc/auth_unix.c: Likewise.
75685         * sunrpc/clnt_perr.c: Likewise.
75686         * sunrpc/clnt_tcp.c: Likewise.
75687         * sunrpc/clnt_udp.c: Likewise.
75688         * sunrpc/clnt_unix.c: Likewise.
75689         * sunrpc/openchild.c: Likewise.
75690         * sunrpc/svc_simple.c: Likewise.
75691         * sunrpc/svc_tcp.c: Likewise.
75692         * sunrpc/svc_udp.c: Likewise.
75693         * sunrpc/svc_unix.c: Likewise.
75694         * sunrpc/xdr.c: Likewise.
75695         * sunrpc/xdr_array.c: Likewise.
75696         * sunrpc/xdr_rec.c: Likewise.
75697         * sunrpc/xdr_ref.c: Likewise.
75698         * sunrpc/xdr_stdio.c: Likewise.
75700 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75702         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75704 2011-07-03  Andreas Jaeger  <aj@suse.de>
75706         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75707         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75708         regenerate with gen-libm-tests.pl.
75710 2010-05-12  Petr Baudis  <pasky@suse.cz>
75712         [BZ #11589]
75713         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75714         around j0() zero points by switching to j1().
75715         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75718         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75720 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75722         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75723         instead of 0.
75724         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75725         instead of 0.
75726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75727         Patch in part by Pavel Roskin <proski@gnu.org>.
75729         [BZ #13138]
75730         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75731         realloc.
75732         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75733         Free memory block if necessary.
75735         [BZ #12847]
75736         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75737         be NULL.  Don't lock in this case.
75739 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75741         * elf/elf.h (ELFOSABI_GNU): New macro.
75742         (ELFOSABI_LINUX): Define to that.
75744 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75746         * string/strncat.c (strncat): Undef the symbol in case it has been
75747         defined in bits/string.h.
75749 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75751         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75753         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75754         link map.
75756 2011-08-17  Andreas Jaeger  <aj@suse.de>
75758         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75760 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75761             Ian Lance Taylor  <iant@google.com>
75763         * math/libm-test.inc (lround_test): New testcase.
75764         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75766 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75768         * Makefile: Remove support for automatic cvs check-ins.
75769         * Makerules: Likewise.
75770         * config.make.in: Likewise.
75771         * configure.in: Likewise.
75772         * intl/Makefile: Likewise.
75773         * locale/Makefile: Likewise.
75774         * po/Makefile: Likewise.
75775         * posix/Makefile: Likewise.
75776         * sysdeps/gnu/Makefile: Likewise.
75777         * sysdeps/mach/hurd/Makefile: Likewise.
75778         * sysdeps/sparc/sparc32/Makefile: Likewise.
75780         [BZ #13118]
75781         * posix/Makefile (bug-regex32-ENV): Define.
75782         Patch by John Stanley <jpsinthemix@verizon.net>.
75784         * misc/Makefile (headers): Add bits/select2.h.
75785         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75786         * misc/bits/select2.h: New file.
75787         * include/bits/select2.h: New file.
75788         * debug/Makefile (routines): Add fdelt_chk.
75789         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75790         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75791         FD_ISSET.
75792         * debug/fdelt_chk.c: New file.
75794         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75795         * wcsmbs/test-wmemcmp.c: Likewise.
75796         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75797         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75799 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75801         * string/Makefile (strop-tests): Add memcmp.
75802         * string/test-wmemcmp.c: New file.
75803         * string/test-memcmp.c: Add wmemcmp support.
75805 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75807         [BZ #13153]
75808         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75809         2011-07-19 change.
75811         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75812         garbage value in a __mach_port_mod_refs call in the cases of the
75813         task-self and thread-self ports.
75815 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75817         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75819 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75821         * elf/dl-load.c (lose): Check for non-null L.
75823 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75825         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75827         * elf/dl-libc.c (dlerror_run): Pass back error code from
75828         dl_catch_error.
75830         [BZ #13123]
75831         * elf/dl-load.c (lose): Free l_origin if it is valid.
75833         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75834         names.
75835         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75836         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75838         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75839         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75840         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75842 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75844         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75845         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75846         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75847         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75848         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75849         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75850         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75851         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75852         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75853         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75855 2011-08-15  Alan Modra  <amodra@gmail.com>
75857         [BZ #13092]
75858         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75859         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75860         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75861         ppc_mcount to static-only-routines.
75862         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75863         __mcount_internal.
75864         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75865         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75867 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75869         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75870         for finite and infinity parameters.
75872 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75874         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75875         and add nop instructions for throughput optimization.
75876         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75878 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75881         aligned copy for power7 with vector-scalar instructions.
75882         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75884 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75887         AVX check.
75889 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75891         [BZ #13144]
75892         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75893         last change.
75895 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75897         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75898         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75899         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75900         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75901         clock_gettime.
75903 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75905         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75906         Forgot to demangle the pointer.
75908         * sysdeps/i386/sysdep.h: Define atom_text_section.
75909         * sysdeps/x86_64/sysdep.h: Likewise.
75910         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75911         section with atom_text_section.
75912         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75913         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75914         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75915         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75916         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75918         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75919         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75920         already be defined.  Change to take two parameters and don't assign
75921         result to variable.  Adjust all users.
75922         Define INTERNAL_GETTIME if not already defined.
75923         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75924         call.
75925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75926         HAVE_CLOCK_GETTIME_VSYSCALL.
75927         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75929         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75930         gettimeofday vsyscall, just use time.
75932 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75934         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75935         <errno.h>.
75937 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75939         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75940         syscall on x86-64.
75941         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75942         syscall.
75943         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75944         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75945         syscall if possible.
75947 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75949         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75950         e_ident.  Don't pass to find_mapsXX.
75951         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75953 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75956         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75957         * sysdeps/x86_64/multiarch/strchr.S: Update.
75958         Check bit_slow_BSF bit.
75959         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75960         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75961         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75963 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75965         [BZ #13134]
75966         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75967         before glibc 2.15.
75968         (tryshell): Define.
75969         (__spawni): Change last parameter to be flag.  Test
75970         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75971         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75972         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75973         * posix/spawni.c: Likewise.
75974         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75975         * posix/spawnp.c: Likewise.  Change normal version to use
75976         SPAWN_XFLAGS_USE_PATH.
75977         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75978         SPAWN_XFLAGS_TRY_SHELL.
75980         [BZ #13150]
75981         * posix/glob.h: Remove gcc 1.x support.
75983         [BZ #13068]
75984         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75986 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75989         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75990         strrchr-sse2-bsf
75991         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75992         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75993         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75994         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75995         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75996         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75998 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76000         * sysdeps/x86_64/wcscmp.S: New file.
76002         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76003         wcscmp-c wcscmp-sse2
76004         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76005         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76006         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76007         * wcsmbs/wcscmp.c: Allow renaming.
76009 2011-09-05  David S. Miller  <davem@davemloft.net>
76011         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76012         stack slot, rather than the struct return pointer slot.
76013         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76014         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76016         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76018 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76020         * po/ja.po: Update from translation team.
76022         [BZ #13144]
76023         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76024         kernel in 64-bit binaries.
76026 2011-09-01  David S. Miller  <davem@davemloft.net>
76028         * elf/elf.h (HWCAP_SPARC_*): Move to..
76029         * sysdeps/sparc/sysdep.h: this new file and add new values.
76030         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76031         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76032         _DL_HWCAP_COUNT to 24.
76033         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76034         entries.
76035         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76036         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76037         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76038         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76039         instead of magic constants.
76040         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76042 2011-08-31  David S. Miller  <davem@davemloft.net>
76044         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76045         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76046         Reimplement to do errno handling inline.
76047         (SYSCALL_ERROR_HANDLER): New macro.
76048         (__SYSCALL_STRING): Do not do errno handling in asm.
76049         (__CLONE_SYSCALL_STRING): Delete.
76050         (__INTERNAL_SYSCALL_STRING): Delete.
76051         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76052         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76053         (PSEUDO): Reimplement to do errno handling inline.
76054         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76055         (SYSCALL_ERROR_HANDLER): New macro.
76056         (__SYSCALL_STRING): Do not do errno handling in asm.
76057         (__CLONE_SYSCALL_STRING): Delete.
76058         (__INTERNAL_SYSCALL_STRING): Delete.
76059         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76060         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76061         i386.
76062         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76063         (inline_syscall*): Add 'err' argument.
76064         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76065         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76066         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76067         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76069         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76070         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76072 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76074         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76076 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76078         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76079         directive.
76081 2011-08-24  David S. Miller  <davem@davemloft.net>
76083         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76085 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76087         * elf/Makefile: Add rules to build and run unload8 test.
76088         * elf/unload8.c: New file.
76089         * elf/unload8mod1.c: New file.
76090         * elf/unload8mod1x.c: New file.
76091         * elf/unload8mod2.c: New file.
76092         * elf/unload8mod3.c: New file.
76094         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76095         it wasn't used.
76097 2011-08-23  David S. Miller  <davem@davemloft.net>
76099         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76100         subtract stack bias.
76101         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76102         %sp not %fp in calculations.
76103         (_JMPBUF_UNWINDS_ADJ): Likewise.
76105         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76106         (aio_suspend): Call it to force an exception region around the
76107         AIO_MISC_WAIT() invocation.
76109 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76111         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76112         backslash.
76114 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76116         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76117         protection macro.
76118         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76119         and <dl-machine.h>.
76120         (Elf64_FuncDesc): Remove.
76122 2011-08-22  David S. Miller  <davem@davemloft.net>
76124         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76125         sigaltstack check, add missing cfi directives.
76126         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76127         missing cfi directives, and sigaltstack handling.
76129 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76131         [BZ #11724]
76132         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76133         object is seen twice.
76134         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76136         * elf/Makefile (distribute): Add tst-initorder2.c.
76137         (tests): Add tst-initorder2.
76138         (modules-names): Add tst-initorder2a tst-initorder2b
76139         tst-initorder2c tst-initorder2d.  Add rules to build them.
76140         ($(objpfx)tst-initorder2.out): New rule.
76141         * elf/tst-initorder2.c: New file.
76142         * elf/tst-initorder2.exp: New file.
76144 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76146         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76148         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76149         dependencies back to end of function.
76151         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76152         $(elfobjdir)/ld.so.
76154 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76157         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76158         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76159         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76160         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76161         of __vdso_gettimeofday.
76162         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76163         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76164         attribute_hidden.
76165         (_libc_vdso_platform_setup): Remove initialization of
76166         __vdso_gettimeofday and __vdso_time.
76168 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76170         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76171         and fgetc_unlocked.
76172         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76173         getc_unlocked.
76175         * elf/dl-open.c (add_to_global): Report additions to the global scope
76176         for LD_DEBUG=scopes.
76177         (dl_open_worker): Also print scope of newly loaded dependencies.
76178         (_dl_show_scope): Indicate if there is no scope.
76180         [BZ #13114]
76181         * stdio-common/Makefile (tests): Add bug24.
76182         * stdio-common/bug24.c: New file.
76184 2011-08-19  Andreas Jaeger  <aj@suse.de>
76186         [BZ #13114]
76187         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76188         non-existant file when using close-on-exec mode.
76190 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76193         the very first instruction.
76195         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76196         the CFI state in the end.
76197         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76198         inclusion of dl-trampoline.h.
76199         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76201 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76203         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76204         expectations for long double.
76206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76207         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76209 2011-08-14  David S. Miller  <davem@davemloft.net>
76211         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76212         artificual limit depends upon the system page size.
76214 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76216         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76217         * resolv/Makefile: Define CFLAGS-libresolv.
76219 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76221         * nss/makedb.c (compute_tables): Make variables used in nested
76222         function static.
76224 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76226         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76227         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76228         if buffer was too small.
76230         * elf/pldd.c (main): Attach to all threads in the process.
76231         Rewrite /proc handling to use *at functions.
76233 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76235         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76236         specifies first scope to show.
76237         (dl_open_worker): Update callers.  Move printing scope of new
76238         object to before the relocation.
76239         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76240         * sysdeps/generic/ldsodefs.h: Update declaration.
76242         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76243         string for the scope number.
76245 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76247         * nscd/servicescache.c (cache_addserv): Make sure written is always
76248         initialized.
76250 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76252         * sysdeps/i386/i486/bits/atomic.h
76253         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76254         statement expression, so as to suppress "set but not used" warning.
76255         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76257         * string/strncat.c (STRNCAT): Use prototype definition.
76259         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76260         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76261         -Iprograms here.
76262         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76263         (localedef-modules): Add localedef.
76264         (locale-modules): Add locale.
76266         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76267         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76268         to avoid a warning.
76270 2011-08-14  David S. Miller  <davem@davemloft.net>
76272         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76273         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76275 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76277         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76278         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76279         * elf/rtld.c (dl_main): Set l_name of vDSO.
76280         Call _dl_show_scope when DL_DEBUG_SCOPES.
76281         (process_dl_debug): Recognize scopes flag and also set it for all.
76282         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76283         Declare _dl_show_scope.
76285         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76286         (do_dlopen): Pass caller_dlopen to dl_open.
76287         (__libc_dlopen_mode): Initialize caller_dlopen.
76289         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76290         of libc.  Make tolower call locale-independent.  Optimize a bit by
76291         using isdigit instead of isalnum.
76292         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76294 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76296         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76297         was a dependency or dynamically loaded.
76299 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76301         * intl/l10nflist.c: Allow architecture-specific pop function.
76302         * sysdeps/x86_64/l10nflist.c: New file.
76304         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76305         classification.
76307 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76309         * include/dirent.h: Add libc_hidden_proto for scandirat and
76310         scandirat64.  Don't declare __scandirat64.
76311         * dirent/scandirat.c: Add libc_hidden_def.
76312         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76313         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76315 2011-08-10  David S. Miller  <davem@davemloft.net>
76317         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76318         enum.
76319         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76320         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76321         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76323 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76325         * Versions.def [libc]: Add GLIBC_2.15.
76326         * dirent/Makefile (routines): Add scandirat and scandirat64.
76327         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76328         GLIBC_2.15.
76329         * dirent/dirent.h: Declare scandirat and scandirat64.
76330         * dirent/scandirat.c: New file.
76331         * dirent/scandirat64.c: New file.
76332         * sysdeps/wordsize-64/scandirat.c: New file.
76333         * sysdeps/wordsize-64/scandirat64.c: New file.
76334         * dirent/opendir.c: Define opendirat.
76335         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76336         using scandirat.
76337         * dirent/scandir64.c: Adjust for scandir.c change.
76338         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76339         __scandirat64, and __scandir_cancel_handler.
76340         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76341         additional parameter and use openat instead of open (outside of ld.so).
76342         Add new __opendir as wrapper around __opendirat.
76343         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76344         here without requiring old scandirat implementation.
76346 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76348         * dirent/scandir.c (cancel_handler): Renamed to
76349         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76350         defined.  Adjust users.
76351         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76352         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76354 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76356         * string/test-string.h (IMPL): Use __STRING to expand name and then
76357         stringify it.
76359         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76360         of cleanups.
76362 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76364         * string/Makefile: Update.
76365         (strop-tests): Append strncat.
76366         * string/test-wcscmp.c: New file.
76367         New comprehensive test for wcscmp.
76368         * string/test-strcmp.c: Update.
76369         (WIDE): New define.
76371 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76373         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76374         line.
76376 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76379         encoding to ACE if AI_IDN.
76381 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76383         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76384         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76386 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76388         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76389         Fix overflow bug in strncat.
76390         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76392         * string/test-strncat.c: Update.
76393         Add new tests for checking overflow bugs.
76395 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76398         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76399         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76400         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76401         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76402         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76403         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76404         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76405         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76407         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76408         (USE_AS_STRCAT): Define.
76409         Add strcat and strncat support.
76410         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76412 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76414         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76415         __n bigger than INT_MAX+1.
76416         (__strncmp_g): Likewise.
76418 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76420         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76421         * libio/stido.h: Likewise.
76423         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76424         (AF_NFC): Define.
76425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76426         (AF_NFC): Define.
76428         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76431         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76432         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76434         [BZ #13021]
76435         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76436         installed.
76438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76439         typo.
76440         (_dl_x86_64_save_sse): Likewise.
76442 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76444         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76445         OSXSAVE.
76446         (_dl_x86_64_save_sse): Likewise.
76448         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76450         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76452 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76454         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76455         change.
76456         (_dl_x86_64_save_sse): Use correct AVX check.
76458 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76460         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76461         bug in strncpy/strncat.
76462         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76464 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76466         * string/tester.c (test_strcat): Add tests for different alignments
76467         of source and destination.
76468         (test_strncat): Likewise.
76470 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76472         [BZ #12852]
76473         * posix/glob.c (glob): Check passed in values before using them in
76474         expressions to avoid some overflows.
76475         (glob_in_dir): Likewise.
76477         [BZ #13007]
76478         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76479         check for AVX enablement so that we don't crash with old kernels and
76480         new hardware.
76481         * elf/tst-audit4.c: Add same checks here.
76482         * elf/tst-audit6.c: Likewise.
76484         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76486 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76488         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76490 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76492         * po/cs.po: Update from translation team.
76493         * po/bg.po: Likewise.
76495 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76497         * misc/sys/cdefs.h: Add support for const attribute.
76498         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76499         to gnu_dev_{major,minor,makedev} functions.
76501 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76503         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76505 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76507         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76508         strlen results.
76510 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76513         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76514         register in order to avoid conflicts with the soft frame pointer
76515         being held in r11 when necessary.
76516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76517         (INTERNAL_VSYSCALL_NCS): Likewise.
76519 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76521         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76522         * elf/dl-fini.c (_dl_fini): Adjust caller.
76523         * elf/dl-close.c (_dl_close_worker): Likewise.
76524         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76526 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76528         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76529         "aux_cache->nlibs < 0".
76531         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76532         in the reload-count case.
76534 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76537         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76538         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76539         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76540         * sysdeps/x86_64/multiarch/strcat.S: New file.
76541         * sysdeps/x86_64/multiarch/strncat.S: New file.
76542         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76543         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76544         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76545         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76546         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76547         (USE_AS_STRCAT): Define.
76548         Add strcat and strncat support.
76549         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76550         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76551         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76552         * string/strncat.c: Update.
76553         (USE_AS_STRNCAT): Define.
76554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76555         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76556         and i7.
76557         * sysdeps/x86_64/multiarch/init-arch.h
76558         (bit_Prefer_PMINUB_for_stringop): New.
76559         (index_Prefer_PMINUB_for_stringop): Likewise.
76560         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76561         bit_Prefer_PMINUB_for_stringop.
76563 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76565         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76566         buffer64.
76567         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76568         of casting of buffer.
76569         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76570         buffer32 and buffer64.
76571         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76572         writes instead of casting of buffer.
76573         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76574         buffer32.
76575         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76576         casting of buffer.
76578 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76580         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76582 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76584         * nscd/nscd.c (termination_handler): Don't do anything for a database
76585         if it has not yet been initialized.
76587 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76589         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76591 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76593         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76595 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76597         * po/nl.po: Update from translation team.
76598         * po/sv.po: Likewise.
76600 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76602         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76603         now disallowed by GCC.
76605         * configure.in (use-default-link): Default to yes if a test -shared
76606         link meets our qualifications.
76607         * configure: Regenerated.
76609         * config.make.in (output-format): New variable.
76610         * configure.in: Check for ld --print-output-format support.
76611         * configure: Regenerated.
76612         * Makerules ($(common-objpfx)format.lds)
76613         [$(output-format) != unknown]: Just use $(output-format),
76614         instead of the linker-script munging.
76616 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76618         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76619         of $(common-objpfx)shlib.lds.
76620         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76622         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76623         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76625         * configure.in (-z relro check): Adjust test code to add a large
76626         writable data section after it.
76627         * configure: Regenerated.
76629 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76631         * configure.in (-z relro check): Fix test code to make the variable
76632         truly const.
76633         * configure: Regenerated.
76635 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76637         * nscd/nscd.h (struct traced_file): Define.
76638         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76639         elements.  Add traced_files.
76640         (inotify_fd): Declare.
76641         (register_traced_file): Declare.
76642         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76643         (inotify_fd): Export.
76644         (resolv_conf_descr): Remove.
76645         (nscd_init): Move inotify descriptor creation to main.
76646         Don't register files for notification here.
76647         (register_traced_file): New function.
76648         (invalidate_cache): Don't use reset_res to determine whether to call
76649         res_init, go through the list of registered files.
76650         (main_loop_poll): The inotify descriptors are now stored in the
76651         structures for the traced files.
76652         (main_loop_epoll): Likewise.
76653         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76654         to __nss_disable_nscd.
76655         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76656         for a database anymore.  Check the records for all the registered
76657         files instead.
76658         * nss/Makefile (libnss_files-routines): Add files-init.
76659         (libnss_db-routines): Add db-init.
76660         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76661         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76662         * nss/nss_db/db-init.c: New file.
76663         * nss/nss_files/files-init.c: New file.
76664         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76665         __nss_lookup_function.
76666         (__nss_lookup_function): Call nss_load_library.
76667         (nss_load_all_libraries): New function.
76668         (__nss_disable_nscd): Take parameter with callback function for files
76669         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76670         used for the cached services.
76671         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76672         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76673         options for features to all the files in nscd.
76675         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76677 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76679         * csu/elf-init.c (__libc_csu_init): Comment typo.
76681 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76683         * po/pl.po: Update from translation team.
76684         * po/ja.po: Likewise.
76685         * po/ru.po: Likewise.
76686         * po/ko.po: Likewise.
76687         * po/fr.po: Likewise.
76689 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76691         * configure.in (.ctors/.dtors header and trailer check):
76692         Use an empirical test on a built program.
76693         * configure: Regenerated.
76695         * configure.in (-z relro check): Use an empirical test on a built DSO.
76696         Detect, but do not require, on ia64.
76697         * configure: Regenerated.
76699         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76700         Update tests that use readelf to use $READELF instead.
76701         * configure: Regenerated.
76703 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76705         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76706         if the result is not used.
76708 2011-07-05  Andreas Jaeger  <aj@suse.de>
76710         [BZ#9696]
76711         * stdlib/tst-strtod.c: Add testcase.
76713 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76715         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76716         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76717         The latter has a higher limit.  Take additional parameter to pass to
76718         the new function.
76719         (__pathconf): Pass file to __statfs_link_max.
76720         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76721         __statfs_link_max.
76722         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76723         __statfs_link_max.
76725         [BZ #12868]
76726         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76727         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76728         Handle Lustre.
76729         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76730         (__statfs_filesize_max): Likewise.
76731         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76733 2011-07-05  Andreas Jaeger  <aj@suse.de>
76735         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76737 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76739         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76740         `status' variable.
76741         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76742         Likewise.
76744 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76746         * Makefile (strop-tests): Add strncat.
76747         * string/test-strncat.c: New file.
76749 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76751         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76753 2011-06-21  Andreas Jaeger  <aj@suse.de>
76755         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76756         Copy rule from iconvdata/Makefile.
76758 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76760         [BZ #12922]
76761         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76762         but no long options are defined, just return 'W'.
76764 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76766         [BZ #9696]
76767         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76769 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76771         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76772         netgroups to read.
76773         (innetgr): Likewise.
76775 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76777         * config.make.in (install_root): Default to $(DESTDIR).
76779 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76781         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76783 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76785         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76787         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76788         containing directory rather than embedding absolute directory names.
76790         * scripts/check-local-headers.sh: Rewritten using awk.
76791         Match by word, not by line.  Print error messages for matches.
76792         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76794         * Makerules [shlib-lds-flags empty]:
76795         ($(common-objpfx)libc_pic.opts): New target.
76796         ($(common-objpfx)libc_pic.os.clean): New target.
76797         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76799         * config.make.in (OBJCOPY): New variable.
76800         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76801         * configure: Regenerated.
76803         * config.make.in (use-default-link): New variable.
76804         * configure.in (use_default_link): Grok --with-default-link to set it.
76805         * configure: Regenerated.
76806         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76807         (shlib-lds, shlib-lds-flags): Define to empty.
76809         * Makerules (shlib-lds): New variable.
76810         (shlib-lds-flags): New variable.
76811         (build-shlib, build-moduile, build-module-asneeded): Use it.
76812         ($(common-objpfx)libc.so): Use $(shlib-lds).
76813         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76814         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76816         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76817         DT_FLAGS/DT_FLAGS_1 with zero flags.
76819         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76820         linker script munging.
76822 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76824         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76825         as 128-bit value.
76826         * crypt/sha512.c (sha512_process_block): Perform total addition using
76827         128-bit if possible.
76828         (__sha512_finish_ctx): Likewise.
76829         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76830         as 64-bit value.
76831         * crypt/sha256.c (SWAP64): Define.
76832         (sha256_process_block): Perform total addition using 64-bit if
76833         possible.
76834         (__sha256_finish_ctx): Likewise.
76836 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76838         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76839         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76840         * nscd/hstcache.c (cache_addhst): Likewise.
76841         * nscd/grpcache.c (cache_addgr): Likewise.
76842         * nscd/aicache.c (addhstaiX): Likewise.
76843         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76845 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76847         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76848         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76849         * nscd/hstcache.c (cache_addhst): Likewise.
76850         * nscd/grpcache.c (cache_addgr): Likewise.
76851         * nscd/aicache.c (addhstaiX): Likewise.
76853 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76855         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76856         domain only when needed.
76858 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76861         is always restored.
76863 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76865         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76866         are re-adding the entry.
76867         * nscd/servicescache.c (cache_addserv): Likewise.
76869 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76871         * sysdeps/generic/dl-irel.h: fix protection against multiple
76872         inclusions.
76873         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76875 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76877         [BZ #12935]
76878         * malloc/memusage.sh: Fix quoting in message.
76879         * debug/xtrace.sh: Likewise.
76881         * configure.in: Remove support for --experimental-malloc option, make
76882         it the default.
76883         * config.make.in: Likewise.
76884         * malloc/Makefile: Likewise.
76886 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76888         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76889         two-byte characters.
76891 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76893         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76894         AC_CACHE_CHECK invocation.
76895         * configure: Regenerated.
76897         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76899 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76901         [BZ #12350]
76902         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76903         bit from old_res_options.
76905         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76907         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76908         value type for setfct.
76910 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76912         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76913         __gettimeofday instead of gettimeofday.
76915 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76917         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76919 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76921         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76924         info.
76926 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76929         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76930         strcpy-sse2-unaligned strncpy-sse2-unaligned
76931         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76932         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76933         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76934         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76935         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76936         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76937         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76938         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76939         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76940         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76941         (STRCPY): Support SSE2 and SSSE3 versions.
76943 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76945         [BZ #12874]
76946         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76947         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76948         kernels which artificially limit size of requests.
76950 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76953         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76954         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76955         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76956         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76957         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76958         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76959         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76960         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76961         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76962         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76963         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76964         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76965         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76966         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76968         Enable unaligned load optimization for Intel Core i3, i5 and i7
76969         processors.
76970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76971         Define.
76972         (index_Fast_Unaligned_Load): Define.
76973         (HAS_FAST_UNALIGNED_LOAD): Define.
76975 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76977         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76979 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76981         [BZ #12907]
76982         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76983         until it is clear that the information is realy needed.
76984         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76986 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76990 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76993         /sys/devices/system/cpu/online if it is usable.
76995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76996         reading the information from the /proc filesystem to once a second.
76998 2011-06-21  Andreas Jaeger  <aj@suse.de>
77000         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77001         NULL after inclusion of kernel headers.
77003 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77005         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77006         calls to internal_setent.
77008         [BZ #12885]
77009         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77010         addresses using gethostbyname4_r ignore IPv4 addresses.
77012         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77013         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77015         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77017 2011-06-20  David S. Miller  <davem@davemloft.net>
77019         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77020         inclusions.
77021         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77023         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77024         (elf_irel): Use it.
77025         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77026         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77027         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77028         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77029         * sysdeps/x86_64/dl-irel.h: Likewise.
77031         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77032         * elf/dl-sym.c: Likewise.
77034 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77036         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77037         need to dereference resplen2.
77039 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77041         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77043 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77045         * Makeconfig: Define vardbdir and inst_vardbdir.
77046         * nss/Makefile: Add rules to install db-Makefile.
77048         * nss/nss_db/db-XXX.c: Cleanup.
77050         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77051         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77052         GLIBC_PRIVATE.
77053         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77054         * nss/makedb.c: Implement -g option to specify that value strings
77055         are generated and should not be added to table iterated over for
77056         get*ent calls.
77057         * nss/nss_db/db-initgroups.c: New file.
77059         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77060         interface.
77062         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77063         (internal_getgrouplist): Adjust to name change.
77064         Update use_initgroups_entry if this is not the first call.
77065         * nss/databases.def: Add initgroups entry.
77067         * nss/makedb.c (compute_tables): Check result of multiple hash table
77068         sizes to minimize maximum chain length.
77070 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77072         * Versions.def: Add entry for libnss_db.
77073         * shlib-versions: Likewise.
77074         * nss/Makefile: Add rules to build libnss_db.
77075         * nss/Versions: Add libnss_db information.  Organize libnss_files
77076         entries better.
77077         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77078         makedb progra.  Some minor improvements to generate smaller files.
77079         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77080         here from...
77081         * nss/makedb.c: ...here.
77082         Improve database format to be smaller and require less memory at
77083         runtime.
77084         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77085         db anymore.
77086         * nss/nss_db/db-netgrp.c: Likewise.
77087         * nss/nss_db/db-open.c: Likewise.
77088         * nss/nss_files/flies-XXX.x: Adjust comments.
77089         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77090         * nss/nss_files/files-grp.c: Likewise.
77091         * nss/nss_files/files-hosts.c: Likewise.
77092         * nss/nss_files/files-network.c: Likewise.
77093         * nss/nss_files/files-proto.c: Likewise.
77094         * nss/nss_files/files-pwd.c: Likewise.
77095         * nss/nss_files/files-rpc.c: Likewise.
77096         * nss/nss_files/files-service.c: Likewise.
77097         * nss/nss_files/files-sgrp.c: Likewise.
77098         * nss/nss_files/files-spwd.c: Likewise.
77099         * nss/nss_db/db-alias.c: Removed.
77100         * nss/nss_db/dummy-db.h: Removed.
77102 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77104         * nss/makedb.c: Rewritten to not use database library.
77105         * nss/Makefile: Update to build new makedb program.
77107 2011-06-14  Andreas Jaeger  <aj@suse.de>
77109         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77110         memset declaration.
77112 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77115         tmpbuf.
77117 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77119         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77120         * elf/Makefile ($(objpfx)ld.so): Likewise.
77122         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77123         Don't list ld.so twice in dependencies.
77125         * posix/bug-regex31.c: Include <stdlib.h>.
77127         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77129         * nis/nss_compat/compat-spwd.c
77130         (getspent_next_nss_netgr): Remove unused variable.
77131         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77133         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77134         nonmembers" output to use the right array.
77136         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77138         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77140         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77141         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77142         * catgets/gencat.c (read_input_file): Likewise.
77143         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77145         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77146         variable definition inside #if's controlling its use.
77148         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77150         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77152         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77154         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77155         unreachable code.
77157         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77159         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77160         * configure: Regenerated.
77162         * Makerules: Revert last change.
77163         * elf/Makefile: Likewise.
77165 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77167         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77168         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77169         (reloc-link): Likewise.
77171 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77173         * elf/Makefile: Add rules to build pldd.
77174         * elf/pldd.c: New file.
77175         * elf/pldd-xx.c: New file.
77177 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77179         * version.h: Update for 2.15 development version.
77181 2011-06-07  David S. Miller  <davem@davemloft.net>
77183         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77184         ifuncs.
77185         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77186         elf_machine_lazy_rel): Likewise.
77187         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77188         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77189         elf_machine_lazy_rel): Likewise.
77190         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77191         dl_hwcap via passed in argument.
77192         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77193         Likewise.
77195 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77197         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77199 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77201         [BZ #12849]
77202         * manual/fdl-1.1.texi: New file, verbatim from:
77203         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77204         * manual/lgpl-2.1.texi: New file, verbatim from:
77205         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77206         * manual/Makefile (licenses): New variable, list those new file names.
77207         (texis): Use it.
77208         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77210         * manual/fdl.texi: File removed.
77211         * manual/lesser.texi: File removed.
77212         * manual/libc.texinfo (Copying, Documentation License):
77213         Use new @include file names, put @appendix directive before @include.
77215 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77217         [BZ #12841]
77218         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77219         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77220         (mq_open): Add __NTH.
77222 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77225         Assume Intel Core i3/i5/i7 processor if AVX is available.
77227 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77229         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77230         typo.
77232 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77234         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77235         memory.  Use alloca_account.  Fix memory leak when retrying.
77237 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77239         * version.h (RELEASE): Bump for 2.14 release.
77240         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77242         * config.make.in (RANLIB): Remove entry.
77244 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77246         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77247         (libc.pot): Work around missing support for .ksh extension in xgettext.
77249         [BZ #12684]
77250         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77251         if both request failed.
77252         (send_dg): In case of server errors clear resplen or *resplen2.
77254         [BZ #12454]
77255         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77256         when there are multiple maps.
77257         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77258         (_dl_fini): Remove test here.
77260         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77262 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77264         [BZ #12350]
77265         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77266         bit from old_res_options.
77267         (gaih_inet): Likewise.
77269         [BZ #11099]
77270         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77271         as signed.
77273         * resolv/res_init.c (res_setoptions): Make the code more compact.
77275         [BZ #11558]
77276         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77277         set RES_USEVC.
77279         [BZ #11634]
77280         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77282         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77284         [BZ #11781]
77285         * malloc/malloc.h: Declare malloc hook variables as volatile.
77287         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77288         in last patch.
77290         [BZ #11799]
77291         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77292         raise in the comment.
77293         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77294         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77295         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77297 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77299         [BZ #12811]
77300         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77301         grow the buffers more if it already has to be sufficient.
77302         (build_wcs_upper_buffer): Likewise.
77303         * posix/regexec.c (check_matching): Likewise.
77304         (clean_state_log_if_needed): Likewise.
77305         (extend_buffers): Don't enlarge buffers beyond size of the input
77306         buffer.
77307         Patches mostly by Emil Wojak <emil@wojak.eu>.
77308         * posix/bug-regex32.c: New file.
77309         * posix/Makefile (tests): Add bug-regex32.
77311         * locale/findlocale.c (_nl_find_locale): Return right away if
77312         _nl_explode_name failed.
77313         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77315         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77317         * debug/xtrace.sh: Unify messages.
77318         * malloc/memusage.sh: Likewise.
77320         [BZ #12813]
77321         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77322         time symbol from vDSO.  Substitute with vsyscall if not available.
77323         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77324         __vdso_time.
77326         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77327         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77328         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77329         Add sendmmsg and internal_sendmmsg.
77330         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77331         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77332         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77334         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77335         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77336         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77338 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77340         [BZ #12813]
77341         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77342         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77343         available.
77344         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77345         __vdso_getcpu.
77347         [BZ #12814]
77348         * iconvdata/Makefile (tests): Add bug-iconv9.
77349         * iconvdata/bug-iconv9.c: New file.
77351 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77353         [BZ #12814]
77354         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77356 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77358         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77359         (struct user_regs_struct): Change intcs field back to cs.
77361 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77363         * po/ja.po: Update from translation team.
77365 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77367         [BZ #12795]
77368         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77369         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77371 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77373         * stdlib/longlong.h: Update from GCC.
77375 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77377         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77378         parameter name.
77379         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77380         Add parameter name.
77381         (__sysconf): Pass it down.
77383 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77385         [BZ #12671]
77386         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77387         some situations.
77388         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77389         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77390         add in in __libc_use_alloca calls.  Adjust callers.
77391         (glob): Use malloc in some situations.
77393         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77394         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77395         pltexit.
77397 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77399         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77400         and CLOCK_BOOTTIME_ALARM.
77402         [BZ #12782]
77403         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77404         is returned.
77406         * string/_strerror.c (__strerror_r): Print negative errors as signed
77407         numbers.
77409         [BZ #12777]
77410         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77411         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77412         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77414         * configure.in: Fix typo in redirection and correct removal of test
77415         files in two cases.
77417         [BZ #12788]
77418         * locale/setlocale.c (new_composite_name): Fix test to check for
77419         identical name of all categories.
77421         [BZ #12792]
77422         * libio/filedoalloc.c (local_isatty): New function.
77423         (_IO_file_doallocate): Use local_isatty.
77424         * stdio-common/perror.c (perror): In case a new stream is used
77425         forward the stream error.
77426         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77427         error flag.
77429 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77431         [BZ #11884]
77432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77433         alloca.
77434         * include/alloca.h (extend_alloca_account): Define.
77436         [BZ #11857]
77437         * posix/regex.h: Fix comments with documentation of user-accessible
77438         fields after compilation and describe correct free'ing of pattern
77439         after re_compile_pattern.
77440         Patch by Reuben Thomas <rrt@sc3d.org>.
77442 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77444         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77445         and -mno-altivec to prevent the compiler from using Altivec and/or
77446         VSX instructions when the corresponding registers are not available.
77448 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77450         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77452 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77454         * libio/freopen.c (freopen): Use __dup2, not dup2.
77455         * libio/freopen64.c (freopen64): Likewise.
77457 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77459         [BZ #12775]
77460         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77461         * math/Makefile (tests): Add test-powl.
77462         (CFLAGS-test-powl.c): Define.
77463         * math/test-powl.c: New file.
77465 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77467         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77469 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77471         [BZ #11837]
77472         * iconvdata/gb18030.c: Update to GB18020-2005.
77474 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77476         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77477         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77478         Patch by Aharon Robbins <arnold@skeeve.com>.
77480         [BZ #11892]
77481         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77482         on the stack.
77484         [BZ #11895]
77485         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77486         through underflows.
77488         [BZ #12766]
77489         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77490         point to strings before performing equality test for error_one_per_line
77491         mode.
77493         [BZ #11697]
77494         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77496         [BZ #11820]
77497         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77498         (struct user_fpregs_struct): Avoid __uint*_t types.
77500         [BZ #6420]
77501         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77502         symbol info.  Use it instead of calling _dl_addr locally.
77503         (lock_and_info): New function.
77504         (tr_freehook): Call lock_and_info and pass symbol info as additional
77505         parameter to tr_where.
77506         (tr_mallochook): Likewise.
77507         (tr_reallochook): Likewise.
77508         (tr_memalignhook): Likewise.
77510         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77511         used and couldn't be at all thread-safe.
77513 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77515         * libio/freopen.c (freopen): Don't close old file descriptor
77516         before the new one is opened.  Instead dup the new file descriptor
77517         to the old one after the new stream is created.
77518         * libio/freopen64.c (freopen64): Likewise.
77519         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77520         * libio/fileops.c (_IO_new_file_close_it): Handle new
77521         _IO_FLAGS2_NOCLOSE flag.
77522         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77523         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77524         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77525         _IO_FLAGS2_NOCLOSE flag.
77526         * include/unistd.h: Add hidden_proto for dup3.
77527         Define __have_dup3.
77528         * io/dup3.c: Define hidden symbol.
77529         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77531         [BZ #7101]
77532         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77533         when an incomplete long option is used.
77534         * posix/tst-getopt_long1.c: New file.
77535         * posix/Makefile (tests): Add tst-getopt_long1.
77537         [BZ #10138]
77538         * scripts/config.guess: Update from autoconf-2.68.
77539         * scripts/config.sub: Likewise.
77541         [BZ #10157]
77542         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77543         tests into ...
77544         (has_cpuclock): ...this.  New function.
77545         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77546         macro here based on has_cpuclock code.
77548         [BZ #10149]
77549         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77550         First byte (not low byte) is now always NUL.
77551         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77554         Use non-cancelable interfaces.
77556         [BZ #9809]
77557         * locale/iso-639.def: Add entry for Sorani.
77559         [BZ #11901]
77560         * include/stdlib.h: Move include protection to the right place.
77561         Define abort_msg_s.  Declare __abort_msg with it.
77562         * stdlib/abort.c (__abort_msg): Adjust type.
77563         * assert/assert.c (__assert_fail_base): New function.  Majority
77564         of code from __assert_fail.  Allocate memory for __abort_msg with
77565         mmap.
77566         (__assert_fail): Now call __assert_fail_base.
77567         * assert/assert-perr.c: Remove bulk of implementation.  Use
77568         __assert_fail_base.
77569         * include/assert.hL Declare __assert_fail_base.
77570         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77571         mmap.
77572         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77574 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77576         [BZ #11952]
77577         [BZ #12453]
77578         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77579         until all modules are registered in the DTV.
77580         * elf/Makefile: Add rules to build and run tst-tls19.
77581         * elf/tst-tls19.c: New file.
77582         * elf/tst-tls19mod1.c: New file.
77583         * elf/tst-tls19mod2.c: New file.
77584         * elf/tst-tls19mod3.c: New file.
77585         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77587         [BZ #12083]
77588         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77589         correctly.
77591         [BZ #12601]
77592         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77593         two-byte sequence errors.
77594         * iconvdata/Makefile (tests): Add bug-iconv8.
77595         * iconvdata/bug-iconv8.c: New file.
77597         [BZ #12626]
77598         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77599         buf2 definition.
77601         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77603         [BZ #12432]
77604         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77605         (dummy_getcfa): New function.
77606         (init): Get _Unwind_GetCFA address, use dummy if not found.
77607         (backtrace_helper): In recursion check, also check whether CFA changes.
77608         (__backtrace): Completely initialize arg.
77610         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77611         storing incomplete byte sequence in state object.  Avoid testing for
77612         guaranteed too small input if we know there is enough data available.
77614 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77616         * Makeconfig (+link-pie): Indent.
77617         * Rules (binaries-pie): Define if $(have-fpie) and
77618         $(build-shared).
77619         (binaries-shared): Also filter out $(binaries-pie).
77620         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77621         * nscd/Makefile (others-pie): Add nscd.
77622         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77623         ($(objpfx)nscd): Remove command override.
77624         * login/Makefile (others-pie): Add pt_chown.
77625         ($(objpfx)pt_chown): Remove command override.
77626         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77627         remove command overrides.
77629 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77631         * libio/tst_putwc.c: Fix error messages.
77633         [BZ #12724]
77634         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77635         currently writing and seek to current position when not.
77636         * libio/Makefile (tests): Add bug-fclose1.
77637         * libio/bug-fclose1.c: New file.
77639 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77641         [BZ #12511]
77642         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77643         don't set DF_1_NODELETE here.
77644         (do_lookup_x): When entering new entry test for copy relocation
77645         and if necessary set DF_1_NODELETE flag.
77646         * elf/tst-unique4.cc: New file.
77647         * elf/tst-unique4.h: New file.
77648         * elf/tst-unique4lib.cc: New file.
77649         * elf/Makefile: Add rules to build and run tst-unique4.
77650         Patch by Piotr Bury <pbury@goahead.com>.
77652 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77654         [BZ #12052]
77655         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77657         [BZ #12625]
77658         * misc/mntent_r.c (addmntent): Flush the stream after the output
77660         [BZ #12393]
77661         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77662         (is_trusted_path_normalize): Skip initial colon.  Append slash
77663         to empty buffer.  Duplicate is_trusted_path code but allow
77664         constructed patch to be prefix.
77665         (is_dst): Allow $ORIGIN followed by /.
77666         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77667         Correct testing of result of is_trusted_path_normalize
77668         (decompose_rpath): Fix warning.
77670 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77672         [BZ #11257]
77673         * grp/initgroups.c (internal_getgrouplist): When we found the service
77674         list through the initgroups entry in nsswitch.conf do not always
77675         continue on a successful lookup.  Don't always use the
77676         __nss_group_database value if it is set.
77677         * nss/nsswitch.conf (initgroups): Change action for successful db
77678         lookup to continue for compatibility.
77680 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77682         [BZ #11532]
77683         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77684         and CP774 modules.
77685         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77686         and CP774 modules.
77687         * iconvdata/tst-tables.sh: Likewise.
77688         * iconvdata/cp770.c: New file.
77689         * iconvdata/cp771.c: New file.
77690         * iconvdata/cp772.c: New file.
77691         * iconvdata/cp773.c: New file.
77692         * iconvdata/cp774.c: New file.
77693         * iconvdata/testdata/CP770: New file.
77694         * iconvdata/testdata/CP770..UTF8: New file.
77695         * iconvdata/testdata/CP771: New file.
77696         * iconvdata/testdata/CP771..UTF8: New file.
77697         * iconvdata/testdata/CP772: New file.
77698         * iconvdata/testdata/CP772..UTF8: New file.
77699         * iconvdata/testdata/CP773: New file.
77700         * iconvdata/testdata/CP773..UTF8: New file.
77701         * iconvdata/testdata/CP774: New file.
77702         * iconvdata/testdata/CP774..UTF8: New file.
77704         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77705         END CHARMAP line.
77706         * iconvdata/gen-8bit-gap.sh: Likewise.
77707         * iconvdata/gen-8bit.sh: Likewise.
77709         * locale/iso-639.def: Add ary entry.
77711         [BZ #11258]
77712         * locale/C-translit.h.in: Add U20A1 transliteration.
77714         [BZ #12178]
77715         * locale/iso-639.def: Add wae entry.
77716         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77718         [BZ #12545]
77719         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77720         for n.
77722         [BZ #12711]
77723         * locale/C-translit.h.in: Add entry for U20B9.
77724         Patch by pravin.d.s@gmail.com.
77726 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77728         [BZ #12713]
77729         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77730         ENAMETOOLONG use generic getcwd.
77731         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77732         in rtld.  Use *stat64.
77733         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77734         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77735         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77736         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77737         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77738         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77739         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77740         __fstatat64 macros.
77741         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77742         * dirent/rewinddir.c: Add libc_hidden_def.
77743         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77744         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77746         * include/dirent.h (__alloc_dir): Add flags parameter.
77747         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77748         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77749         __alloc_dir.
77750         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77751         from fdopendir if O_CLOEXEC is already set.
77753 2011-03-15  Alan Modra  <amodra@gmail.com>
77755         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77756         l_tls_firstbyte_offset non-zero.  Save padding offset in
77757         l_tls_firstbyte_offset for later use.
77758         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77759         freeing static tls block.
77761 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77763         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77764         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77765         being defined by the kernel headers.
77767 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77769         [BZ #12734]
77770         * resolv/resolv.h: Define RES_NOTLDQUERY.
77771         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77772         no-tld-query and set RES_NOTLDQUERY.
77773         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77774         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77775         modern BIND to search name as TLD unless forbidden.
77777 2011-05-07  Petr Baudis  <pasky@suse.cz>
77778             Ulrich Drepper  <drepper@gmail.com>
77780         [BZ #12393]
77781         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77782         (is_trusted_path): ...to here.
77783         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77784         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77785         using is_trusted_path_normalize() in setuid scripts.
77787 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77789         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77790         __BEGIN/__END_DECLS.
77792 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77794         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77795         NSS_STATUS_NOTFOUND if no record was found.
77797 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77799         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77800         (headers-not-in-tirpc): Remove rpc/netdb.h
77801         * resolv/netdb.h: Revert last change.
77803 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77805         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77806         circular dependency between libgcc.a and libc.a.
77808 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77810         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77811         * nis/Makefile: Don't install rpcsvc/*.
77812         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77813         instead of <rpc/types.h>.
77814         (MAXHOSTNAMELEN): Define.
77816 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77818         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77820 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77822         [BZ #12714]
77823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77824         gethostbyname4_r when IPv6 results are possible.
77826 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77828         [BZ #12723]
77829         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77830         _PC_PIPE_BUF handling.
77832 2011-04-30  Bruno Haible  <bruno@clisp.org>
77834         [BZ #12717]
77835         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77836         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77837         to 'int'.
77838         * inet/getnameinfo.c (getnameinfo): Likewise.
77840 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77842         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77843         to groups setting in database lookup.
77844         * nss/nsswitch.conf: Add initgroups entry.
77846 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77848         [BZ #12685]
77849         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77850         mode string.
77851         Patch by Eric Blake <eblake@redhat.com>.
77853 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77855         * sunrpc/Makefile (need-export-routines): Add svc_run.
77856         (routines): Remove svc_run.
77857         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77858         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77859         * sunrpc/svc_run.c (svc_run): Likewise.
77860         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77862 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77864         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77865         problem in reallocation in last patch.
77867 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77869         * sunrpc/Makefile: Move inclusion of Rules.
77871 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77873         * nss/nss_files/files-initgroups.c: New file.
77874         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77875         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77876         _nss_files_initgroups_dyn.
77878 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77880         * elf/elf.h (R_ARM_IRELATIVE): Define.
77882 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77884         * po/ru.po: Update from translation team.
77886 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77888         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77889         dependencies.
77891 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77893         [BZ #12653]
77894         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77895         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77896         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77897         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77898         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77900 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77902         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77903         differing bytes.
77904         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77905         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77906         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77908 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77910         [BZ #12420]
77911         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77912         storing it.
77913         * stdlib/bug-getcontext.c: New file.
77914         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77916 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77918         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77919         instructions into .machine "z9-109".
77920         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77921         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77923 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77925         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77926         between environment variables and auxiliary vector.
77928 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77930         * Makefile: Add rules to build linkobj/libc.so.
77931         * include/libc-symbols.h: Define libc_hidden_nolink.
77932         * include/rpc/auth.h: Mark functions which are to be hidden.
77933         * include/rpc/auth_des.h: Likewise.
77934         * include/rpc/auth_unix.h: Likewise.
77935         * include/rpc/clnt.h: Likewise.
77936         * include/rpc/des_crypt.h: Likewise.
77937         * include/rpc/key_prot.h: Likewise.
77938         * include/rpc/pmap_clnt.h: Likewise.
77939         * include/rpc/pmap_prot.h: Likewise.
77940         * include/rpc/pmap_rmt.h: Likewise.
77941         * include/rpc/rpc_msg.h: Likewise.
77942         * include/rpc/svc.h: Likewise.
77943         * include/rpc/svc_auth.h: Likewise.
77944         * include/rpc/xdr.h: Likewise.
77945         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77946         * nss/Makefile: Likewise.
77947         * sunrpc/Makefile: Don't install headers.  Build library with normal
77948         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77949         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77950         for the compat linking library.  Remove use of INTDEF/INTUSE.
77951         * sunrpc/auth_none.c: Likewise.
77952         * sunrpc/auth_unix.c: Likewise.
77953         * sunrpc/authdes_prot.c: Likewise.
77954         * sunrpc/authuxprot.c: Likewise.
77955         * sunrpc/clnt_gen.c: Likewise.
77956         * sunrpc/clnt_perr.c: Likewise.
77957         * sunrpc/clnt_raw.c: Likewise.
77958         * sunrpc/clnt_simp.c: Likewise.
77959         * sunrpc/clnt_tcp.c: Likewise.
77960         * sunrpc/clnt_udp.c: Likewise.
77961         * sunrpc/clnt_unix.c: Likewise.
77962         * sunrpc/des_crypt.c: Likewise.
77963         * sunrpc/des_soft.c: Likewise.
77964         * sunrpc/get_myaddr.c: Likewise.
77965         * sunrpc/key_call.c: Likewise.
77966         * sunrpc/key_prot.c: Likewise.
77967         * sunrpc/netname.c: Likewise.
77968         * sunrpc/pm_getmaps.c: Likewise.
77969         * sunrpc/pm_getport.c: Likewise.
77970         * sunrpc/pmap_clnt.c: Likewise.
77971         * sunrpc/pmap_prot.c: Likewise.
77972         * sunrpc/pmap_prot2.c: Likewise.
77973         * sunrpc/pmap_rmt.c: Likewise.
77974         * sunrpc/publickey.c: Likewise.
77975         * sunrpc/rpc_cmsg.c: Likewise.
77976         * sunrpc/rpc_common.c: Likewise.
77977         * sunrpc/rpc_dtable.c: Likewise.
77978         * sunrpc/rpc_prot.c: Likewise.
77979         * sunrpc/rpc_thread.c: Likewise.
77980         * sunrpc/rtime.c: Likewise.
77981         * sunrpc/svc.c: Likewise.
77982         * sunrpc/svc_auth.c: Likewise.
77983         * sunrpc/svc_authux.c: Likewise.
77984         * sunrpc/svc_raw.c: Likewise.
77985         * sunrpc/svc_run.c: Likewise.
77986         * sunrpc/svc_simple.c: Likewise.
77987         * sunrpc/svc_tcp.c: Likewise.
77988         * sunrpc/svc_udp.c: Likewise.
77989         * sunrpc/svc_unix.c: Likewise.
77990         * sunrpc/svcauth_des.c: Likewise.
77991         * sunrpc/xcrypt.c: Likewise.
77992         * sunrpc/xdr.c: Likewise.
77993         * sunrpc/xdr_array.c: Likewise.
77994         * sunrpc/xdr_float.c: Likewise.
77995         * sunrpc/xdr_intXX_t.c: Likewise.
77996         * sunrpc/xdr_mem.c: Likewise.
77997         * sunrpc/xdr_rec.c: Likewise.
77998         * sunrpc/xdr_ref.c: Likewise.
77999         * sunrpc/xdr_sizeof.c: Likewise.
78000         * sunrpc/xdr_stdio.c: Likewise.
78002 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78004         [BZ #12650]
78005         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78006         * sysdeps/ia64/dl-tls.h: Likewise.
78007         * sysdeps/powerpc/dl-tls.h: Likewise.
78008         * sysdeps/s390/dl-tls.h: Likewise.
78009         * sysdeps/sh/dl-tls.h: Likewise.
78010         * sysdeps/sparc/dl-tls.h: Likewise.
78011         * sysdeps/x86_64/dl-tls.h: Likewise.
78012         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78014 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78016         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78017         rpath element also skip the following colon.
78018         (expand_dynamic_string_token): Add is_path parameter and pass
78019         down to DL_DST_REQUIRED and _dl_dst_substitute.
78020         (decompose_rpath): Call expand_dynamic_string_token with
78021         non-zero is_path.  Ignore empty rpaths.
78022         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78023         with zero is_path.
78025 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78028         Make cancelable.
78030 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78032         [BZ #12655]
78033         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78034         Patch by Filipe David Manana <fdmanana@apache.org>.
78036 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78039         Maintain aligned stack.
78040         (CHECK_RSP): Remove unused macro.
78042 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78044         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78045         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78047 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78049         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78051         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78053 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78055         [BZ #12518]
78056         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78057         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78058         * sysdeps/x86_64/memmove.c: New file.
78059         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78060         (memcpy): Renamed to ...
78061         (__new_memcpy): This.
78062         (memcpy): Provide GLIBC_2_14 memcpy.
78063         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78064         (memcpy): Provide GLIBC_2_2_5 memcpy.
78066 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78068         [BZ #12631]
78069         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78071 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78073         * misc/syncfs.c: New file.
78074         * misc/Makefile (routines): Add syncfs.
78075         * posix/unistd.h: Declare syncfs.
78076         * sysdeps/unix/syscalls.list: Add syncfs.
78078 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78080         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78081         open_by_handle_at.
78082         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78083         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78084         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78085         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78087         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78088         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78090 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78092         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78093         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78094         * sysdeps/unix/sysv/linux/powerpc/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/x86_64/bits/fcntl.h: Likewise.
78100         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78101         sync_file_range.c with -fexceptions.
78102         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78103         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78104         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78105         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78106         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78107         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78108         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78109         sync_file_range as cancellation point
78110         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78111         now a wrapper around __call_sync_file_range with cancellation handling.
78112         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78113         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78114         function name to __call_sync_file_range.
78115         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78116         Add call_sync_file_range.
78118 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78120         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78121         bits/timex.h.
78123 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78125         * iconv/iconv.h: Fix typo in comment.
78126         * io/fcntl.h: Likewise.
78127         * libio/stdio.h: Likewise.
78128         * posix/spawn.h: Likewise.
78129         * posix/unistd.h: Likewise.
78130         * stdlib/stdlib.h: Likewise.
78131         * time/time.h: Likewise.
78132         * wcsmbs/wchar.h: Likewise.
78134         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78135         open_by_handle): Add.
78136         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78137         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78138         Augment a few comments.
78139         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78141         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78142         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78143         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78144         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78145         open_by_handle.
78147         * io/fcntl.h (AT_EMPTY_PATH): Define.
78149 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78151         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78152         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78153         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78154         to...
78155         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78156         * Versions.def: Add GLIBC_2.14.
78157         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78158         Export.
78160 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78162         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78163         round counter.
78164         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78166 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78168         [BZ #12597]
78169         * string/test-strncmp.c (do_page_test): New function.
78170         (check2): Likewise.
78171         (test_main): Call check2.
78172         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78174 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78176         [BZ #12587]
78177         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78178         Handle cache information in CPU leaf 4.
78179         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78181 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78183         [BZ #12583]
78184         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78185         character representation.
78186         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78188 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78190         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78191         END(__isnan) to END(__isnanf) to match function entry point/label
78192         EALIGN(__isnanf,...).
78194 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78196         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78198 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78200         [BZ #12510]
78201         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78202         copy from the symbol referenced in the relocation to initialize the
78203         used variable.
78204         Patch by Piotr Bury <pbury@goahead.com>.
78205         * elf/Makefile: Add rules to build and tst-unique3.
78206         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78207         * elf/tst-unique3.cc: New file.
78208         * elf/tst-unique3.h: New file.
78209         * elf/tst-unique3lib.cc: New file.
78210         * elf/tst-unique3lib2.cc: New file.
78212         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78214 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78216         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78217         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78218         to _start.
78220 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78222         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78223         to-be-loaded object along a path to loader is ld.so.
78225 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78226             Ulrich Drepper  <drepper@gmail.com>
78228         * sysdeps/x86_64/memset.S: After aligning destination, code
78229         branches to different locations depending on the value of
78230         misalignment, when multiarch is enabled. Fix this.
78232 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78234         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78235         Set _x86_64_preferred_memory_instruction for AMD processsors.
78236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78237         Set bit_Prefer_SSE_for_memop for AMD processors.
78239 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78241         * libio/fmemopen.c (fmemopen): Optimize a bit.
78243 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78245         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78247 2011-03-03  Roland McGrath  <roland@redhat.com>
78249         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78251 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78253         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78254         __bzero_ultra1 instead of __memset_ultra1.
78256 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78257             Ulrich Drepper  <drepper@gmail.com>
78259         [BZ #12509]
78260         * include/link.h (struct link_map): Add l_orig_initfini.
78261         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78262         returning unsuccessfully.
78263         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78264         close of a file loaded at startup, restore the original l_initfini
78265         list.
78266         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78267         list, store the pointer.
78268         * elf/Makefile ($(objpfx)noload-mem): New rule.
78269         (noload-ENV): Define.
78270         (tests): Add $(objpfx)noload-mem.
78271         * elf/noload.c: Include <memcheck.h>.
78272         (main): Call mtrace.  Close all opened handles.
78274 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78276         [BZ #12454]
78277         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78278         dependencies are missing.
78280 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78282         Fix __if_freereq crash: Unlike the generic version which uses free,
78283         Hurd needs munmap.
78284         * sysdeps/mach/hurd/ifreq.h: New file.
78286 2011-01-27  Petr Baudis  <pasky@suse.cz>
78287             Ulrich Drepper  <drepper@gmail.com>
78289         [BZ 12445]#
78290         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78291         to extend_alloca().
78292         * stdio-common/bug23.c: New file.
78293         * stdio-common/Makefile (tests): Add bug23.
78295 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78296             Ulrich Drepper  <drepper@gmail.com>
78298         [BZ #12489]
78299         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78300         before performing relro protection.  At old place add assertion
78301         to make sure nothing changed.
78303 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78304             Glauber de Oliveira Costa  <glommer@gmail.com>
78306         * elf/elf.h: Add new ARM TLS relocs.
78308 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78311         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78312         cast from r3.
78313         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78314         'tests' variable.
78315         * sysdeps/wordsize-64/tst-writev.c: New file.
78317 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78319         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78320         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78321         insns in _dl_start to prevent a TOC reference before relocs are
78322         resolved.
78324 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78326         [BZ #12469]
78327         * Makeconfig: Remove RANLIB definition.
78328         * Makerules: Don't use RANLIB.
78329         * aclocal.m4: Remove ranlib test.
78330         * configure.in: No need to check for ranlib.
78331         * elf/rtld-Rules: Don't use RANLIB.
78333 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78335         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78336         protection macro.
78337         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78338         inclusion protection macro.
78340         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78341         SIGRTMIN and SIGRTMAX and print information in that case only when
78342         SIGRTMIN is defined.
78344 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78346         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78347         arginfo fn returning -1.
78349         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78350         and thousands string is zero terminated.
78352 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78354         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78355         sysdeps/unix/sysv/linux/bits/socket.h.
78357 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78359         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78360         (__CPU_COUNT): Remove old macros.
78361         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78362         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78363         (__CPU_ALLOC, __CPU_FREE): Add macros.
78364         (__sched_cpualloc, __sched_cpufree): Add declarations.
78366 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78368         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78369         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78370         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78371         (readdhstai): Return value of addhstaiX call.
78372         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78373         (addgrbyX): Return value returned by cache_addgr.
78374         (readdgrbyname): Return value returned by addgrbyX.
78375         (readdgrbygid): Likewise.
78376         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78377         (addpwbyX): Return value returned by cache_addpw.
78378         (readdpwbyname): Return value returned by addhstbyX.
78379         (readdpwbyuid): Likewise.
78380         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78381         (addservbyX): Return value returned by cache_addserv.
78382         (readdservbyname): Return value returned by addservbyX:
78383         (readdservbyport): Likewise.
78384         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78385         (addhstbyX): Return value returned by cache_addhst.
78386         (readdhstbyname): Return value returned by addhstbyX.
78387         (readdhstbyaddr): Likewise.
78388         (readdhstbynamev6): Likewise.
78389         (readdhstbyaddrv6): Likewise.
78390         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78391         (readdinitgroups): Return value returned by addinitgroupsX.
78392         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78393         (prune_cache): Keep track of timeout value of re-added entries.
78394         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78395         * nscd/nscd.h: Adjust prototypes of readd* functions.
78397 2011-02-04  Roland McGrath  <roland@redhat.com>
78399         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78400         (nis_stats): Likewise.
78401         * nis/nis_modify.c (nis_modify): Likewise.
78402         * nis/nis_remove.c (nis_remove): Likewise.
78403         * nis/nis_add.c (nis_add): Likewise.
78405         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78407         * posix/fnmatch_loop.c: Add some consts.
78409         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78411 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78413         [BZ #12460]
78414         * config.make.in (config-cflags-novzeroupper): Define.
78415         * configure.in: Substitute libc_cv_cc_novzeroupper.
78416         * elf/Makefile (AVX-CFLAGS): Define.
78417         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78418         (CFLAGS-tst-auditmod4a.c): Likewise.
78419         (CFLAGS-tst-auditmod4b.c): Likewise.
78420         (CFLAGS-tst-auditmod6b.c): Likewise.
78421         (CFLAGS-tst-auditmod6c.c): Likewise.
78422         (CFLAGS-tst-auditmod7b.c): Likewise.
78423         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78425 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78427         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78428         function to the callback.
78429         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78431 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78433         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78434         of errno.
78436 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78438         [BZ #11724]
78439         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78440         of constructors.
78441         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78442         of destructors.
78443         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78445         [BZ #11724]
78446         * elf/Makefile: Add rules to build and run new test.
78447         * elf/tst-initorder.c: New file.
78448         * elf/tst-initorder.exp: New file.
78449         * elf/tst-initordera1.c: New file.
78450         * elf/tst-initordera2.c: New file.
78451         * elf/tst-initordera3.c: New file.
78452         * elf/tst-initordera4.c: New file.
78453         * elf/tst-initorderb1.c: New file.
78454         * elf/tst-initorderb2.c: New file.
78455         * elf/tst-order-a1.c: New file.
78456         * elf/tst-order-a2.c: New file.
78457         * elf/tst-order-a3.c: New file.
78458         * elf/tst-order-a4.c: New file.
78459         * elf/tst-order-b1.c: New file.
78460         * elf/tst-order-b2.c: New file.
78461         * elf/tst-order-main.c: New file.
78462         New test case by George Gensure <werkt0@gmail.com>.
78464 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78467         decoding ACE if AI_CANONIDN.
78469 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78471         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78473 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78475         * version.h (RELEASE): Bump for 2.13 release.
78476         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78478         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78480         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78481         MADV_NOHUGEPAGE.
78482         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78483         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78484         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78485         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78486         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78487         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78489         * posix/getconf.c: Update copyright year.
78490         * catgets/gencat.c: Likewise.
78491         * csu/version.c: Likewise.
78492         * debug/catchsegv.sh: Likewise.
78493         * debug/xtrace.sh: Likewise.
78494         * elf/ldconfig.c: Likewise.
78495         * elf/ldd.bash.in: Likewise.
78496         * elf/sprof.c (print_version): Likewise.
78497         * iconv/iconv_prog.c: Likewise.
78498         * iconv/iconvconfig.c: Likewise.
78499         * locale/programs/locale.c: Likewise.
78500         * locale/programs/localedef.c: Likewise.
78501         * malloc/memusage.sh: Likewise.
78502         * malloc/mtrace.pl: Likewise.
78503         * nscd/nscd.c (print_version): Likewise.
78504         * nss/getent.c: Likewise.
78506         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78507         PF_CAIF, and PF_ALG.
78508         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78510 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78512         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78513         (modules-names): Use them.
78514         (ifunc-test-modules, ifunc-pie-tests): Define.
78515         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78516         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78517         (test-extras): Likewise.
78518         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78519         $(compile-command.c).
78520         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78521         (all-built-dso): Define.
78522         (check-textrel.out, check-execstack.out): Depend on it.
78524         * configure.in: Don't override --enable-multi-arch.
78526 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78528         [BZ #6812]
78529         * nscd/hstcache.c (tryagain): Define.
78530         (cache_addhst): Return tryagain not notfound for temporary errors.
78531         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78532         failed.
78534 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78536         [BZ #10563]
78537         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78538         to make the syscall.
78539         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78541         [BZ #12378]
78542         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78543         and fall back to matching as normal character if the string ends before
78544         the matching ']' is found.  This is what POSIX requires.
78545         * posix/testfnm.c: Adjust test result.
78546         * posix/globtest.sh: Adjust test result.  Add new test.
78547         * posix/tst-fnmatch.input: Likewise.
78548         * posix/tst-fnmatch2.c: Add new test.
78550 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78552         * elf/Makefile (check-execstack): Revert last change.  Depend on
78553         check-execstack.h.
78554         (check-execstack.h): New target.
78555         (generated): Add check-execstack.h.
78556         * elf/check-execstack.c: Include "check-execstack.h".
78557         (main): Revert last change.
78558         (handle_file): Return zero if GNU_STACK is absent and
78559         DEFAULT_STACK_PERMS doesn't include PF_X.
78561 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78563         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78564         in child fails because the descriptor is already closed.
78565         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78566         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78567         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78569         [BZ #12397]
78570         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78571         syscall.
78573         [BZ #10484]
78574         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78575         temporary buffer used to handle multi lookups locally.
78576         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78578 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78580         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78581         loader is ld.so.
78583 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78585         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78586         alignment for SSE2.
78588 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78590         [BZ #12394]
78591         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78592         characters.  When rounding increased number of integer digits recompute
78593         number of groups.
78594         * stdio-common/tst-grouping.c: New file.
78595         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78597 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78599         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78600         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78602         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78603         void.
78604         * bits/select.h: Likewise.
78606 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78608         * po/ja.po: Update from translation team.
78610 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78612         [BZ #11155]
78613         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78614         implementation just like for lxstat, fxstatat, et al.
78616 2010-12-27  Jim Meyering  <meyering@redhat.com>
78618         [BZ #12348]
78619         * posix/regexec.c (build_trtable): Return failure indication upon
78620         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78622 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78624         [BZ #12201]
78625         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78626         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78627         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78628         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78630         [BZ #12207]
78631         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78633         [BZ #12204]
78634         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78635         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78637 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78639         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78640         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78641         script has SORT_BY_INIT_PRIORITY.
78642         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78643         NO_CTORS_DTORS_SECTIONS is defined.
78644         * elf/soinit.c: Likewise.
78645         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78646         NO_CTORS_DTORS_SECTIONS is defined.
78647         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78648         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78649         * sysdeps/sh/init-first.c: Likewise.
78650         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78652 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78654         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78655         always use the slow path.
78657 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78659         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78660         similar rule which adds the sysdep directories to the header search in
78661         order to pick up the correct platform stackinfo.h.
78662         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78663         perform test if it is, otherwise return successfully without testing.
78664         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78665         DEFAULT_STACK_PERMS define in stackinfo.h.
78666         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78667         defined in stackinfo.h.
78668         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78669         DEFAULT_STACK_PERMS defined in stackinfo.h.
78670         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78671         * sysdeps/ia64/stackinfo.h: Likewise.
78672         * sysdeps/s390/stackinfo.h: Likewise.
78673         * sysdeps/sh/stackinfo.h: Likewise.
78674         * sysdeps/sparc/stackinfo.h: Likewise.
78675         * sysdeps/x86_64/stackinfo.h: Likewise.
78676         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78677         PF_X for powerpc64.  Retain PF_X for powerpc32.
78679 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78681         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78682         accurately.
78683         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78684         GETDENTS_64BIT_ALIGNED.
78686 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78688         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78690 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78692         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78693         _GNU_SOURCE.
78695         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78696         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78697         Remove __restrict.
78698         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78699         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78701 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78703         [BZ #11655]
78704         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78705         are initialized.
78707 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78709         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78711 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78713         * po/it.po: Update from translation team.
78715 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78717         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78718         unused codes.
78720 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78722         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78724 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78726         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78727         specially.
78728         (gaih_getanswer_slice): Likewise.
78730 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78734 2010-05-31  Petr Baudis  <pasky@suse.cz>
78736         [BZ #11149]
78737         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78738         silently even in the chroot mode.
78740 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78742         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78743         last patch a bit.  Pretty printing
78745 2010-05-31  Petr Baudis <pasky@suse.cz>
78747         [BZ #10085]
78748         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78749         initialization of skip_initgroups_dyn.
78751 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78753         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78754         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78756 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78758         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78760 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78762         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78763         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78764         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78765         ($(objpfx)tst-fnmatch-mem): New rule.
78766         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78767         * posix/tst-fnmatch.c (main): Call mtrace.
78769 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78772         Support Intel processor model 6 and model 0x2c.
78774 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78776         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78777           signed comparison.
78779 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78781         [BZ #12205]
78782         * string/test-strncasecmp.c (check_result): New function.
78783         (do_one_test): Use it.
78784         (check1): New function.
78785         (test_main): Use it.
78786         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78787         Support strcasecmp and strncasecmp.
78789 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78791         [BZ #12194]
78792         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78793         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78795 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78797         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78798         IFUNC support.
78799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78800         memset-x86-64.
78801         * sysdeps/x86_64/multiarch/bzero.S: New file.
78802         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78803         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78804         * sysdeps/x86_64/multiarch/memset.S: New file.
78805         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78807         Set bit_Prefer_SSE_for_memop for Intel processors.
78808         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78809         Define.
78810         (index_Prefer_SSE_for_memop): Define.
78811         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78813 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78815         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78816         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78818 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78820         [BZ #12191]
78821         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78822         (__x86_64_raw_data_cache_size_half): Likewise.
78823         (__x86_64_raw_shared_cache_size): Likewise.
78824         (__x86_64_raw_shared_cache_size_half): Likewise.
78826         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78827         (__x86_64_raw_data_cache_size_half): Likewise.
78828         (__x86_64_raw_shared_cache_size): Likewise.
78829         (__x86_64_raw_shared_cache_size_half): Likewise.
78830         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78831         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78832         and __x86_64_raw_shared_cache_size_half.  Round
78833         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78834         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78835         to multiple of 256 bytes.
78837 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78839         [BZ #12167]
78840         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78841         of inacessible symlinks.  Verify result of symlink before returning it.
78842         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78843         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78845 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78847         * math/math.h (isinf): Fix typo in comment.
78849 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78851         * po/da.po: Update from translation team.
78853 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78855         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78856         is added to the list.
78858 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78859             Ulrich Drepper  <drepper@gmail.com>
78861         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78862         the global list here.  Move code to...
78863         (_dl_add_to_namespace_list): ...here.  New function.
78864         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78865         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78866         * elf/dl-load.c (lose): Don't remove the element from the list.
78867         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78868         (_dl_map_object): Likewise.
78870 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78872         [BZ #12159]
78873         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78874         into all bytes of SSE register.
78875         Patch by Richard Li <richardpku@gmail.com>.
78877 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78879         [BZ #12140]
78880         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78881         perturbing.
78883 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78885         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78886         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78887         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78888         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78890         submachine.
78891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78893 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78895         * include/dlfcn.h (__RTLD_SECURE): Define.
78896         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78897         mode & __RTLD_SECURE instead.
78898         (open_path): Rename preloaded parameter to secure.
78899         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78900         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78901         * elf/dl-deps.c (openaux): Likewise.
78902         * elf/rtld.c (struct map_args): Remove is_preloaded.
78903         (map_doit): Don't use it.
78904         (dl_main): Likewise.
78905         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78906         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78908 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78910         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78911         (sysd-rules-targets): Remove duplicates.
78912         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78913         rtld-%.$o dependency.
78915 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78917         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78918         _dl_map_object do it.
78920 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78922         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78923         fast fma builtins, define the macros in the C99 standard.
78924         (FP_FAST_FMAF): Likewise.
78925         (FP_FAST_FMAL): Likewise.
78926         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78928         * bits/mathdef.h: Update copyright year.
78929         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78931 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78933         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78934         builtins, define the macros in the C99 standard.
78935         (FP_FAST_FMAF): Likewise.
78936         (FP_FAST_FMAL): Likewise.
78937         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78938         multiply/add.
78939         (FP_FAST_FMAF): Likewise.
78941 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78943         [BZ #3268]
78944         * math/libm-test.inc (fma_test): Some new testcases.
78945         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78947         y and infinite z.  Do multiplication by C already in long double.
78948         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78950         y and infinite z.  Do bitwise or of inexact bit into u.d.
78951         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78952         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78953         * sysdeps/i386/fpu/s_fma.S: Removed.
78954         * sysdeps/i386/fpu/s_fmal.S: Removed.
78956 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78958         [BZ #3268]
78959         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78961         computation is not scheduled after fetestexcept.  Fix value
78962         of minimum denormal long double.
78964 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78966         [BZ #3268]
78967         * math/libm-test.inc (fma_test): Add some more tests.
78968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78969         correctly.
78971 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78973         * scripts/data/localplt-s390-linux-gnu.data: New file.
78974         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78976 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78978         [BZ #3268]
78979         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78980         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78981         instead of dbl-64.
78982         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78983         inlines.
78984         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78986         if one of x and y is very large and the other is subnormal.
78987         * sysdeps/s390/fpu/s_fmaf.c: New file.
78988         * sysdeps/s390/fpu/s_fma.c: New file.
78989         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78990         * sysdeps/powerpc/fpu/s_fma.S: New file.
78991         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78992         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78993         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78995 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78997         [BZ #3268]
78998         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78999         fma tests.
79000         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79001         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79002         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79003         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79004         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79005         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79006         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79008 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79010         [BZ #12078]
79011         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79012         * posix/bug-regex31.input: Add test case.
79014 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79016         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79017         * posix/bug-regex31.input: New file.
79019         [BZ #12078]
79020         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79021         (parse_sub_exp): Fix last change, use postorder.
79023         * posix/bug-regex31.c: New file.
79024         * posix/Makefile: Add rules to build and run bug-regex31.
79026         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79028         [BZ #12078]
79029         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79031         [BZ #12108]
79032         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79033         to have entries in sys_siglist.
79035         [BZ #12093]
79036         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79037         be NULL.
79039 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79041         [BZ #3268]
79042         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79043         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79044         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79045         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79046         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79047         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79048         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79049         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79050         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79051         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79052         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79053         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79054         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79055         * math/ftestexcept.c (fetestexcept): Likewise.
79056         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79057         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79058         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79059         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79060         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79061         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79062         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79064 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79066         [BZ #12107]
79067         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79068         newline.
79070 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79072         * string/bug-strstr1.c: New file.
79073         * string/Makefile: Add rules to build and run bug-strstr1.
79075 2010-10-05  Eric Blake  <eblake@redhat.com>
79077         [BZ #12092]
79078         * string/str-two-way.h (two_way_long_needle): Always clear memory
79079         when skipping input due to the shift table.
79081 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79083         [BZ #12005]
79084         * malloc/mcheck.c: Handle large requests.
79086         [BZ #12077]
79087         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79088         for strncmp and strncasecmp.
79089         * string/stratcliff.c: Add tests for strcmp and strncmp.
79090         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79092 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79094         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79095         __set_fpscr.
79097 2010-09-30  Andreas Jaeger  <aj@suse.de>
79099         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79100         (CGROUP_SUPER_MAGIC): Define.
79101         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79102         Handle btrfs and cgroup file systems.
79103         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79104         Likewise.
79106 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79108         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79109         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79111 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79113         [BZ #12067]
79114         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79115         trying to locate the ELF header.
79117 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79119         [BZ #11611]
79120         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79121         Mask out sign-bit copies when constructing f_fsid.
79123 2010-09-24  Petr Baudis <pasky@suse.cz>
79125         * debug/stack_chk_fail_local.c: Add missing licence exception.
79126         * debug/warning-nop.c: Likewise.
79128 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79130         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79131         implementing getdents64 using getdents syscall, set d_type if
79132         __ASSUME_GETDENTS32_D_TYPE.
79134 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79136         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79137         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79139 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79141         [BZ #12037]
79142         * posix/unistd.h: Undo change of feature selection for ftruncate from
79143         2010-01-11.
79145 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79147         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79148         detection.
79150 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79152         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79153         fanotify_mark.
79154         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79156 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79158         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79159         variables after CHECK_SP call.
79160         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79162 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79163             Ulrich Drepper  <drepper@redhat.com>
79165         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79166         re-relocationg ld.so.
79167         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79168         _dl_init_paths call.
79169         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79170         here anymore.
79172 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79174         * resolv/res_init.c (__res_vinit): Count the default server we added.
79176 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79177             Ulrich Drepper  <drepper@redhat.com>
79179         [BZ #11968]
79180         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79181         (____longjmp_chk): Use %ebx for saving value across system call.
79182         Add unwind info.
79184 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79186         * manual/Makefile: Don't mix pattern rules with normal rules.
79188 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79190         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79191         operation.
79192         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79193         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79194         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79195         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79196         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79197         Likewise.
79199 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79201         [BZ #11979]
79202         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79203         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79205 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79207         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79208         * sysdeps/x86_64/addmul_1.S: Likewise.
79209         * sysdeps/x86_64/lshift.S: Likewise.
79210         * sysdeps/x86_64/mul_1.S: Likewise.
79211         * sysdeps/x86_64/rshift.S: Likewise.
79212         * sysdeps/x86_64/sub_n.S: Likewise.
79213         * sysdeps/x86_64/submul_1.S: Likewise.
79215 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79217         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79218         Define __sched_param instead of SCHED_* and sched_param when
79219         <bits/sched.h> is included with __need_schedparam defined.
79220         * bits/sched.h [__need_schedparam]
79221         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79222         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79223         (__defined_schedparam): Define to 1.
79224         (__sched_param): New structure, identical to sched_param.
79225         (__need_schedparam): Undefine.
79227 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79229         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79230         (epoll_create1): Declare.
79232         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79234 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79236         [BZ #7066]
79237         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79238         shifting retval into place.
79240 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79242         * nis/rpcsvc/nis.h: Update copyright notice.
79243         * nis/rpcsvc/nis.x: Likewise.
79244         * nis/rpcsvc/nis_callback.h: Likewise.
79245         * nis/rpcsvc/nis_callback.x: Likewise.
79246         * nis/rpcsvc/nis_object.x: Likewise.
79247         * nis/rpcsvc/nis_tags.h: Likewise.
79248         * nis/rpcsvc/yp.h: Likewise.
79249         * nis/rpcsvc/yp.x: Likewise.
79250         * nis/rpcsvc/ypupd.h: Likewise.
79251         * nis/yp_xdr.c: Likewise.
79252         * nis/ypupdate_xdr.c: Likewise.
79254         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79255         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79256         (pmap_getport): Use __libc_rpc_getport.
79257         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79258         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79259         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79261 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79264         fanotify_mark.
79266 2010-08-27  Roland McGrath  <roland@redhat.com>
79268         * sysdeps/i386/i686/multiarch/Makefile
79269         (CFLAGS-varshift.c): New variable.
79271 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79273         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79274         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79278         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79280 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79282         * sysdeps/x86_64/strlen.S: Unroll the loop.
79283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79284         strlen-sse2 strlen-sse2-bsf.
79285         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79286         __strlen_no_bsf if bit_Slow_BSF is set.
79287         (__strlen_sse42): Removed.
79288         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79289         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79291 2010-08-25  Roland McGrath  <roland@redhat.com>
79293         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79294         * sysdeps/x86_64/multiarch/varshift.c: New file.
79295         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79296         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79297         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79298         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79300 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79302         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79303         strlen-sse2 strlen-sse2-bsf.
79304         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79305         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79306         (__strlen_sse2): Removed.
79307         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79308         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79310         bit_Slow_BSF for Atom.
79311         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79312         (index_Slow_BSF): Define.
79313         (HAS_SLOW_BSF): Define.
79315 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79317         [BZ #10851]
79318         * resolv/res_init.c (__res_vinit): When no server address at all
79319         is given default to loopback.
79321 2010-08-24  Roland McGrath  <roland@redhat.com>
79323         * configure.in: Remove config-name.h generation.
79324         * configure: Regenerated.
79325         * config-name.in: File removed.
79326         * scripts/config-uname.sh: New file.
79327         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79328         ($(objdir)config-name.h): New target.
79330         * sunrpc/rpc_parse.h: Avoid nested comment.
79332 2010-08-24  Richard Henderson  <rth@redhat.com>
79333             Ulrich Drepper  <drepper@redhat.com>
79334             H.J. Lu  <hongjiu.lu@intel.com>
79336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79338         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79339         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79340         _mm_alignr_epi8 with _mm_loadu_si128.
79341         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79342         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79343         (__m128i_shift_right): Removed.
79344         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79345         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79346         * sysdeps/x86_64/multiarch/varshift.h: New file.
79347         * sysdeps/x86_64/multiarch/varshift.S: New file.
79349 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79351         * configure.in: Move assembler checks to before sysdep dir checking.
79353 2010-08-20  Petr Baudis  <pasky@suse.cz>
79355         * LICENSES: Sync the sunrpc license.
79357 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79359         * sunrpc/auth_des.c: Update copyright notice once again.
79360         * sunrpc/auth_none.c: Likewise.
79361         * sunrpc/auth_unix.c: Likewise.
79362         * sunrpc/authdes_prot.c: Likewise.
79363         * sunrpc/authuxprot.c: Likewise.
79364         * sunrpc/bindrsvprt.c: Likewise.
79365         * sunrpc/clnt_gen.c: Likewise.
79366         * sunrpc/clnt_perr.c: Likewise.
79367         * sunrpc/clnt_raw.c: Likewise.
79368         * sunrpc/clnt_simp.c: Likewise.
79369         * sunrpc/clnt_tcp.c: Likewise.
79370         * sunrpc/clnt_udp.c: Likewise.
79371         * sunrpc/clnt_unix.c: Likewise.
79372         * sunrpc/des_crypt.c: Likewise.
79373         * sunrpc/des_soft.c: Likewise.
79374         * sunrpc/get_myaddr.c: Likewise.
79375         * sunrpc/getrpcport.c: Likewise.
79376         * sunrpc/key_call.c: Likewise.
79377         * sunrpc/key_prot.c: Likewise.
79378         * sunrpc/openchild.c: Likewise.
79379         * sunrpc/pm_getmaps.c: Likewise.
79380         * sunrpc/pm_getport.c: Likewise.
79381         * sunrpc/pmap_clnt.c: Likewise.
79382         * sunrpc/pmap_prot.c: Likewise.
79383         * sunrpc/pmap_prot2.c: Likewise.
79384         * sunrpc/pmap_rmt.c: Likewise.
79385         * sunrpc/rpc/auth.h: Likewise.
79386         * sunrpc/rpc/auth_unix.h: Likewise.
79387         * sunrpc/rpc/clnt.h: Likewise.
79388         * sunrpc/rpc/des_crypt.h: Likewise.
79389         * sunrpc/rpc/key_prot.h: Likewise.
79390         * sunrpc/rpc/netdb.h: Likewise.
79391         * sunrpc/rpc/pmap_clnt.h: Likewise.
79392         * sunrpc/rpc/pmap_prot.h: Likewise.
79393         * sunrpc/rpc/pmap_rmt.h: Likewise.
79394         * sunrpc/rpc/rpc.h: Likewise.
79395         * sunrpc/rpc/rpc_des.h: Likewise.
79396         * sunrpc/rpc/rpc_msg.h: Likewise.
79397         * sunrpc/rpc/svc.h: Likewise.
79398         * sunrpc/rpc/svc_auth.h: Likewise.
79399         * sunrpc/rpc/types.h: Likewise.
79400         * sunrpc/rpc/xdr.h: Likewise.
79401         * sunrpc/rpc_clntout.c: Likewise.
79402         * sunrpc/rpc_cmsg.c: Likewise.
79403         * sunrpc/rpc_common.c: Likewise.
79404         * sunrpc/rpc_cout.c: Likewise.
79405         * sunrpc/rpc_dtable.c: Likewise.
79406         * sunrpc/rpc_hout.c: Likewise.
79407         * sunrpc/rpc_main.c: Likewise.
79408         * sunrpc/rpc_parse.c: Likewise.
79409         * sunrpc/rpc_parse.h: Likewise.
79410         * sunrpc/rpc_prot.c: Likewise.
79411         * sunrpc/rpc_sample.c: Likewise.
79412         * sunrpc/rpc_scan.c: Likewise.
79413         * sunrpc/rpc_scan.h: Likewise.
79414         * sunrpc/rpc_svcout.c: Likewise.
79415         * sunrpc/rpc_tblout.c: Likewise.
79416         * sunrpc/rpc_util.c: Likewise.
79417         * sunrpc/rpc_util.h: Likewise.
79418         * sunrpc/rpcinfo.c: Likewise.
79419         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79420         * sunrpc/rpcsvc/key_prot.x: Likewise.
79421         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79422         * sunrpc/rpcsvc/mount.x: Likewise.
79423         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79424         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79425         * sunrpc/rpcsvc/rex.x: Likewise.
79426         * sunrpc/rpcsvc/rstat.x: Likewise.
79427         * sunrpc/rpcsvc/rusers.x: Likewise.
79428         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79429         * sunrpc/rpcsvc/spray.x: Likewise.
79430         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79431         * sunrpc/rtime.c: Likewise.
79432         * sunrpc/svc.c: Likewise.
79433         * sunrpc/svc_auth.c: Likewise.
79434         * sunrpc/svc_authux.c: Likewise.
79435         * sunrpc/svc_raw.c: Likewise.
79436         * sunrpc/svc_run.c: Likewise.
79437         * sunrpc/svc_simple.c: Likewise.
79438         * sunrpc/svc_tcp.c: Likewise.
79439         * sunrpc/svc_udp.c: Likewise.
79440         * sunrpc/svc_unix.c: Likewise.
79441         * sunrpc/svcauth_des.c: Likewise.
79442         * sunrpc/xcrypt.c: Likewise.
79443         * sunrpc/xdr.c: Likewise.
79444         * sunrpc/xdr_array.c: Likewise.
79445         * sunrpc/xdr_float.c: Likewise.
79446         * sunrpc/xdr_mem.c: Likewise.
79447         * sunrpc/xdr_rec.c: Likewise.
79448         * sunrpc/xdr_ref.c: Likewise.
79449         * sunrpc/xdr_sizeof.c: Likewise.
79450         * sunrpc/xdr_stdio.c: Likewise.
79452         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79453         handling.
79455 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79457         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79459 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79461         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79462         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79463         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79464         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79465         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79466         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79467         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79468         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79470         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79471         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79472         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79473         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79474         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79476 2010-07-26  Anton Blanchard  <anton@samba.org>
79478         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79479         * malloc/arena.c (heap_trim): Likewise.
79481 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79483         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79484         here.  Not...
79485         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79486         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79488 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79490         * sysdeps/i386/elf/Makefile: New file.
79492 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79494         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79495         from fanotify_init.
79496         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79499 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79501         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79502         of strncasecmp_l.
79503         * sysdeps/multiarch/strcmp.S: Likewise.
79505 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79507         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79508         strncase_l-nonascii.
79509         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79510         Add strncase_l-ssse3.
79511         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79512         * sysdeps/x86_64/strcmp.S: Likewise.
79513         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79514         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79515         * sysdeps/x86_64/strncase.S: New file.
79516         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79517         * sysdeps/x86_64/strncase_l.S: New file.
79518         * string/Makefile (strop-tests): Add strncasecmp.
79519         * string/test-strncasecmp.c: New file.
79521         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79522         warning.
79524         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79525         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79527 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79529         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79531 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79533         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79534         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79535         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79537 2010-05-01  Alan Modra  <amodra@gmail.com>
79539         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79540         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79541         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79542         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79543         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79544         tidying.  Don't tail-call __sigjmp_save for static lib.
79545         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79546         save location.
79547         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79548         (CALL_MCOUNT): Add eh info, and nop after bl.
79549         (TAIL_CALL_SYSCALL_ERROR): New macro.
79550         (PSEUDO_RET): Use it.
79551         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79552         Correct save location of integer regs and cr.
79553         (_dl_profile_resolve): Correct cr save location.  Delete nops
79554         after bl when SHARED.  Reduce cfi size a little by better
79555         placement of cfi directives.
79556         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79557         make a stack frame.  Instead use parm save area as a temp.
79558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79559         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79561         Don't make a stack frame for parent, use parm save area.
79562         Increase child stack frame to 112 bytes.  Don't save unused reg,
79563         and adjust reg usage.  Set up cfi on error recovery and
79564         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79566         (__makecontext): Add dummy nop after jump to exit.
79567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79568         Use correct parm save area and cr save, reduce stack frame.
79569         Correct cfi for possible PSEUDO_RET frame setup.
79570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79571         Branch to local label emitted by PSEUDO_RET rather than
79572         __syscall_error.
79574 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79576         [BZ #11904]
79577         * locale/programs/locale.c (print_assignment): New function.
79578         (show_locale_vars): Use it.
79580 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79582         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79583         field.
79584         (struct statfs64): Likewise.
79585         (_STATFS_F_FLAGS): Define.
79586         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79587         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79588         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79589         (ST_VALID): Define locally.
79590         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79591         __statvfs_getflags, use the provided value.
79592         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79593         __ASSUME_STATFS_F_FLAGS.
79595         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79597         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79598         Add sys/fanotify.h.
79599         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79600         fanotify_mask for GLIBC_2.13.
79601         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79602         fanotify_init and fanotify_mark.
79603         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79604         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79606         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79607         Add prlimit.
79608         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79609         prlimit64 for GLIBC_2.13.
79610         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79611         prlimit64.
79612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79613         syscall.
79614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79615         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79616         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79617         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79618         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79619         add prlimit alias.
79620         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79622         [BZ #11903]
79623         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79624         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79626         * nss/Makefile: Add rules to build and run tst-nss-test1.
79627         * shlib-versions: Add entry for libnss_test1.
79628         * nss/nss_test1.c: New file.
79629         * nss/tst-nss-test1.c: New file.
79631         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79632         (__nss_configure_lookup): Set appropriate entry in
79633         __nss_configure_lookup to true.
79634         * nss/nsswitch.h: Define enum with indeces of databases in
79635         databases and __nss_database_custom arrays.  Declare
79636         __nss_database_custom.
79637         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79638         to avoid using nscd when custom rules are installed.
79639         * nss/getXXbyYY_r.c: Likewise.
79640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79642         * nss/nss_files/files-parse.c: Whitespace fixes.
79644 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79646         [BZ #11883]
79647         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79648         * posix/fnmatch_loop.c: Likewise.
79650 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79652         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79653         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79654         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79655         * Versions.def [GLIBC_2.13]: Add.
79657 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79659         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79660         Also fail if tpwd after pwuid call is NULL.
79662 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79664         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79665         when converting to ms.
79667 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79669         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79670         EOPNOTSUPP errors with ENOTTY.
79671         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79672         EOPNOTSUPP errors with ENOTTY.
79674 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79676         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79677         Add strcasecmp_l-ssse3.
79678         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79679         strcasecmp.
79680         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79681         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79682         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79684 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79686         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79688         * string/Makefile (strop-tests): Add strcasecmp.
79689         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79690         strcasecmp_l-nonascii.
79691         (gen-as-const-headers): Add locale-defines.sym.
79692         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79693         * sysdeps/x86_64/strcasecmp.S: New file.
79694         * sysdeps/x86_64/strcasecmp_l.S: New file.
79695         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79696         * sysdeps/x86_64/locale-defines.sym: New file.
79697         * string/test-strcasecmp.c: New file.
79699         * string/test-strcasestr.c: Test both ends of the range of characters.
79700         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79702 2010-07-29  Roland McGrath  <roland@redhat.com>
79704         [BZ #11856]
79705         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79707 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79709         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79710         for ld.so.
79712 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79714         * manual/memory.texi (Malloc Tunable Parameters): Document
79715         M_PERTURB.
79717 2010-07-26  Roland McGrath  <roland@redhat.com>
79719         [BZ #11840]
79720         * configure.in (-fgnu89-inline check): Set and substitute
79721         gnu89_inline, not libc_cv_gnu89_inline.
79722         * configure: Regenerated.
79723         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79725 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79727         * string/test-strnlen.c: New file.
79728         * string/Makefile (strop-tests): Add strnlen.
79729         * string/tester.c (test_strnlen): Add a few more test cases.
79730         * string/tst-strlen.c: Better error reporting.
79732         * sysdeps/x86_64/strnlen.S: New file.
79734 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79736         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79737         lower-latency instructions.
79739 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79741         * string/test-strcasestr.c: New file.
79742         * string/test-strstr.c: New file.
79743         * string/Makefile (strop-tests): Add strstr and strcasestr.
79744         * string/str-two-way.h: Don't undefine MAX.
79745         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79747 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79749         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79750         strcasestr-nonascii.
79751         (CFLAGS-strcasestr-nonascii.c): Define.
79752         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79753         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79754         Remove unused attribute.
79756 2010-07-20  Roland McGrath  <roland@redhat.com>
79758         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79759         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79760         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79761         like LD_HWCAP_MASK can disable hwcaps.
79763 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79765         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79767 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79769         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79770         call in strcasestr.
79771         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79772         __strcasestr_sse42_nonascii.
79773         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79774         strcasestr-nonascii.c.
79775         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79777 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79779         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79780         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79781         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79782         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79784 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79786         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79787         fcntl.
79789 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79791         [BZ #11577]
79792         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79793         dl_signal_cerror.
79795 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79797         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79798         _PC_PIPE_BUF using F_GETPIPE_SZ.
79800 2010-07-05  Roland McGrath  <roland@redhat.com>
79802         * manual/arith.texi (Rounding Functions): Fix rint description
79803         implicit in round description.
79805 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79807         * elf/Makefile: Fix linking for a few tests to make recent linker
79808         happy.
79810 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79812         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79813         $(common-objpfx)libc_nonshared.a.
79815 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79817         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79818         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79819         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79820         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79821         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79822         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79823         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79824         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79839         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79840         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79841         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79842         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79843         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79844         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79845         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79846         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79847         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79848         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79849         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79850         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79866 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79868         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79869         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79870         * string/memmove.c (memmove): Renamed to ...
79871         (MEMMOVE): ...this.  Default to memmove.
79872         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79873         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79874         (END_CHK): Define.
79875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79876         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79877         mempcpy-ssse3-back memmove-ssse3-back.
79878         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79879         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79880         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79881         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79882         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79883         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79884         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79885         * sysdeps/x86_64/multiarch/memmove.c: New file.
79886         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79887         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79888         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79889         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79890         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79891         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79892         Define.
79893         (index_Fast_Copy_Backward): Define.
79894         (HAS_ARCH_FEATURE): Define.
79895         (HAS_FAST_REP_STRING): Define.
79896         (HAS_FAST_COPY_BACKWARD): Define.
79898 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79900         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79901         Restore proper fallback handling.
79903 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79905         [BZ #11701]
79906         * posix/group_member.c (__group_member): Correct checking loop.
79908         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79909         OOM in getpwuid_r correctly.  Return error number when the caller
79910         should return, otherwise -1.
79911         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79912         call returning > 0 value.
79913         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79915 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79917         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79918         libc_nonshared.a from targets in modules-names.
79920 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79922         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79923         requires it.
79925 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79927         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79928         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79929         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79930         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79932 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79934         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79936 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79938         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79939         and F_GETPIPE_SZ.
79940         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79941         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79942         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79944         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79945         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79947 2010-06-14  Roland McGrath  <roland@redhat.com>
79949         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79951 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79953         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79954         __REDIRECT followed by __THROW.
79955         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79956         * posix/getopt.h (getopt): Likewise.
79958 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79960         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79961         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79962         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79963         in AT_FLAGS.
79964         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79965         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79967 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79969         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79971 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79973         [BZ #11640]
79974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79975         Properly check family and model.
79977 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79979         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79981 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79983         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79985 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79987         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79988         symbol reference.
79990 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79992         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79993         symbol reference.
79995 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79997         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79998         and internal_recvmmsg.
79999         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80000         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80001         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80002         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80004         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80005         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80006         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80008 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80010         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80012 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80014         POWER7 optimizations.
80015         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80016         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80018 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80020         * version.h: Update for 2.13 development version.
80022 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80024         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80025         exceptions.  Return 0.
80027 2010-05-07  Roland McGrath  <roland@redhat.com>
80029         * elf/ldconfig.c (main): Add a const.
80031 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80033         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80034         (args_options): Add no-idn option.
80035         (ahosts_keys_int): Add idn_flags to ai_flags.
80036         (parse_option): Handle 'i' option to clear idn_flags.
80038         * malloc/malloc.c (_int_free): Possible race in the most recently
80039         added check.  Only act on the data if no current modification
80040         happened.
80042 See ChangeLog.17 for earlier changes.